build: Add cargo config file

This commit is contained in:
Paul Campbell 2024-04-06 18:51:37 +01:00
parent 3a253d8568
commit 866d38674a

13
.cargo/config.toml Normal file
View file

@ -0,0 +1,13 @@
# ./cargo/config
[target.x86_64-unknown-linux-gnu]
linker = "/usr/bin/clang-15"
rustflags = ["-C", "link-arg=--ld-path=/usr/bin/mold", "--cfg", "tokio_unstable"]
[profile.dev]
debug = 0
strip = "debuginfo"
[env]
RUSTLOG = "hyper=warn"
RUSTFLAGS = "--cfg tokio_unstable"