We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
mem
1 parent 1108d2a commit c2eba93Copy full SHA for c2eba93
build.rs
@@ -27,6 +27,8 @@ fn main() {
27
// provide them.
28
if (target.contains("wasm32") && !target.contains("wasi"))
29
|| (target.contains("sgx") && target.contains("fortanix"))
30
+ || target.contains("-none")
31
+ || target.contains("nvptx")
32
{
33
println!("cargo:rustc-cfg=feature=\"mem\"");
34
}
0 commit comments