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.
wasi_sdk_path
1 parent 855e0fe commit 0528cc9Copy full SHA for 0528cc9
src/bootstrap/src/lib.rs
@@ -1318,7 +1318,7 @@ impl Build {
1318
if let Some(path) = configured {
1319
return Some(path.join("lib").join(target.to_string()));
1320
}
1321
- let mut env_root = PathBuf::from(std::env::var_os("WASI_SDK_PATH")?);
+ let mut env_root = self.wasi_sdk_path.clone()?;
1322
env_root.push("share");
1323
env_root.push("wasi-sysroot");
1324
env_root.push("lib");
0 commit comments