rust/compiler/rustc_serialize/src
bors 0ced530534 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`
2021-03-26 01:28:59 +00:00
..
json mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
collection_impls.rs rustc_serialize: specialize opaque decoding of some u8 sequences 2021-01-01 22:49:16 -08:00
json.rs Allow for reading raw bytes from rustc_serialize::Decoder without unsafe code. 2021-03-25 14:05:00 +01:00
leb128.rs rustc_serialize: fix incorrect signed LEB128 decoding 2021-01-11 12:13:26 -08:00
lib.rs Revert "Revert stabilizing integer::BITS." 2021-03-24 22:34:36 +01:00
opaque.rs Allow for reading raw bytes from rustc_serialize::Decoder without unsafe code. 2021-03-25 14:05:00 +01:00
serialize.rs Allow for reading raw bytes from rustc_serialize::Decoder without unsafe code. 2021-03-25 14:05:00 +01:00