about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/builder.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-03-26 01:28:59 +0000
committerbors <bors@rust-lang.org>2021-03-26 01:28:59 +0000
commit0ced530534de1a77504b6229e6303d37a12282ee (patch)
tree57f7a07189e5b8761db60756feb05de6d1be9537 /compiler/rustc_codegen_llvm/src/builder.rs
parent3debe9acb8df363e0b5363f23f8218c2d7919904 (diff)
parent517d5ac230ab11ba5e8810dacc5878065fcdd08e (diff)
downloadrust-0ced530534de1a77504b6229e6303d37a12282ee.tar.gz
rust-0ced530534de1a77504b6229e6303d37a12282ee.zip
Auto merge of #83465 - michaelwoerister:safe-read_raw_bytes, r=cjgillot
Allow for reading raw bytes from rustc_serialize::Decoder without unsafe code

The current `read_raw_bytes` method requires using `MaybeUninit` and `unsafe`. I don't think this is necessary. Let's see if a safe interface has any performance drawbacks.

This is a followup to #83273 and will make it easier to rebase #82183.

r? `@cjgillot`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/builder.rs')
0 files changed, 0 insertions, 0 deletions