We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b554027 commit 3da1cc9Copy full SHA for 3da1cc9
src/wasm_runtime/build.rs
@@ -77,12 +77,7 @@ fn main() {
77
78
println!("cargo:rerun-if-changed=.");
79
let mut cfg = cc::Build::new();
80
- let path = env::var_os("PATH").unwrap_or_default();
81
- let paths = env::split_paths(&path);
82
- let joined = env::join_paths(paths.chain(std::iter::once(toolchain_dir))).unwrap();
83
- env::set_var("PATH", &joined);
84
-
85
- // Get the wasmtime_platform.h file from the appropriate wasm release
+ cfg.compiler(toolchain_dir.join("clang"));
86
87
// get the version of the wasmtime crate
88
0 commit comments