我是Rust的新手,正在寻找一种方法,以启用Cranelift Projecter上通过Cargo.Toml所述的Rust Project上的确定性执行旗属性。
我希望该功能默认启用。
我尝试在cargo.toml上启用该功能,
wasmer-compiler-cranelift = { version = "2.0.0", default-features=false, features=["deterministic-execution"]}
但这似乎并不能像进行货物检查时一样可行,我收到一个错误,该错误指出编译器没有此功能。
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.
发布评论