Skip to content

Commit 28163c0

Browse files
authored
docs(unstable): Move compile-time-deps out of Stabilized section (#16211)
### What does this PR try to resolve? Ensure we document this as an active unstable feature ### How to test and review this PR? The location within the docs was overlooked in #15674 when it was added
2 parents 0f14d9d + 11223d7 commit 28163c0

File tree

1 file changed

+15
-14
lines changed

1 file changed

+15
-14
lines changed

src/doc/src/reference/unstable.md

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ Each new feature described below should explain how to use it.
9696
* [gc](#gc) --- Global cache garbage collection.
9797
* [open-namespaces](#open-namespaces) --- Allow multiple packages to participate in the same API namespace
9898
* [panic-immediate-abort](#panic-immediate-abort) --- Passes `-Cpanic=immediate-abort` to the compiler.
99+
* [compile-time-deps](#compile-time-deps) --- Perma-unstable feature for rust-analyzer
99100
* rustdoc
100101
* [rustdoc-map](#rustdoc-map) --- Provides mappings for documentation to link to external sites like [docs.rs](https://docs.rs/).
101102
* [scrape-examples](#scrape-examples) --- Shows examples within documentation.
@@ -2033,6 +2034,20 @@ Enables the new build-dir filesystem layout.
20332034
This layout change unblocks work towards caching and locking improvements.
20342035

20352036

2037+
## compile-time-deps
2038+
2039+
This permanently-unstable flag to only build proc-macros and build scripts (and their required dependencies),
2040+
as well as run the build scripts.
2041+
2042+
It is intended for use by tools like rust-analyzer and will never be stabilized.
2043+
2044+
Example:
2045+
2046+
```console
2047+
cargo +nightly build --compile-time-deps -Z unstable-options
2048+
cargo +nightly check --compile-time-deps --all-targets -Z unstable-options
2049+
```
2050+
20362051
# Stabilized and removed features
20372052

20382053
## Compile progress
@@ -2299,20 +2314,6 @@ Doctest cross-compiling is now unconditionally enabled starting in Rust 1.89. Ru
22992314

23002315
Multi-package publishing has been stabilized in Rust 1.90.0.
23012316

2302-
## compile-time-deps
2303-
2304-
This permanently-unstable flag to only build proc-macros and build scripts (and their required dependencies),
2305-
as well as run the build scripts.
2306-
2307-
It is intended for use by tools like rust-analyzer and will never be stabilized.
2308-
2309-
Example:
2310-
2311-
```console
2312-
cargo +nightly build --compile-time-deps -Z unstable-options
2313-
cargo +nightly check --compile-time-deps --all-targets -Z unstable-options
2314-
```
2315-
23162317
## build-dir
23172318

23182319
Support for `build.build-dir` was stabilized in the 1.91 release.

0 commit comments

Comments
 (0)