diff options
| author | bors <bors@rust-lang.org> | 2021-03-26 01:28:59 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-03-26 01:28:59 +0000 |
| commit | 0ced530534de1a77504b6229e6303d37a12282ee (patch) | |
| tree | 57f7a07189e5b8761db60756feb05de6d1be9537 /compiler/rustc_codegen_llvm/src | |
| parent | 3debe9acb8df363e0b5363f23f8218c2d7919904 (diff) | |
| parent | 517d5ac230ab11ba5e8810dacc5878065fcdd08e (diff) | |
| download | rust-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')
0 files changed, 0 insertions, 0 deletions
