mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-09 21:26:14 +03:00
d2501e8886
Release Notes: - N/A
19 lines
559 B
TOML
19 lines
559 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"]
|
|
|
|
# This cfg will reduce the size of `windows::core::Error` from 16 bytes to 4 bytes
|
|
[target.'cfg(target_os = "windows")']
|
|
rustflags = ["--cfg", "windows_slim_errors"]
|