fix: `tokio_unstable` for Linux x64 (#8048)

Apparently rustflag configs don't stack, so we need to re-specify the
whole list.

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
pull/24376/head
Marco Neumann 2023-06-22 13:09:11 +02:00 committed by GitHub
parent fb0674fc01
commit 0dde4f0703
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -14,6 +14,8 @@ protocol = "sparse"
[target.x86_64-unknown-linux-gnu]
rustflags = [
# see above
"--cfg", "tokio_unstable",
# Faster linker.
"-C", "link-arg=-fuse-ld=lld",
# Fix `perf` as suggested by https://github.com/flamegraph-rs/flamegraph/blob/2d19a162df4066f37d58d5471634f0bd9f0f4a62/README.md?plain=1#L18