rust/compiler/rustc_codegen_ssa
Yuki Okushi 6755c2a89d
Rollup merge of #102641 - eholk:dyn-star-box, r=compiler-errors
Support casting boxes to dyn*

Boxes have a pointer type at codegen time which LLVM does not allow to be transparently converted to an integer. Work around this by inserting a `ptrtoint` instruction if the argument is a pointer.

r? ``@compiler-errors``

Fixes #102427
2022-10-13 09:41:25 +09:00
..
src Rollup merge of #102641 - eholk:dyn-star-box, r=compiler-errors 2022-10-13 09:41:25 +09:00
Cargo.toml Move the cast_float_to_int fallback code to GCC 2022-08-16 15:46:17 -07:00
README.md

Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.