Files
zed/script
Kirill Bulatov 9930d2c2a3 Share generics better and strip rodio audio features (#64260)
* Preserve bundle compiler flags commit commit is a follow-up to
https://github.com/zed-industries/zed/pull/63432

Linux bundling script had custom `RUSTFLAGS` set which eradicated prior
config.
Moved all flags into `.cargo/bundle-config.toml` instead.

* Trim audio features and compress resources commit removes unused
`rodio` features and enables resource compression

The win from the latter seems not that large, so can revert if needed,
but seemed very easy to enable.

With compiler wrappers disabled, `cargo clean --target-dir
target/binary-size-split-build` and `cargo build --locked -p zed`:
Before: 135.6s wall, 1569.8s CPU, zed binary 1175563800 bytes
After: 130.5s wall (-3.8%), 1488.7s CPU (-5.2%), zed binary 1171527064
bytes (-0.3%, -4.0MB)

With `ZED_BUNDLE=true CXXFLAGS=-stdlib=libc++` and `cargo --config
.cargo/bundle-config.toml build --locked --release -p zed -p cli
--target aarch64-apple-darwin`:
Before: 369.4s wall, 3861.6s CPU, zed binary 381662328 bytes
After: 369.4s wall (+0.01%), 3866.1s CPU (+0.1%), zed binary 377836968
bytes (-1.0%, -3.8MB)

Release Notes:

- N/A
2026-09-16 16:03:18 +00:00
..
2024-09-30 17:46:21 -04:00
2026-02-24 05:13:04 +00:00
2025-03-10 01:06:11 -07:00
2025-03-10 01:06:11 -07:00
2025-03-10 01:06:11 -07:00
2025-03-10 01:06:11 -07:00
2025-03-10 01:06:11 -07:00
2024-01-23 16:52:08 +01:00
2025-03-10 01:06:11 -07:00
2025-11-21 09:12:19 -07:00
2025-03-10 01:06:11 -07:00
2026-07-14 13:56:45 +00:00
2025-03-10 01:06:11 -07:00
2025-12-15 22:19:18 -07:00
2025-03-10 01:06:11 -07:00
2025-04-18 19:28:14 +00:00
2025-03-10 01:06:11 -07:00
2025-08-22 19:32:49 +00:00
2025-03-10 01:06:11 -07:00
2024-11-28 10:31:12 +02:00
2025-03-10 01:06:11 -07:00