rustdocflags need to be the same as rustflags

This commit is contained in:
Bryan Stitt 2023-05-11 13:23:22 -07:00
parent 6e8536d477
commit d67d623216

View File

@ -5,4 +5,9 @@ rustflags = [
# tokio unstable is needed for tokio-console
"--cfg", "tokio_unstable"
]
rustdocflags = ["--cfg", "tokio_unstable"]
rustdocflags = [
# potentially faster. https://nnethercote.github.io/perf-book/build-configuration.html
"-C", "target-cpu=native",
# tokio unstable is needed for tokio-console
"--cfg", "tokio_unstable"
]