Use wasm sysroot for wasm32-wasi target as well
This commit is contained in:
parent
a3c7c0a424
commit
3a2dba0e7f
|
@ -62,8 +62,10 @@ fn main() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if env::var("TARGET").unwrap() == "wasm32-unknown-unknown" {
|
match &env::var("TARGET").unwrap() as &str {
|
||||||
base_config.include("wasm-sysroot");
|
"wasm32-unknown-unknown"|"wasm32-wasi" =>
|
||||||
|
{ base_config.include("wasm-sysroot"); },
|
||||||
|
_ => {},
|
||||||
}
|
}
|
||||||
|
|
||||||
// secp256k1
|
// secp256k1
|
||||||
|
|
Loading…
Reference in New Issue