summary refs log tree commit diff
path: root/compiler/rustc_serialize/src/serialize.rs
AgeCommit message (Collapse)AuthorLines
2021-11-22Avoid generating empty closures for fieldless enumsMark Rousskov-0/+14
For many enums, this avoids generating lots of tiny stubs that need to be codegen'd and then inlined and removed by LLVM.
2021-10-15Revert "Auto merge of #89709 - clemenswasser:apply_clippy_suggestions_2, ↵Matthias Krüger-2/+2
r=petrochenkov" The PR had some unforseen perf regressions that are not as easy to find. Revert the PR for now. This reverts commit 6ae8912a3e7d2c4c775024f58a7ba4b1aedc4073, reversing changes made to 86d6d2b7389fe1b339402c1798edae8b695fc9ef.
2021-10-10Apply clippy suggestionsClemens Wasser-2/+2
2021-09-10rustc: Remove local variable IDs from `Export`sVadim Petrochenkov-0/+12
Local variables can never be exported.
2021-08-22Fix typos “a”→“an”Frank Steffahn-1/+1
2021-08-18Remove box syntax from rustc_serializeest31-1/+1
2021-06-01Remove unused functions and arguments from rustc_serializebjorn3-108/+25
2021-03-25Allow for reading raw bytes from rustc_serialize::Decoder without unsafe code.Michael Woerister-2/+1
2021-03-19Move raw bytes handling to Encoder/Decoder.Camille GILLOT-0/+3
2021-01-01rustc_serialize: specialize opaque decoding of some u8 sequencesTyson Nottingham-8/+3
2021-01-01rustc_serialize: specialize opaque encoding of some u8 sequencesTyson Nottingham-1/+1
2020-09-26Deduplicate and generalize some (de/)serializer implsOliver Scherer-23/+11
2020-08-30mv compiler to compiler/mark-0/+782