about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2022-10-13 09:41:25 +0900
committerGitHub <noreply@github.com>2022-10-13 09:41:25 +0900
commit6755c2a89d00e159e3af8a102a34f5bf7ba70251 (patch)
tree375a59502b20b5221fe5220b124fddb4d60c60ef /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs
parent0938e1680daf66ca6aad428aedf9a920a0dab5ad (diff)
parent8b2c3ebb86b0f9a1d218daa0bd94096170233b74 (diff)
downloadrust-6755c2a89d00e159e3af8a102a34f5bf7ba70251.tar.gz
rust-6755c2a89d00e159e3af8a102a34f5bf7ba70251.zip
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
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs')
0 files changed, 0 insertions, 0 deletions