build: Add cargo config file
This commit is contained in:
parent
3a253d8568
commit
866d38674a
1 changed files with 13 additions and 0 deletions
13
.cargo/config.toml
Normal file
13
.cargo/config.toml
Normal 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"
|
||||||
|
|
Loading…
Reference in a new issue