rust/compiler/rustc_interface/src
bors 7eda3298c8 Auto merge of #93516 - nagisa:branch-protection, r=cjgillot
No branch protection metadata unless enabled

Even if we emit metadata disabling branch protection, this metadata may
conflict with other modules (e.g. during LTO) that have different branch
protection metadata set.

This is an unstable flag and feature, so ideally the flag not being
specified should act as if the feature wasn't implemented in the first
place.

Additionally this PR also ensures we emit an error if
`-Zbranch-protection` is set on targets other than the supported
aarch64. For now the error is being output from codegen, but ideally it
should be moved to earlier in the pipeline before stabilization.
2022-03-02 20:21:08 -08:00
..
callbacks.rs Remove SPAN_DEBUG global 2022-02-12 11:50:02 +01:00
interface.rs Rollup merge of #93915 - Urgau:rfc-3013, r=petrochenkov 2022-02-18 23:23:10 +01:00
lib.rs Move setup_callbacks call to create_compiler_and_run 2022-02-12 11:47:53 +01:00
passes.rs Rollup merge of #92933 - bjorn3:no_bin_lib_mixing, r=estebank 2022-02-18 16:23:28 +01:00
proc_macro_decls.rs Avoid more invocations of hir_crate query. 2021-09-29 23:16:47 +02:00
queries.rs Auto merge of #93724 - Mark-Simulacrum:drop-query-stats, r=michaelwoerister 2022-02-09 15:53:10 +00:00
tests.rs Auto merge of #93516 - nagisa:branch-protection, r=cjgillot 2022-03-02 20:21:08 -08:00
util.rs Rollup merge of #93915 - Urgau:rfc-3013, r=petrochenkov 2022-02-18 23:23:10 +01:00