Cargo config improvements (#775)

* Move cargo config to correct location

* Add --no-rosegment to build params.
This helps with stack traces, and is necessary for some profilers.
This commit is contained in:
Kai Jellinghaus
2022-10-20 07:38:49 +02:00
committed by GitHub
parent 491e808fe2
commit 1537a1b756
2 changed files with 10 additions and 3 deletions
-3
View File
@@ -1,3 +0,0 @@
[build]
rustflags = ["--cfg", "tokio_unstable", "-C", "link-arg=-fuse-ld=lld"]
incremental = true
+10
View File
@@ -0,0 +1,10 @@
[build]
rustflags = [
"--cfg",
"tokio_unstable",
"-C",
"link-arg=-fuse-ld=lld",
"-Clink-arg=-Wl,--no-rosegment",
]
incremental = true