summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorArpad Borsos <swatinem@swatinem.de>2022-12-04 12:32:15 +0100
committerArpad Borsos <arpad.borsos@sentry.io>2022-12-06 10:16:23 +0100
commitcf031a3355f677ed1a44e31cbc2b2d84f3cb13b6 (patch)
treebae64831db290db4a403eff02b1ce5249e397ce1 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parented61c139c2bc778ebb91f5dd6a5393aa20467f78 (diff)
downloadrust-cf031a3355f677ed1a44e31cbc2b2d84f3cb13b6.tar.gz
rust-cf031a3355f677ed1a44e31cbc2b2d84f3cb13b6.zip
Replace usage of `ResumeTy` in async lowering with `Context`
Replaces using `ResumeTy` / `get_context` in favor of using `&'static mut Context<'_>`.

Usage of the `'static` lifetime here is technically "cheating", and replaces
the raw pointer in `ResumeTy` and the `get_context` fn that pulls the
correct lifetimes out of thin air.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions