diff --git a/.cargo/config.toml b/.cargo/config.toml index bdfe9ff7..bcbda9c4 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -3,4 +3,10 @@ # semver-compatible versions, some of which require a newer rustc and fail # to build. [resolver] -incompatible-rust-versions = "fallback" \ No newline at end of file +incompatible-rust-versions = "fallback" + +# Required by console-subscriber (used in rog-control-center): its startup +# check panics unless Tokio was compiled with this cfg. Commit it so every +# build (including distro builds from the release tarball) gets it by default. +[build] +rustflags = ["--cfg", "tokio_unstable"] \ No newline at end of file