remove extra layer of quotes

This commit is contained in:
Folkert 2022-07-14 17:57:40 +02:00
parent 864ae3b936
commit a75af513c1
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C

View file

@ -41,13 +41,13 @@ fn main() {
fs::copy(&libc_path, &out_file).unwrap();
println!(
"cargo:rustc-env=WASI_LIBC_PATH=\"{}\"",
out_file.to_str().unwrap().replace('\\', "\\\\")
"cargo:rustc-env=WASI_LIBC_PATH={}",
out_file.to_str().unwrap()
);
println!(
"cargo:rustc-env=WASI_COMPILER_RT_PATH=\"{}\"",
compiler_rt_path.to_str().unwrap().replace('\\', "\\\\")
"cargo:rustc-env=WASI_COMPILER_RT_PATH={}",
compiler_rt_path.to_str().unwrap()
);
}