Can't find crate for "rustc_const_math"

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/
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.

1 Like

As explained in the readme, you need to compile with an older compiler (nightly-2017-03-03).