linux: disable mac-os specific build commands
This commit is contained in:
parent
224fe13f9f
commit
b13b5726c5
1 changed files with 19 additions and 17 deletions
|
@ -1,6 +1,7 @@
|
|||
use std::process::Command;
|
||||
|
||||
fn main() {
|
||||
if cfg!(target_os = "macos") {
|
||||
println!("cargo:rustc-env=MACOSX_DEPLOYMENT_TARGET=10.15.7");
|
||||
|
||||
println!("cargo:rerun-if-env-changed=ZED_BUNDLE");
|
||||
|
@ -20,6 +21,7 @@ fn main() {
|
|||
|
||||
// Register exported Objective-C selectors, protocols, etc
|
||||
println!("cargo:rustc-link-arg=-Wl,-ObjC");
|
||||
}
|
||||
|
||||
// Populate git sha environment variable if git is available
|
||||
println!("cargo:rerun-if-changed=../../.git/logs/HEAD");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue