about summary refs log tree commit diff
path: root/src/librustdoc/lib.rs
diff options
context:
space:
mode:
authorUrgau <urgau@numericable.fr>2024-02-25 14:56:14 +0100
committerUrgau <urgau@numericable.fr>2024-04-15 21:49:55 +0200
commit909fcfcb6a01b9a811835ba001954e6c62b2a2bc (patch)
treeb83d43c1e4e41d2f835f5f2d99b3b935a8aa7f93 /src/librustdoc/lib.rs
parent99d0186b1d0547eae913eff04be272c9d348b9b8 (diff)
downloadrust-909fcfcb6a01b9a811835ba001954e6c62b2a2bc.tar.gz
rust-909fcfcb6a01b9a811835ba001954e6c62b2a2bc.zip
Stabilize checking of cfgs at compile-time: --check-cfg option
Diffstat (limited to 'src/librustdoc/lib.rs')
-rw-r--r--src/librustdoc/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/lib.rs b/src/librustdoc/lib.rs
index b78fb4c4eee..f2a7518b4ce 100644
--- a/src/librustdoc/lib.rs
+++ b/src/librustdoc/lib.rs
@@ -242,7 +242,7 @@ fn opts() -> Vec<RustcOptGroup> {
             o.optmulti("L", "library-path", "directory to add to crate search path", "DIR")
         }),
         stable("cfg", |o| o.optmulti("", "cfg", "pass a --cfg to rustc", "")),
-        unstable("check-cfg", |o| o.optmulti("", "check-cfg", "pass a --check-cfg to rustc", "")),
+        stable("check-cfg", |o| o.optmulti("", "check-cfg", "pass a --check-cfg to rustc", "")),
         stable("extern", |o| o.optmulti("", "extern", "pass an --extern to rustc", "NAME[=PATH]")),
         unstable("extern-html-root-url", |o| {
             o.optmulti(