about summary refs log tree commit diff
path: root/src/test/codegen
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2020-08-10 09:07:46 +0900
committerGitHub <noreply@github.com>2020-08-10 09:07:46 +0900
commit62e5488198e6de212ff3d6818c8aa448ef770622 (patch)
treeffe66ae42492772165a97f7d5209bba71d83079b /src/test/codegen
parent18f3be7704a4ec7976fcd1272c728974243d29bd (diff)
parent82ccdab96cd8c146d9958c1050a2d2669dd367e8 (diff)
downloadrust-62e5488198e6de212ff3d6818c8aa448ef770622.tar.gz
rust-62e5488198e6de212ff3d6818c8aa448ef770622.zip
Rollup merge of #74200 - poliorcetics:std-panicking-unsafe-block-in-unsafe-fn, r=Mark-Simulacrum
Std panicking unsafe block in unsafe fn

Partial fix of #73904.

This encloses `unsafe` operations in `unsafe fn` in `libstd/ffi/panicking.rs`.

I also made a two lines change to `libstd/thread/local.rs` to add the necessary `unsafe` block without breaking everything else.

@rustbot modify labels: F-unsafe-block-in-unsafe-fn
Diffstat (limited to 'src/test/codegen')
0 files changed, 0 insertions, 0 deletions