diff --git a/.cargo/config.toml b/.cargo/config.toml index f4ad2dbf..41beade0 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -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" +]