'Enabling determinism flag on wasmer

I am new to Rust and am looking for a way to enable the deterministic execution flag property on the cranelift complier for my Rust project described here through Cargo.toml. https://github.com/wasmerio/wasmer/pull/709/files/6ca581279811aee9d26d77ed2b7372a6153fe3bf#

I would like the feature to stay enabled by default. I tried enabling the feature on Cargo.toml like this way

wasmer-compiler-cranelift = { version = "2.0.0", default-features=false, features=["deterministic-execution"]}

But this doesn't seem to work as on doing cargo check I get an error which states that the compiler does not have this feature.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source