Conversation
|
r? @oli-obk (rustbot has picked a reviewer for you, use r? to override) |
459a156 to
4a6dcbf
Compare
|
☔ The latest upstream changes (presumably #108682) made this pull request unmergeable. Please resolve the merge conflicts. |
4a6dcbf to
056c70e
Compare
This comment has been minimized.
This comment has been minimized.
|
Does this affect any tools or backends? (modulo their tests, I just mean the tool/backend code) |
|
From a quick skim over them the tools and backends look fine as they don't use any features I classified as internal, but I'll make sure that they're fine when marking this as ready. |
056c70e to
d621602
Compare
This comment has been minimized.
This comment has been minimized.
d621602 to
4c96d31
Compare
This comment has been minimized.
This comment has been minimized.
478fbdd to
77105b9
Compare
|
The Miri subtree was changed cc @rust-lang/miri |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
☔ The latest upstream changes (presumably #113686) made this pull request unmergeable. Please resolve the merge conflicts. |
|
@rustbot ready |
compiler/rustc_feature/src/active.rs
Outdated
There was a problem hiding this comment.
shouldn't compiler_builtins be internal as well?
There was a problem hiding this comment.
yeah there are many that could be internal too, I was mostly concerned with the ones that will cause ICEs if used incorectly
I added it too. But I don't think it's important to get this entirely right on this PR, we can always change things later. The most important thing is that lang_items, intrinsics, custom_mir and friends are marked as internal.
|
@bors r+ |
|
📌 Commit d56a73f75430fa8ae92e97beb8a0e21713289ba5 has been approved by It is now in the queue for this repository. |
|
@bors rollup=iffy |
|
⌛ Testing commit d56a73f75430fa8ae92e97beb8a0e21713289ba5 with merge 7b04a87c8d6942e2d3ff9651fa8d3f7ee1344859... |
This comment has been minimized.
This comment has been minimized.
|
💔 Test failed - checks-actions |
|
Blocked on the next cargo sync |
|
Cargo update is live now. |
It lints against features that are inteded to be internal to the compiler and standard library. Implements MCP rust-lang#596. We allow `internal_features` in the standard library and compiler as those use many features and this _is_ the standard library from the "internal to the compiler and standard library" after all. Marking some features as internal wasn't exactly the most scientific approach, I just marked some mostly obvious features. While there is a categorization in the macro, it's not very well upheld (should probably be fixed in another PR). We always pass `-Ainternal_features` in the testsuite About 400 UI tests and several other tests use internal features. Instead of throwing the attribute on each one, just always allow them. There's nothing wrong with testing internal features^^
|
rebased (although that's technically unnecessary as the merge commit is tested) |
|
☀️ Test successful - checks-actions |
|
Finished benchmarking commit (1fe3846): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesThis benchmark run did not return any relevant results for this metric. Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 649.938s -> 648.71s (-0.19%) |
Implements rust-lang/compiler-team#596
Also requires some more test blessing for codegen tests etc
@jyn514 had the idea of just
allowing the lint by default in the test suite. I'm not sure whether this is a good idea, but it's definitely one worth considering. Additional input encouraged.