summaryrefslogtreecommitdiff
path: root/compiler/rustc_serialize
Commit message (Expand)AuthorAgeFilesLines
* Fix the `FileEncoder` buffer size.Nicholas Nethercote2023-05-151-33/+11
* Factor out more repeated code in `{write,read}_leb128!`.Nicholas Nethercote2023-05-041-95/+44
* Rename `file_encoder_write_leb128!`.Nicholas Nethercote2023-05-041-9/+9
* Reorder some `MemDecoder` methods.Nicholas Nethercote2023-05-042-12/+12
* Remove a low value comment.Nicholas Nethercote2023-05-041-4/+0
* Remove `MemEncoder`.Nicholas Nethercote2023-05-023-133/+16
* Move some `Encodable`/`Decodable` tests.Nicholas Nethercote2023-05-021-0/+39
* Remove `MemDecoder::read_byte`.Nicholas Nethercote2023-04-281-14/+9
* Add some provided methods to `Encoder`/`Decoder`.Nicholas Nethercote2023-04-282-84/+56
* Remove a low-value assertion.Nicholas Nethercote2023-04-281-7/+2
* Add a comment explaining the lack of `Decoder::read_enum_variant`.Nicholas Nethercote2023-04-281-0/+5
* Remove `MemDecoder::read_raw_bytes_inherent`.Nicholas Nethercote2023-04-281-19/+11
* Rewrite MemDecoder around pointers not a sliceBen Kimock2023-04-235-50/+137
* Remove f32 & f64 from MemDecoder/MemEncoderScott McMurray2023-04-063-70/+14
* Update indexmap and rayon cratesJohn Kåre Alsaker2023-03-251-1/+1
* Emit the enum discriminant separately for the Encodable macroJohn Kåre Alsaker2023-02-251-12/+0
* Auto merge of #104754 - nnethercote:more-ThinVec-in-ast, r=the8472bors2023-02-211-1/+1
|\
| * Upgrade `thin-vec` from 0.2.9 to 0.2.12.Nicholas Nethercote2023-02-211-1/+1
* | Remove old FIXME that no longer appliesDeadbeef2023-02-201-5/+0
|/
* compiler: remove unnecessary imports and qualified pathsKaDiWa2022-12-101-1/+0
* rename `{max=>largest}_max_leb128_len`Maybe Waffle2022-11-292-6/+6
* Replace a macro with a functionMaybe Waffle2022-11-292-16/+13
* Prefer doc comments over `//`-comments in compilerMaybe Waffle2022-11-272-14/+14
* rustdoc: use ThinVec for cleaned genericsMichael Howell2022-11-021-1/+1
* remove cfg(bootstrap)Pietro Albini2022-09-261-1/+0
* Rollup merge of #101014 - isikkema:fix-zmeta-stats-file-encoder-no-read-perms...Michael Howell2022-09-201-1/+3
|\
| * add comment explaining read permissionsSikkema, Isaac2022-09-201-0/+2
| * use `File::options()` instead of `File::create()`Sikkema, Isaac2022-08-251-1/+1
* | Only enable the let_else feature on bootstrapest312022-09-151-1/+1
* | Replace `rustc_data_structures::thin_vec::ThinVec` with `thin_vec::ThinVec`.Nicholas Nethercote2022-08-292-4/+17
* | Adding support for rustc_serialize encode and decode for Box and Vec that use...Ellen Arteca2022-08-252-11/+16
|/
* Rollup merge of #100822 - WaffleLapkin:no_offset_question_mark, r=scottmcmMatthias Krüger2022-08-211-1/+1
|\
| * Replace most uses of `pointer::offset` with `add` and `sub`Maybe Waffle2022-08-211-1/+1
* | Add diagnostic translation lints to crates that don't emit them52252252022-08-181-0/+2
|/
* Upgrade indexmap and thorin-dwp to use hashbrown 0.12Josh Stone2022-07-171-1/+1
* use BufReader for counting zero bytesYoshiki Matsuda2022-07-021-0/+4
* Update `smallvec` to 1.8.1.Nicholas Nethercote2022-06-271-1/+1
* Move `finish` out of the `Encoder` trait.Nicholas Nethercote2022-06-163-28/+16
* Rename rustc_serialize::opaque::Encoder as MemEncoder.Nicholas Nethercote2022-06-142-30/+32
* Revert dc08bc51f2c58a0f5f815a07f9bb3d671153b5a1.Nicholas Nethercote2022-06-103-16/+28
* Revert b983e42936feab29f6333e9835913afc6b4a394e.Nicholas Nethercote2022-06-102-32/+30
* Rename `rustc_serialize::opaque::Encoder` as `MemEncoder`.Nicholas Nethercote2022-06-082-30/+32
* Move `finish` out of the `Encoder` trait.Nicholas Nethercote2022-06-083-28/+16
* Use delayed error handling for `Encodable` and `Encoder` infallible.Nicholas Nethercote2022-06-084-228/+249
* Don't pass in a vector to `Encoder::new`.Nicholas Nethercote2022-06-082-3/+3
* Fully stabilize NLLJack Huey2022-06-031-1/+0
* Remove emit_unitbjorn32022-06-032-15/+4
* Inline many methods of Encoderbjorn32022-06-032-178/+59
* Remove all names from Encoderbjorn32022-06-032-60/+33
* Remove json support from rustc_serializebjorn32022-06-034-3495/+0