diff --git a/tokio/src/lib.rs b/tokio/src/lib.rs index 70ff89fbf..bd85e2851 100644 --- a/tokio/src/lib.rs +++ b/tokio/src/lib.rs @@ -367,6 +367,12 @@ //! rustflags = ["--cfg", "tokio_unstable"] //! ``` //! +//!
+//! The [build] section does not go in a +//! Cargo.toml file. Instead it must be placed in the Cargo config +//! file .cargo/config.toml. +//!
+//! //! Alternatively, you can specify it with an environment variable: //! //! ```sh