]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc/session/config.rs
rustc: Add a new `-Z force-unstable-if-unmarked` flag
[rust.git] / src / librustc / session / config.rs
index 75bc940625d82d58b8701606c7557af5443b820c..884a71f0d32d4b24c983cb9049ca4ba819a9f26d 100644 (file)
@@ -1027,6 +1027,8 @@ fn parse_optimization_fuel(slot: &mut Option<(String, u64)>, v: Option<&str>) ->
         "add a source pattern to the file path remapping config"),
     remap_path_prefix_to: Vec<String> = (vec![], parse_string_push, [TRACKED],
         "add a mapping target to the file path remapping config"),
+    force_unstable_if_unmarked: bool = (false, parse_bool, [TRACKED],
+        "force all crates to be `rustc_private` unstable"),
 }
 
 pub fn default_lib_output() -> CrateType {