I am running cargo build command for mir2wasm. But got the error like crate not found. Im using rust nightly version. Need help.. TIA
Compiling mir2wasm v0.1.0 (file:///home/achala/GIT/mir2wasm)
error[E0463]: can't find crate for rustc_const_math
--> src/lib.rs:15:1
|
15 | extern crate rustc_const_math;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
error: aborting due to previous error
For more information about this error, try rustc --explain E0463
.
error: Could not compile mir2wasm
.
To learn more, run the command again with --verbose.