]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Rollup merge of #94681 - RalfJung:miri-cast, r=oli-obk
authorMatthias Krüger <matthias.krueger@famsik.de>
Mon, 7 Mar 2022 05:44:04 +0000 (06:44 +0100)
committerGitHub <noreply@github.com>
Mon, 7 Mar 2022 05:44:04 +0000 (06:44 +0100)
commitf7eb3830df557c66512bf2424cc03fa8de888c9c
treed1172425685c3725736ba47b7a939c887d31b98b
parent02539e16121a3ad81172892753a7b1ed09746acd
parentd29d2307b95dcde3c089949d9d4b4c3fdcc2c325
Rollup merge of #94681 - RalfJung:miri-cast, r=oli-obk

CTFE engine: expose misc_cast to Miri

We need that to implement `simd_cast`/`simd_as` in Miri.

While at it, also change other code outside `cast.rs` to use `misc_cast` instead of lower-level methods.

r? `@oli-obk`