diff options
| author | Michael Goulet <michael@errs.io> | 2023-12-05 14:52:41 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-05 14:52:41 -0500 |
| commit | 19bf7495605962df2b0bfa96382a4f717f63b0c3 (patch) | |
| tree | 87020eb3d3d55f941303e879af51fbb44794a527 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 2d2a76d411911a58fab02770363055175b5154d3 (diff) | |
| parent | 74834a9d74ce2a26bf0ee609ce2790299226f742 (diff) | |
| download | rust-19bf7495605962df2b0bfa96382a4f717f63b0c3.tar.gz rust-19bf7495605962df2b0bfa96382a4f717f63b0c3.zip | |
Rollup merge of #118123 - RalfJung:internal-lib-features, r=compiler-errors
Add support for making lib features internal We have the notion of an "internal" lang feature: a feature that is never intended to be stabilized, and using which can cause ICEs and other issues without that being considered a bug. This extends that idea to lib features as well. It is an alternative to https://github.com/rust-lang/rust/pull/115623: instead of using an attribute to declare lib features internal, we simply do this based on the name. Everything ending in `_internals` or `_internal` is considered internal. Then we rename `core_intrinsics` to `core_intrinsics_internal`, which fixes https://github.com/rust-lang/rust/issues/115597.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
