From 5f4f3a9c87407193ce1c64400852f0d5bce26080 Mon Sep 17 00:00:00 2001 From: Jason Lee Date: Mon, 30 Dec 2024 19:52:40 +0800 Subject: [PATCH] chore: Remove duplicate lines in crates/zed/build.rs (#22500) Release Notes: - N/A This may a mistake by merge in PR #21550 https://github.com/zed-industries/zed/blob/344284e01331667c018e6ade5d791a20598a3a5c/crates/zed/build.rs#L8-L14 --- crates/zed/build.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/crates/zed/build.rs b/crates/zed/build.rs index 3709f119d6cc1..b97bda168108f 100644 --- a/crates/zed/build.rs +++ b/crates/zed/build.rs @@ -13,14 +13,6 @@ fn main() { println!("cargo:rustc-link-arg=-Wl,-rpath,@executable_path"); } - if std::env::var("ZED_BUNDLE").ok().as_deref() == Some("true") { - // Find WebRTC.framework in the Frameworks folder when running as part of an application bundle. - println!("cargo:rustc-link-arg=-Wl,-rpath,@executable_path/../Frameworks"); - } else { - // Find WebRTC.framework as a sibling of the executable when running outside of an application bundle. - println!("cargo:rustc-link-arg=-Wl,-rpath,@executable_path"); - } - // Weakly link ReplayKit to ensure Zed can be used on macOS 10.15+. println!("cargo:rustc-link-arg=-Wl,-weak_framework,ReplayKit");