message: doc(unstable): profile-rustflags and codegen-backend in config.toml
diff: @@ -681,6 +681,18 @@ cargo-features = ["profile-rustflags"]
  rustflags = [ "-C", "..." ]
  ```
  +To set this in a profile in Cargo configuration, you need to use either
  +`-Z profile-rustflags` or `[unstable]` table to enable it. For example,
  +
  +```toml
  +# .cargo/config.toml
  +[unstable]
  +profile-rustflags = true
  +
  +[profile.release]
  +rustflags = [ "-C", "..." ]
  +```
  +
  ### rustdoc-map
  * Tracking Issue: [#8296](https://github.com/rust-lang/cargo/issues/8296)
  @@ -1378,6 +1390,18 @@ serde = "1.0.117"
  codegen-backend = "cranelift"
  ```
  +To set this in a profile in Cargo configuration, you need to use either
  +`-Z codegen-backend` or `[unstable]` table to enable it. For example,
  +
  +```toml
  +# .cargo/config.toml
  +[unstable]
  +codegen-backend = true
  +
  +[profile.dev.package.foo]
  +codegen-backend = "cranelift"
  +```
  +
  ### patch-in-config
  The `-Z patch-in-config` flag, and the corresponding support for
  