ABI-required target features: warn when they are missing in base CPU (rather than silently enabling them)
This commit is contained in:
parent
f753850659
commit
93ee180cfa
15 changed files with 80 additions and 127 deletions
|
@ -492,6 +492,8 @@ pub fn run_compiler<R: Send>(config: Config, f: impl FnOnce(&Compiler) -> R + Se
|
|||
}
|
||||
sess.lint_store = Some(Lrc::new(lint_store));
|
||||
|
||||
util::check_abi_required_features(&sess);
|
||||
|
||||
let compiler = Compiler {
|
||||
sess,
|
||||
codegen_backend,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue