diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-11-30 16:56:58 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-11-30 16:56:58 +0100 |
| commit | b772b5b19d769e7062b032e6e73f6466b26d78bd (patch) | |
| tree | f5d91a593d425871fff9e1b68ac2e9f982d6c8e1 /src/libstd/sys | |
| parent | b4bffcebca8840a5b8502289bf5ab0829f5c1e60 (diff) | |
| parent | ded177a06a1cde44ab64dcd09c63f6c2b815a9fe (diff) | |
| download | rust-b772b5b19d769e7062b032e6e73f6466b26d78bd.tar.gz rust-b772b5b19d769e7062b032e6e73f6466b26d78bd.zip | |
Rollup merge of #66895 - Centril:rustc_feature, r=oli-obk
Feature gating *declarations* => new crate `rustc_feature` This PR moves the data-oriented parts of feature gating into its own crate, `rustc_feature`. The parts consist of some data types as well as `accepted`, `active`, `removed`, and `builtin_attrs`. Feature gate checking itself remains in `syntax::feature_gate::check`. The parts which define how to emit feature gate errors could probably be moved to `rustc_errors` or to the new `rustc_session` crate introduced in #66878. The visitor itself could probably be moved as a pass in `rustc_passes` depending on how the dependency edges work out. The PR also contains some drive-by cleanup of feature gate checking. As such, the PR probably best read commit-by-commit. r? @oli-obk cc @petrochenkov cc @Mark-Simulacrum
Diffstat (limited to 'src/libstd/sys')
0 files changed, 0 insertions, 0 deletions
