Rollup merge of #124285 - ferrocene:unstable-L-rust-builtin, r=petrochenkov
Mark `@RUSTC_BUILTIN` search path usage as unstable Follow up to https://github.com/rust-lang/rust/pull/121843 r? `@petrochenkov`
This commit is contained in:
commit
5ff1fa9921
4 changed files with 27 additions and 2 deletions
|
|
@ -635,7 +635,16 @@ impl Options {
|
|||
let libs = matches
|
||||
.opt_strs("L")
|
||||
.iter()
|
||||
.map(|s| SearchPath::from_cli_opt(&sysroot, &target, early_dcx, s))
|
||||
.map(|s| {
|
||||
SearchPath::from_cli_opt(
|
||||
&sysroot,
|
||||
&target,
|
||||
early_dcx,
|
||||
s,
|
||||
#[allow(rustc::bad_opt_access)] // we have no `Session` here
|
||||
unstable_opts.unstable_options,
|
||||
)
|
||||
})
|
||||
.collect();
|
||||
|
||||
let show_coverage = matches.opt_present("show-coverage");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue