Fix CI for wasm path

This commit is contained in:
Sebastian Miasojed
2024-11-13 15:34:41 +01:00
parent 6d16790f83
commit 14991f40ac
3 changed files with 6 additions and 3 deletions
+2 -2
View File
@@ -86,8 +86,8 @@ fn set_rustc_link_flags(llvm_config_path: &Path) {
println!("cargo:rustc-link-lib=static={lib}");
}
#[cfg(target_os = "linux")]
{
let target_os = std::env::var("CARGO_CFG_TARGET_OS").unwrap_or_default();
if target_os == "linux" {
println!("cargo:rustc-link-lib=dylib=stdc++");
println!("cargo:rustc-link-lib=tinfo");
}