Rewrite with working async
This commit is contained in:
+4
-1
@@ -3,7 +3,10 @@ const QUICKJS: &str = "../third_party/quickjs/build";
|
||||
fn main() {
|
||||
// The compiler compiles the C it emits for the target it is built for (see
|
||||
// main.rs)
|
||||
println!("cargo:rustc-env=TARGET={}", std::env::var("TARGET").unwrap());
|
||||
println!(
|
||||
"cargo:rustc-env=TARGET={}",
|
||||
std::env::var("TARGET").unwrap()
|
||||
);
|
||||
|
||||
println!("cargo:rustc-link-search=native={QUICKJS}");
|
||||
println!("cargo:rustc-link-lib=static=qjs");
|
||||
|
||||
Reference in New Issue
Block a user