-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Print a backtrace in const eval if interrupted #111769
Conversation
(rustbot has picked a reviewer for you, use r? to override) |
This comment has been minimized.
This comment has been minimized.
Yea, this is exactly what I wanted. Do any of the new deps have problematic licenses? Otherwise seems fine to just add them to the list of allowed crates. |
Jynn said Mark has previously been uncomfortable with signal handlers or atexit code, so I'd prefer Mark approve this before it goes in (got lucky with the random selection I suppose). |
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.
This seems broadly fine to me, my main concern here is that we don't write custom code where we need to be worried about signal safety etc to a great degree. But it seems like that's not being done here, which is good.
8666de9
to
a875a94
Compare
Some changes occurred to the CTFE / Miri engine cc @rust-lang/miri These commits modify the If this was unintentional then you should revert the changes before this PR is merged. |
Just so everyone follows along, we recently added a mechanism like this to Miri: rust-lang/miri#2899 Since we |
You could do this change in this PR, subtrees ftw |
We should first push Miri changes to rustc though or else we'll get conflicts. |
a875a94
to
83d59c7
Compare
☔ The latest upstream changes (presumably #111867) made this pull request unmergeable. Please resolve the merge conflicts. |
83d59c7
to
f42df5f
Compare
The Miri subtree was changed cc @rust-lang/miri |
f42df5f
to
cf2055b
Compare
r=me on the interpreter changes. Do we still need to get some approval for the new rustc dependencies? |
☔ The latest upstream changes (presumably #111933) made this pull request unmergeable. Please resolve the merge conflicts. |
cf2055b
to
38a5fee
Compare
I'm happy to wait for @Mark-Simulacrum to swing by again and offer an opinion :) |
@bors r=RalfJung |
@bors r- |
f7bf976
to
9fd99a7
Compare
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.
r=me with some last nits, but we'll have to figure out this approval for the new dependency
I meant to ask about all the new dependencies, not just the one. :)
|
☔ The latest upstream changes (presumably #122611) made this pull request unmergeable. Please resolve the merge conflicts. |
fb3f984
to
9e0d1a3
Compare
Some changes occurred in run-make tests. cc @jieyouxu |
@bors r=RalfJung |
☀️ Test successful - checks-actions |
Finished benchmarking commit (c98ea0d): 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.
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 sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 671.315s -> 675.795s (0.67%) |
A job failed! Check out the build log: (web) (plain) Click to see the possible cause of the failure (guessed by this bot)
|
Demo: