Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: reiterate that [build] doesn't go in Cargo.toml #6728

Merged
merged 1 commit into from
Jul 29, 2024

Commits on Jul 26, 2024

  1. docs: reiterate that [build] doesn't go in Cargo.toml

    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`).
    hds committed Jul 26, 2024
    Configuration menu
    Copy the full SHA
    2536d8a View commit details
    Browse the repository at this point in the history