Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: reiterate that
[build]
doesn't go in Cargo.toml (#6728)
To enable unstable features in Tokio, passing `--cfg tokio_unstable` to the compiler is necessary. We document how to do this in a variety of ways in the main Tokio (lib.rs) documentation. One way is to add a `[build]` section to the file `.cargo/config.toml`. Even though this filename is stated in the documentation, it is quite common that first time users (including this author, some time ago) put it in their `Cargo.toml` file instead. This change adds a "warning" section to the documentation to reiterate the point that this section doesn't go in the cargo manifest (`Cargo.toml`).
- Loading branch information