diff --git a/.cargo/config.toml b/.cargo/config.toml index f812a52e4e..8db58d2380 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -21,8 +21,6 @@ rustflags = [ "target-feature=+crt-static", # This fixes the linking issue when compiling livekit on Windows "-C", "link-arg=-fuse-ld=lld", - "-C", - "target-cpu=x86-64-v4" ] [env] diff --git a/Cargo.toml b/Cargo.toml index 923621f669..998e727602 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -796,13 +796,9 @@ ui_input = { codegen-units = 1 } zed_actions = { codegen-units = 1 } [profile.release] -debug = false -lto = "fat" +debug = "limited" +lto = "thin" codegen-units = 1 -opt-level = 3 -strip = true -overflow-checks = false -panic = "abort" [profile.release.package] zed = { codegen-units = 16 }