about summary refs log tree commit diff
path: root/compiler/rustc_session/src/lib.rs
AgeCommit message (Collapse)AuthorLines
2022-02-26Auto merge of #93516 - nagisa:branch-protection, r=cjgillotbors-0/+1
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-02-25Switch bootstrap cfgsMark Rousskov-1/+1
2022-02-19Adopt let else in more placesest31-0/+1
2022-02-19No branch protection metadata unless enabledSimonas Kazlauskas-0/+1
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-02-01add a rustc::query_stability lintlcnr-0/+1
2021-11-22Use `derive_default_enum` in the compilerJacob Pratt-0/+1
2021-10-28Revert "Add rustc lint, warning when iterating over hashmaps"Mark Rousskov-1/+0
2021-10-15allow `potential_query_instability` everywherelcnr-0/+1
2021-10-03Move ICH to rustc_query_system.Camille GILLOT-0/+1
2021-10-03Move rustc_middle::middle::cstore to rustc_session.Camille GILLOT-1/+2
2021-07-04Query-ify global limit attribute handlingAaron Hill-0/+5
2021-05-24remove cfg(bootstrap)Pietro Albini-1/+0
2021-04-03Move SanitizerSet to rustc_targetSimonas Kazlauskas-2/+0
2021-03-19stabilize or_patternsmark-1/+1
2021-03-14Bump recursion_limit in a few placesAaron Hill-0/+1
This is needed to get rustdoc to succeed on `dist-x86_64-linux-alt`
2021-02-09Stabilize str_split_onceJacob Pratt-1/+0
2020-12-07Dogfood 'str_split_once() with `compiler/`Eric Arellano-0/+1
2020-10-30Implement rustc side of report-future-incompatAaron Hill-2/+2
2020-08-30datastructures: replace `once_cell` crate with an impl from stdmarmeladema-0/+1
2020-08-30mv compiler to compiler/mark-0/+27