mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-04 05:57:36 +00:00
Always treat 'std' and 'core' as public
This commit is contained in:
parent
93d872dbc8
commit
08c901f015
@ -1925,9 +1925,13 @@ pub fn build_session_options_and_crate_config(
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
let extern_public: FxHashSet<String> = matches.opt_strs("extern-public").
|
let mut extern_public: FxHashSet<String> = matches.opt_strs("extern-public").
|
||||||
iter().cloned().collect();
|
iter().cloned().collect();
|
||||||
|
|
||||||
|
// TODO - come up with a better way of handling this
|
||||||
|
extern_public.insert("core".to_string());
|
||||||
|
extern_public.insert("std".to_string());
|
||||||
|
|
||||||
let (lint_opts, describe_lints, lint_cap) = get_cmd_lint_options(matches, error_format);
|
let (lint_opts, describe_lints, lint_cap) = get_cmd_lint_options(matches, error_format);
|
||||||
|
|
||||||
let mut debugging_opts = build_debugging_options(matches, error_format);
|
let mut debugging_opts = build_debugging_options(matches, error_format);
|
||||||
|
Loading…
Reference in New Issue
Block a user