Add more targets to automatically select mem feature. (#357)
This commit is contained in:
parent
5c41a11e62
commit
a2840567da
1 changed files with 2 additions and 0 deletions
|
|
@ -27,6 +27,8 @@ fn main() {
|
|||
// provide them.
|
||||
if (target.contains("wasm32") && !target.contains("wasi"))
|
||||
|| (target.contains("sgx") && target.contains("fortanix"))
|
||||
|| target.contains("-none")
|
||||
|| target.contains("nvptx")
|
||||
{
|
||||
println!("cargo:rustc-cfg=feature=\"mem\"");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue