-
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
Remove misc_cast and validate types when casting #103122
Conversation
Some changes occurred to the CTFE / Miri engine cc @rust-lang/miri |
@@ -143,18 +169,18 @@ impl<'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> { | |||
return Ok(self.cast_from_float(src.to_scalar().to_f64()?, cast_ty).into()); | |||
} | |||
// The rest is integer/pointer-"like", including fn ptr casts |
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.
// The rest is integer/pointer-"like", including fn ptr casts |
LGTM with that last comment fixed. |
@bors delegate+ r=oli-obk,RalfJung with the commits squashed |
✌️ @ouz-a can now approve this pull request |
a19a1d9
to
cc1407f
Compare
@bors r=oli-obk |
Remove misc_cast and validate types when casting Continuing our work in rust-lang#102675 r? `@oli-obk`
Ah, Miri needs to be patched as well. You can test this locally with |
The Miri subtree was changed cc @rust-lang/miri |
c2446fd
to
4bd9844
Compare
@bors r=oli-obk |
Remove misc_cast and validate types when casting Continuing our work in rust-lang#102675 r? `@oli-obk`
Remove misc_cast and validate types when casting Continuing our work in rust-lang#102675 r? ``@oli-obk``
Remove misc_cast and validate types when casting Continuing our work in rust-lang#102675 r? ```@oli-obk```
Rollup of 6 pull requests Successful merges: - rust-lang#98204 (Stabilize `Option::unzip()`) - rust-lang#102587 (rustc: Use `unix_sigpipe` instead of `rustc_driver::set_sigpipe_handler`) - rust-lang#103122 (Remove misc_cast and validate types when casting) - rust-lang#103379 (Truncate thread names on Linux and Apple targets) - rust-lang#103482 (Clairify Vec::capacity docs) - rust-lang#103511 (Codegen tweaks) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Remove misc_cast and validate types when casting Continuing our work in rust-lang#102675 r? ````@oli-obk````
Rollup of 6 pull requests Successful merges: - rust-lang#98204 (Stabilize `Option::unzip()`) - rust-lang#102587 (rustc: Use `unix_sigpipe` instead of `rustc_driver::set_sigpipe_handler`) - rust-lang#103122 (Remove misc_cast and validate types when casting) - rust-lang#103379 (Truncate thread names on Linux and Apple targets) - rust-lang#103482 (Clairify Vec::capacity docs) - rust-lang#103511 (Codegen tweaks) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Continuing our work in #102675
r? @oli-obk