-
Notifications
You must be signed in to change notification settings - Fork 13k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable effects for libcore #114776
Enable effects for libcore #114776
Conversation
Could not assign reviewer from: |
r? @cjgillot (rustbot has picked a reviewer for you, use r? to override) |
This comment was marked as off-topic.
This comment was marked as off-topic.
compiler/rustc_hir/src/lang_items.rs
Outdated
@@ -227,7 +227,7 @@ language_item_table! { | |||
// in the sense that a crate is not required to have it defined to use it, but a final product | |||
// is required to define it somewhere. Additionally, there are restrictions on crates that use | |||
// a weak lang item, but do not have it defined. | |||
Panic, sym::panic, panic_fn, Target::Fn, GenericRequirement::Exact(0); | |||
Panic, sym::panic, panic_fn, Target::Fn, GenericRequirement::Minimum(0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should change this to Exact(1)
here
This comment has been minimized.
This comment has been minimized.
@bors try |
⌛ Trying commit f7c0ba5 with merge fb627bbd863c7a76a25668de0676cab2598a8946... |
☀️ Try build successful - checks-actions |
@craterbot check |
👌 Experiment ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more |
🚧 Experiment ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more |
FYI for the crater run, this looks like it has a commit that is probably causing new ICEs, see #114783. The ICEs caused by that issue should be reasonably easy to identify though. |
I think crater runs compare rustc without this PR with rustc with this PR, so I'm assuming they would classify "ICEs without PR and also ICEs with PR" in its own category. |
🎉 Experiment
|
f7c0ba5
to
546ce21
Compare
This comment has been minimized.
This comment has been minimized.
546ce21
to
d90c700
Compare
This comment has been minimized.
This comment has been minimized.
…libcore, r=<try> Enable effects for libcore ~~r? `@oli-obk~~` forgot you are on vacation, oops
☀️ Try build successful - checks-actions |
This comment has been minimized.
This comment has been minimized.
Finished benchmarking commit (9305cef): comparison URL. Overall result: ❌✅ regressions and improvements - ACTION NEEDEDBenchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. While you can manually mark this PR as fit for rollup, we strongly recommend not doing so since this PR may lead to changes in compiler perf. Next Steps: If you can justify the regressions found in this try perf run, please indicate this with @bors rollup=never Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
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.
CyclesResultsThis 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.
Binary sizeResultsThis 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.
Bootstrap: 632.622s -> 631.912s (-0.11%) |
The perf run shows a few extra executions of queries and metadata encoding, which seems unavoidable to me. We may get the perf back when ripping out the const checker's logic that is only needed until we enable effects by default for doing const fn callability checks |
Some changes occurred in src/tools/clippy cc @rust-lang/clippy |
@bors r+ |
☀️ Test successful - checks-actions |
Finished benchmarking commit (8759de0): comparison URL. Overall result: ❌✅ regressions and improvements - ACTION NEEDEDNext Steps: If you can justify the regressions found in this perf run, please indicate this with @rustbot label: +perf-regression Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
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 sizeResultsThis 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.
Bootstrap: 632.249s -> 634.614s (0.37%) |
@rustbot label perf-regression-triaged |
…libcore, r=oli-obk Enable effects for libcore ~~r? `@oli-obk~~` forgot you are on vacation, oops
Disable effects in libcore again r? `@fee1-dead` This was accidentally allowed by rust-lang#114776 without feature gates
Rollup merge of rust-lang#116856 - oli-obk:no_effects, r=compiler-errors Disable effects in libcore again r? `@fee1-dead` This was accidentally allowed by rust-lang#114776 without feature gates
r? @oli-obkforgot you are on vacation, oops