about summary refs log tree commit diff
path: root/compiler/rustc_serialize/src
AgeCommit message (Expand)AuthorLines
2023-10-06Use `collect` for decoding more collection types.Nicholas Nethercote-40/+6
2023-10-06rustc_serialize: merge `collection_impls.rs` into `serialize.rs`.Nicholas Nethercote-264/+258
2023-10-06Remove unused serialization support for `LinkedList`.Nicholas Nethercote-17/+1
2023-10-06rustc_serialize: Remove unneeded feature decls.Nicholas Nethercote-11/+5
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-209/+84
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-12/+12
2023-05-04Remove a low value comment.Nicholas Nethercote-4/+0
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-84/+56
2023-04-28Remove a low-value assertion.Nicholas Nethercote-7/+2
2023-04-28Add a comment explaining the lack of `Decoder::read_enum_variant`.Nicholas Nethercote-0/+5
2023-04-28Remove `MemDecoder::read_raw_bytes_inherent`.Nicholas Nethercote-19/+11
2023-04-23Rewrite MemDecoder around pointers not a sliceBen Kimock-44/+130
2023-04-06Remove f32 & f64 from MemDecoder/MemEncoderScott McMurray-42/+10
2023-02-25Emit the enum discriminant separately for the Encodable macroJohn Kåre Alsaker-12/+0
2023-02-20Remove old FIXME that no longer appliesDeadbeef-5/+0
2022-12-10compiler: remove unnecessary imports and qualified pathsKaDiWa-1/+0
2022-11-29rename `{max=>largest}_max_leb128_len`Maybe Waffle-6/+6
2022-11-29Replace a macro with a functionMaybe Waffle-16/+13
2022-11-27Prefer doc comments over `//`-comments in compilerMaybe Waffle-14/+14
2022-09-26remove cfg(bootstrap)Pietro Albini-1/+0
2022-09-20Rollup merge of #101014 - isikkema:fix-zmeta-stats-file-encoder-no-read-perms...Michael Howell-1/+3
2022-09-20add comment explaining read permissionsSikkema, Isaac-0/+2
2022-09-15Only enable the let_else feature on bootstrapest31-1/+1
2022-08-29Replace `rustc_data_structures::thin_vec::ThinVec` with `thin_vec::ThinVec`.Nicholas Nethercote-4/+16
2022-08-25use `File::options()` instead of `File::create()`Sikkema, Isaac-1/+1
2022-08-25Adding support for rustc_serialize encode and decode for Box and Vec that use...Ellen Arteca-11/+16
2022-08-21Rollup merge of #100822 - WaffleLapkin:no_offset_question_mark, r=scottmcmMatthias Krüger-1/+1
2022-08-21Replace most uses of `pointer::offset` with `add` and `sub`Maybe Waffle-1/+1
2022-08-18Add diagnostic translation lints to crates that don't emit them5225225-0/+2
2022-07-02use BufReader for counting zero bytesYoshiki Matsuda-0/+4
2022-06-16Move `finish` out of the `Encoder` trait.Nicholas Nethercote-26/+14
2022-06-14Rename rustc_serialize::opaque::Encoder as MemEncoder.Nicholas Nethercote-26/+26
2022-06-10Revert dc08bc51f2c58a0f5f815a07f9bb3d671153b5a1.Nicholas Nethercote-14/+26
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-26/+14
2022-06-08Use delayed error handling for `Encodable` and `Encoder` infallible.Nicholas Nethercote-224/+246
2022-06-08Don't pass in a vector to `Encoder::new`.Nicholas Nethercote-2/+2
2022-06-03Fully stabilize NLLJack Huey-1/+0
2022-06-03Remove emit_unitbjorn3-15/+4
2022-06-03Inline many methods of Encoderbjorn3-178/+59
2022-06-03Remove all names from Encoderbjorn3-60/+33