Skip to content

Commit

Permalink
Merge pull request #47 from lucasfernog/feat/support-older-swift
Browse files Browse the repository at this point in the history
feat: use --build-path instead of --scratch-path to support older Swift
  • Loading branch information
Brendonovich committed Apr 10, 2023
2 parents 91b21a5 + b1d2382 commit 67bfc04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src-rs/build.rs
Expand Up @@ -236,7 +236,7 @@ impl SwiftLinker {
command
.args(["build", "-c", configuration])
.current_dir(&package.path)
.args(["--scratch-path", &out_path.display().to_string()]);
.args(["--build-path", &out_path.display().to_string()]);

if matches!(rust_target.os, RustTargetOS::IOS) {
let sdk_path_output = Command::new("xcrun")
Expand Down

0 comments on commit 67bfc04

Please sign in to comment.