mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-29 04:20:46 +00:00
Specify macOS target version manually
This commit is contained in:
parent
8bd059a293
commit
32c65cfb2a
1 changed files with 7 additions and 1 deletions
|
@ -52,7 +52,13 @@ fn build_bridge(swift_target: &SwiftTarget) {
|
|||
if !Command::new("swift")
|
||||
.arg("build")
|
||||
.args(&["--configuration", &env::var("PROFILE").unwrap()])
|
||||
.args(&["--triple", &swift_target.target.unversioned_triple])
|
||||
.args(&[
|
||||
"--triple",
|
||||
&format!(
|
||||
"{}{}",
|
||||
swift_target.target.unversioned_triple, MACOS_TARGET_VERSION
|
||||
),
|
||||
])
|
||||
.current_dir(&swift_package_root)
|
||||
.status()
|
||||
.unwrap()
|
||||
|
|
Loading…
Reference in a new issue