about summary refs log tree commit diff
path: root/compiler/rustc_serialize/src/opaque.rs
AgeCommit message (Expand)AuthorLines
2025-06-21Add a few inline directives in rustc_serialize.Camille GILLOT-0/+2
2025-04-22Add index to the dep graph format and encode via `MemEncoder`John Kåre Alsaker-0/+2
2025-04-10Bump `FileEncoder` buffer size to 64 kBJohn Kåre Alsaker-1/+1
2025-03-20Convert `rustc_serialize` integration tests to unit tests.Nicholas Nethercote-0/+3
2025-02-23rename sub_ptr 😅bendn-3/+3
2024-10-07Fix used_underscore_binding in rustc_serializeMichal Piotrowski-3/+3
2024-09-02chore: Fix typos in 'compiler' (batch 2)Alexander Cyon-1/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-4/+3
2024-07-02chore: remove duplicate wordshattizai-1/+1
2024-05-21PR feedbackBen Kimock-5/+5
2024-05-21Add a footer in FileEncoder and check for it in MemDecoderBen Kimock-5/+11
2024-04-13Add add/sub methods that only panic with debug assertions to rustcNilstrieb-3/+7
2023-11-22Call FileEncoder::finish in rmeta encodingBen Kimock-7/+36
2023-09-22Open the FileEncoder file for reading and writingBen Kimock-1/+6
2023-09-20PR feedbackBen Kimock-32/+54
2023-09-10Reimplement FileEncoder with a small-write optimizationBen Kimock-196/+74
2023-09-04Use a specialized varint + bitpacking scheme for DepGraph encodingBen Kimock-1/+1
2023-05-15Fix the `FileEncoder` buffer size.Nicholas Nethercote-33/+11
2023-05-04Factor out more repeated code in `{write,read}_leb128!`.Nicholas Nethercote-95/+44
2023-05-04Rename `file_encoder_write_leb128!`.Nicholas Nethercote-9/+9
2023-05-04Reorder some `MemDecoder` methods.Nicholas Nethercote-10/+10
2023-05-02Remove `MemEncoder`.Nicholas Nethercote-125/+4
2023-04-28Remove `MemDecoder::read_byte`.Nicholas Nethercote-14/+9
2023-04-28Add some provided methods to `Encoder`/`Decoder`.Nicholas Nethercote-76/+0
2023-04-28Remove a low-value assertion.Nicholas Nethercote-7/+2
2023-04-28Remove `MemDecoder::read_raw_bytes_inherent`.Nicholas Nethercote-19/+11
2023-04-23Rewrite MemDecoder around pointers not a sliceBen Kimock-36/+119
2023-04-06Remove f32 & f64 from MemDecoder/MemEncoderScott McMurray-36/+0
2022-12-10compiler: remove unnecessary imports and qualified pathsKaDiWa-1/+0
2022-11-29rename `{max=>largest}_max_leb128_len`Maybe Waffle-3/+3
2022-11-29Replace a macro with a functionMaybe Waffle-5/+5
2022-11-27Prefer doc comments over `//`-comments in compilerMaybe Waffle-13/+13
2022-09-20add comment explaining read permissionsSikkema, Isaac-0/+2
2022-08-25use `File::options()` instead of `File::create()`Sikkema, Isaac-1/+1
2022-07-02use BufReader for counting zero bytesYoshiki Matsuda-0/+4
2022-06-16Move `finish` out of the `Encoder` trait.Nicholas Nethercote-17/+11
2022-06-14Rename rustc_serialize::opaque::Encoder as MemEncoder.Nicholas Nethercote-26/+26
2022-06-10Revert dc08bc51f2c58a0f5f815a07f9bb3d671153b5a1.Nicholas Nethercote-11/+17
2022-06-10Revert b983e42936feab29f6333e9835913afc6b4a394e.Nicholas Nethercote-26/+26
2022-06-08Rename `rustc_serialize::opaque::Encoder` as `MemEncoder`.Nicholas Nethercote-26/+26
2022-06-08Move `finish` out of the `Encoder` trait.Nicholas Nethercote-17/+11
2022-06-08Use delayed error handling for `Encodable` and `Encoder` infallible.Nicholas Nethercote-110/+130
2022-06-08Don't pass in a vector to `Encoder::new`.Nicholas Nethercote-2/+2
2022-06-03Remove emit_unitbjorn3-10/+0
2022-02-22Delete Decoder::read_unitMark Rousskov-5/+0
2022-02-22Provide copy-free access to raw Decoder bytesMark Rousskov-13/+6
2022-02-22Provide raw &str access from DecoderMark Rousskov-3/+2
2022-01-31Remove two unnecessary transmutes from opaque Encoder and Decoderbjorn3-4/+3
2022-01-22Address review comments.Nicholas Nethercote-2/+1
2022-01-22Make `Decodable` and `Decoder` infallible.Nicholas Nethercote-48/+41