about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-abort.diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-05-18 09:44:26 +0000
committerbors <bors@rust-lang.org>2023-05-18 09:44:26 +0000
commit034d7c853705215e90a0d035bd0305c281742ed9 (patch)
tree7eafd0e67daab95ddbab5a92377c9ced27e86b41 /tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-abort.diff
parentf9be79603a90d4c30ad1ccadb82c4f3a772b432a (diff)
parentcbcafd3539d20c2fd9210b378e132b94b50ba6be (diff)
downloadrust-034d7c853705215e90a0d035bd0305c281742ed9.tar.gz
rust-034d7c853705215e90a0d035bd0305c281742ed9.zip
Auto merge of #14787 - HKalbasi:mir2, r=HKalbasi
MIR episode 5

This PR inits drop support (it is very broken at this stage, some things are dropped multiple time, drop scopes are wrong, ...) and adds stdout support (`println!` doesn't work since its expansion is dummy, but `stdout().write(b"hello world\n")` works if you use `RA_SYSROOT_HACK`) for interpreting. There is no useful unit test that it can interpret yet, but it is a good sign that it didn't hit a major road block yet.

In MIR lowering, it adds support for slice pattern and anonymous const blocks, and some fixes so that we can evaluate `SmolStr::new_inline` in const eval. With these changes, 57 failed mir body remains.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-abort.diff')
0 files changed, 0 insertions, 0 deletions