mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-24 19:10:24 +00:00
70db427fc8
I’ve also updated the documentation in `development\local-collaboration.md` and `docs\src\development\windows.md`. Testing collab on my Windows machine: ![屏幕截图 2025-01-14 162021](https://github.com/user-attachments/assets/28b4a36a-e156-4012-981a-5d0a23dcc613) Release Notes: - N/A --------- Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
28 lines
843 B
TOML
28 lines
843 B
TOML
[build]
|
|
# v0 mangling scheme provides more detailed backtraces around closures
|
|
rustflags = ["-C", "symbol-mangling-version=v0", "--cfg", "tokio_unstable"]
|
|
|
|
[alias]
|
|
xtask = "run --package xtask --"
|
|
|
|
[target.x86_64-unknown-linux-gnu]
|
|
linker = "clang"
|
|
rustflags = ["-C", "link-arg=-fuse-ld=mold"]
|
|
|
|
[target.aarch64-unknown-linux-gnu]
|
|
linker = "clang"
|
|
rustflags = ["-C", "link-arg=-fuse-ld=mold"]
|
|
|
|
[target.aarch64-apple-darwin]
|
|
rustflags = ["-C", "link-args=-Objc -all_load"]
|
|
|
|
[target.x86_64-apple-darwin]
|
|
rustflags = ["-C", "link-args=-Objc -all_load"]
|
|
|
|
[target.'cfg(target_os = "windows")']
|
|
rustflags = [
|
|
"--cfg",
|
|
"windows_slim_errors", # This cfg will reduce the size of `windows::core::Error` from 16 bytes to 4 bytes
|
|
"-C",
|
|
"target-feature=+crt-static", # This fixes the linking issue when compiling livekit on Windows
|
|
]
|