2023-09-18 16:58:59 +00:00
|
|
|
[build]
|
|
|
|
# v0 mangling scheme provides more detailed backtraces around closures
|
2024-03-05 17:56:14 +00:00
|
|
|
rustflags = ["-C", "symbol-mangling-version=v0", "--cfg", "tokio_unstable"]
|
2024-03-02 19:46:02 +00:00
|
|
|
|
|
|
|
[alias]
|
|
|
|
xtask = "run --package xtask --"
|
2024-06-12 21:16:05 +00:00
|
|
|
|
|
|
|
[target.x86_64-unknown-linux-gnu]
|
2024-06-13 14:00:15 +00:00
|
|
|
linker = "clang"
|
|
|
|
rustflags = ["-C", "link-arg=-fuse-ld=mold"]
|
|
|
|
|
|
|
|
[target.aarch64-unknown-linux-gnu]
|
|
|
|
linker = "clang"
|
2024-06-12 21:16:05 +00:00
|
|
|
rustflags = ["-C", "link-arg=-fuse-ld=mold"]
|
2024-07-25 17:41:59 +00:00
|
|
|
|
|
|
|
# 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"]
|