-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
correctly normalize constants #70319
Conversation
(rust_highfive has picked a reviewer for you, use r? to override) |
r? @eddyb |
currently causes `compiler_builtins to fail at https://github.com/rust-lang/compiler-builtins/blob/3e6327aa59214133fa74b3c51743b5ebde39526f/src/int/mod.rs#L50
Which I don't quite understand... |
The job Click to expand the log.
I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
this now also implements If desired I can move that commit into different PR |
The job Click to expand the log.
I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
The job Click to expand the log.
I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
@bors r+ |
📌 Commit 11763d4 has been approved by |
correctly normalize constants closes rust-lang#70317 implements rust-lang#70125 (comment) r? eddyb cc @varkor
Failed in #70363 (comment), @bors r- |
seems like the representation of RawVec in mir was changed in another PR. Will wait for #70371 to get merged first |
I think the issue is differences between 32-bit and 64-bit platforms:
The failure happened on @oli-obk Is there a nice way to deal with differences like this on 32-vs-64 bit platforms in |
@wesleywiser see #69916. |
Make it 64 bit for now and when we move to |
updated the test to only run on 64 bit machines, should be ready for merge again. 😅 |
@bors r=eddyb |
📌 Commit f8e3da5 has been approved by |
correctly normalize constants closes rust-lang#70317 implements rust-lang#70125 (comment) r? eddyb cc @varkor
correctly normalize constants closes rust-lang#70317 implements rust-lang#70125 (comment) r? eddyb cc @varkor
Rollup of 5 pull requests Successful merges: - rust-lang#70226 (use checked casts and arithmetic in Miri engine) - rust-lang#70319 (correctly normalize constants) - rust-lang#70352 (Add long error explanation for E0710 ) - rust-lang#70366 (Implement Fuse with Option) - rust-lang#70379 (fix incorrect type name in doc comments) Failed merges: - rust-lang#70375 (avoid catching InterpError) r? @ghost
closes #70317
implements #70125 (comment)
r? eddyb cc @varkor