fix: correct out_dir parameter usage in iOS stub compilation

This commit is contained in:
Ya-wen, Jeng 2025-08-14 14:35:56 +08:00
parent 8231d16df1
commit 33e7c86ff5

View File

@ -112,7 +112,7 @@ fn stub_for_ios(out_dir: &str) {
// Compile the stub into a static lib
cc::Build::new()
.file(&stub_path)
.out_dir(&out_dir)
.out_dir(out_dir)
.compile("chkstk_stub");
println!("cargo:rustc-link-search=native={out_dir}");