There was an error while loading. Please reload this page.
1 parent 7c7435f commit 5f39327Copy full SHA for 5f39327
1 file changed
build.rs
@@ -7,7 +7,7 @@ fn main() {
7
// Build the Swift bridge
8
let swift_dir = "swift-bridge";
9
let out_dir = env::var("OUT_DIR").unwrap();
10
- let swift_build_dir = format!("{}/swift-build", out_dir);
+ let swift_build_dir = format!("{out_dir}/swift-build");
11
12
println!("cargo:rerun-if-changed={swift_dir}");
13
@@ -41,7 +41,7 @@ fn main() {
41
}
42
43
// Link the Swift library from OUT_DIR
44
- println!("cargo:rustc-link-search=native={}/release", swift_build_dir);
+ println!("cargo:rustc-link-search=native={swift_build_dir}/release");
45
println!("cargo:rustc-link-lib=static=ScreenCaptureKitBridge");
46
47
// Link required frameworks
0 commit comments