about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2020-12-30 22:49:17 +0900
committerGitHub <noreply@github.com>2020-12-30 22:49:17 +0900
commit00741b88101c4ec78c34bf2fa1cd275d1a35afc2 (patch)
treeb1771f1b80c810f1f401210990af2c529e89bb8f /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent1caa5b00d5ec25db3888e0010663a0a053ef2e20 (diff)
parent1600f7d693c5fba1b279f8d96ec714c897e21799 (diff)
downloadrust-00741b88101c4ec78c34bf2fa1cd275d1a35afc2.tar.gz
rust-00741b88101c4ec78c34bf2fa1cd275d1a35afc2.zip
Rollup merge of #80260 - RalfJung:less-untyped-panics, r=m-ou-se
slightly more typed interface to panic implementation

The panic payload is currently being passed around as a `usize`. However, it actually is a pointer, and the involved types are available on all ends of this API, so I propose we use the proper pointer type to avoid some casts. Avoiding int-to-ptr casts also makes this code work with `miri -Zmiri-track-raw-pointers`.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions