summary refs log tree commit diff
path: root/compiler/rustc_metadata/src/rmeta/encoder.rs
AgeCommit message (Expand)AuthorLines
2022-08-01Remove DefId from AssocItemContainer.Camille GILLOT-10/+10
2022-08-01Store associated item defaultness in impl_defaultness.Camille GILLOT-21/+9
2022-07-29Rename local_did to def_idMiguel Guarniz-8/+8
2022-07-29Change maybe_body_owned_by to take local def idMiguel Guarniz-8/+8
2022-07-20passes: improved partial stabilization diagnosticDavid Wood-0/+15
2022-07-14Auto merge of #96544 - m-ysk:feature/issue-96358, r=cjgillotbors-25/+78
2022-07-13Rename `debugging_opts` to `unstable_opts`Joshua Nelson-6/+6
2022-07-07Auto merge of #99024 - matthiaskrgr:rollup-8ygpcpg, r=matthiaskrgrbors-1/+1
2022-07-07Reword comments and rename HIR visiting methods.Camille GILLOT-1/+1
2022-07-06Allow to create definitions inside the query system.Camille GILLOT-12/+11
2022-07-02Auto merge of #97235 - nbdd0121:unwind, r=Amanieubors-1/+1
2022-07-02seek instead of opening a new file handleYoshiki Matsuda-4/+7
2022-07-02avoid holding the temp_dir for empty metadata fileYoshiki Matsuda-1/+1
2022-07-02add a comment about counting zero bytesYoshiki Matsuda-0/+1
2022-07-02refactor encode_and_write_metadataYoshiki Matsuda-5/+0
2022-07-02Revert "write the root position at the end"Yoshiki Matsuda-12/+15
2022-07-02add a comment about the drop order for EncodedMetadataYoshiki Matsuda-0/+1
2022-07-02flush and assert when counting zero bytesYoshiki Matsuda-1/+5
2022-07-02define MmapMut and use it in Decodable implYoshiki Matsuda-13/+12
2022-07-02use &Path instead of AsRef<Path>Yoshiki Matsuda-3/+3
2022-07-02insert dummy 4 bytes to avoid the breaking changeYoshiki Matsuda-0/+5
2022-07-02seek before counting zero bytesYoshiki Matsuda-1/+2
2022-07-02call EncodedMetadata::empty in case of MetadataKind::NoneYoshiki Matsuda-0/+5
2022-07-02write the root position at the endYoshiki Matsuda-16/+8
2022-07-02add Send to the argument type of encode_metadataYoshiki Matsuda-1/+1
2022-07-02use BufReader for counting zero bytesYoshiki Matsuda-14/+14
2022-07-02seek and write the root position to the metadata fileYoshiki Matsuda-10/+15
2022-07-02write to a temporary file in Decodable for EncodedMetadataYoshiki Matsuda-12/+25
2022-07-02hold Mmap in EncodedMetadataYoshiki Matsuda-10/+29
2022-07-02construct EncodedMetadata in encode_and_write_metadataYoshiki Matsuda-6/+8
2022-07-02use rustc_serialize::opaque::FileEncoderYoshiki Matsuda-20/+25
2022-06-19Rollup merge of #98136 - fee1-dead-contrib:rename_impl_constness, r=oli-obkDylan DPC-9/+9
2022-06-17Auto merge of #98106 - cjgillot:split-definitions, r=michaelwoeristerbors-2/+2
2022-06-16Move `finish` out of the `Encoder` trait.Nicholas Nethercote-8/+1
2022-06-15Rename `impl_constness` to `constness`Deadbeef-9/+9
2022-06-15Rollup merge of #98110 - cjgillot:closure-brace, r=Aaron1011Yuki Okushi-1/+1
2022-06-14Separate Definitions and CrateStore from ResolverOutputs.Camille GILLOT-2/+2
2022-06-14Rename rustc_serialize::opaque::Encoder as MemEncoder.Nicholas Nethercote-5/+6
2022-06-12Make `ExprKind::Closure` a struct variant.Camille GILLOT-1/+1
2022-06-11Auto merge of #95880 - cjgillot:def-ident-span, r=petrochenkovbors-12/+4
2022-06-10Encode def_ident_span using the query.Camille GILLOT-12/+4
2022-06-10Revert dc08bc51f2c58a0f5f815a07f9bb3d671153b5a1.Nicholas Nethercote-1/+8
2022-06-10Revert b983e42936feab29f6333e9835913afc6b4a394e.Nicholas Nethercote-4/+3
2022-06-08Rename `panic_strategy` query to `required_panic_strategy`Gary Guo-1/+1
2022-06-08Fix FFI-unwind unsoundness with mixed panic modeGary Guo-1/+1
2022-06-08Rename `rustc_serialize::opaque::Encoder` as `MemEncoder`.Nicholas Nethercote-3/+4
2022-06-08Move `finish` out of the `Encoder` trait.Nicholas Nethercote-8/+1
2022-06-08Use delayed error handling for `Encodable` and `Encoder` infallible.Nicholas Nethercote-52/+46
2022-06-08Don't pass in a vector to `Encoder::new`.Nicholas Nethercote-1/+1
2022-06-03Remove emit_unitbjorn3-5/+0