Hi, when I trying to build the project I got this issues.
error: target is not supported, for more information see: https://docs.rs/getrandom/#unsupported-targets
--> src/lib.rs:267:9
|
267 | / compile_error!("
268 | | target is not supported, for more information see:
269 | | https://docs.rs/getrandom/#unsupported-targets\
270 | | ");
| |__________^
Compiling ahash v0.7.6
error[E0433]: failed to resolve: use of undeclared crate or module imp
--> src/lib.rs:291:5
|
291 | imp::getrandom_inner(dest)
| ^^^ use of undeclared crate or module imp
For more information about this error, try rustc --explain E0433
.
error: could not compile getrandom
(lib) due to 2 previous errors
warning: build failed, waiting for other jobs to finish...
error[E0422]: cannot find struct, variant or union type LineColumn
in crate proc_macro
--> /home/hcrypto/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.36/src/wrapper.rs:485:33
|
485 | let proc_macro::LineColumn { line, column } = s.start();
| ^^^^^^^^^^ not found in proc_macro
|
help: consider importing one of these items
|
1 + use crate::LineColumn;
|
1 + use crate::fallback::LineColumn;
|
help: if you import LineColumn
, refer to it directly
|
485 - let proc_macro::LineColumn { line, column } = s.start();
485 + let LineColumn { line, column } = s.start();
|
error[E0422]: cannot find struct, variant or union type LineColumn
in crate proc_macro
--> /home/hcrypto/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.36/src/wrapper.rs:502:33
|
502 | let proc_macro::LineColumn { line, column } = s.end();
| ^^^^^^^^^^ not found in proc_macro
|
help: consider importing one of these items
|
1 + use crate::LineColumn;
|
1 + use crate::fallback::LineColumn;
|
help: if you import LineColumn
, refer to it directly
|
502 - let proc_macro::LineColumn { line, column } = s.end();
502 + let LineColumn { line, column } = s.end();
|
For more information about this error, try rustc --explain E0422
.
error: could not compile proc-macro2
(lib) due to 2 previous errors
How to fix this problems?