about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-04-28 09:06:55 +0000
committerbors <bors@rust-lang.org>2020-04-28 09:06:55 +0000
commitd7afaa7247cc81e0cca7aa438aa1e1672328c0a2 (patch)
tree15c803b9d5678f706ec85f6882da30da8e11545e /src/rustllvm/RustWrapper.cpp
parentfb5615a4771ea3d54256f969dc84d2dfd38d812c (diff)
parent3a129df39cb1744740bbed3effd4dbe4f79a59d8 (diff)
downloadrust-d7afaa7247cc81e0cca7aa438aa1e1672328c0a2.tar.gz
rust-d7afaa7247cc81e0cca7aa438aa1e1672328c0a2.zip
Auto merge of #71444 - RalfJung:test-async-no-opt, r=jonas-schievink
smoke-test for async fn with mir-opt-level=0

MIR opt levels heavily influence which MIR transformations run, and we barely test non-default opt levels. I am particularly worried about `async fn` lowering and how it might (not) work when the set of preceding MIR passes changes -- see https://github.com/rust-lang/rust/pull/70073.

This adds some basic smoke testing, where at least a few `async fn` `run-pass` test are ensured to also work with mir-opt-level=0.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions