Add persistent local agent tools
This commit is contained in:
6
build.rs
6
build.rs
@@ -13,6 +13,12 @@ fn main() {
|
||||
.flag("-fobjc-arc")
|
||||
.opt_level(3)
|
||||
.compile("ds4_metal");
|
||||
println!("cargo:rerun-if-changed=native/web");
|
||||
cc::Build::new()
|
||||
.include("native/web")
|
||||
.file("native/web/ds4_web.c")
|
||||
.opt_level(2)
|
||||
.compile("ds4_web");
|
||||
println!("cargo:rustc-link-lib=framework=Foundation");
|
||||
println!("cargo:rustc-link-lib=framework=Metal");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user