You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Document the unstable gate, accepted range, profile precedence,
non-recursive
scope, and the narrow cases where packages should request optimization.
Include an explicit debugging override so top-level users retain
control.
Signed-off-by: 0xPoe <poe.liu@pm.me>
Copy file name to clipboardExpand all lines: doc/book/src/reference/unstable.md
+49Lines changed: 49 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -110,6 +110,7 @@ Each new feature described below should explain how to use it.
110
110
*`Cargo.toml` extensions
111
111
*[Profile `rustflags` option](#profile-rustflags-option) --- Passed directly to rustc.
112
112
*[Profile `hint-mostly-unused` option](#profile-hint-mostly-unused-option) --- Hint that a dependency is mostly unused, to optimize compilation time.
113
+
*[Package `min-opt-level` hint](#package-min-opt-level-hint) --- Request a numeric optimization floor for one package.
113
114
*[codegen-backend](#codegen-backend) --- Select the codegen backend used by rustc.
114
115
*[per-package-target](#per-package-target) --- Sets the `--target` to use for each individual package.
115
116
*[artifact dependencies](#artifact-dependencies) --- Allow build artifacts to be included into other build artifacts and build them for different targets.
@@ -924,6 +925,54 @@ This will cause the crate to default to hint-mostly-unused, unless overridden
924
925
via `profile`, which takes precedence, and which can only be specified in the
0 commit comments