Fix CI for wasm path

This commit is contained in:
Sebastian Miasojed committed 2024-11-13 15:34:41 +01:00
1 parent 6d16790f83
commit 14991f40ac
3 files changed
+6 -3

No files matched your search

+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");
}