Skip to content

Commit

Permalink
rm clang
Browse files Browse the repository at this point in the history
  • Loading branch information
oligamiq committed Nov 5, 2024
1 parent fe82c31 commit 90de6d2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ fn main() {
let target = std::env::var("TARGET").unwrap();
println!("cargo:rustc-env=RUST_HOST_TARGET={target}");

if target == "wasm32-wasip1-threads" {
let wasi_sysroot = std::env::var("WASI_SYSROOT").unwrap();
println!("cargo:rustc-flags=-L {}/../../lib/clang/18/lib/wasip1 -lstatic=clang_rt.builtins-wasm32", Path::new(&wasi_sysroot).display());
}
// if target == "wasm32-wasip1-threads" {
// let wasi_sysroot = std::env::var("WASI_SYSROOT").unwrap();
// println!("cargo:rustc-flags=-L {}/../../lib/clang/18/lib/wasip1 -lstatic=clang_rt.builtins-wasm32", Path::new(&wasi_sysroot).display());
// }
}

fn compress_man() {
Expand Down

0 comments on commit 90de6d2

Please sign in to comment.