about summary refs log tree commit diff
path: root/compiler/rustc_metadata/src
AgeCommit message (Expand)AuthorLines
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-17/+17
2022-07-02fall back on the blank path if out_filename is blankYoshiki Matsuda-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-02add some comments for encode_and_write_metadataYoshiki Matsuda-0/+6
2022-07-02fix an incorrect filename for an error messageYoshiki Matsuda-1/+1
2022-07-02refactor encode_and_write_metadataYoshiki Matsuda-44/+31
2022-07-02Revert "write the root position at the end"Yoshiki Matsuda-13/+16
2022-07-02add a comment about the drop order for EncodedMetadataYoshiki Matsuda-0/+1
2022-07-02create an empty file even in case of MetadataKind::NoneYoshiki Matsuda-6/+16
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-02create tmp directory if there is no parent directoryYoshiki Matsuda-1/+1
2022-07-02insert dummy 4 bytes to avoid the breaking changeYoshiki Matsuda-1/+6
2022-07-02seek before counting zero bytesYoshiki Matsuda-1/+2
2022-07-02call EncodedMetadata::empty in case of MetadataKind::NoneYoshiki Matsuda-25/+36
2022-07-02write the root position at the endYoshiki Matsuda-18/+10
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-19/+32
2022-07-02hold Mmap in EncodedMetadataYoshiki Matsuda-12/+33
2022-07-02construct EncodedMetadata in encode_and_write_metadataYoshiki Matsuda-12/+17
2022-07-02call emit_metadata only when metadata_kind is NoneYoshiki Matsuda-3/+6
2022-07-02use rustc_serialize::opaque::FileEncoderYoshiki Matsuda-38/+46
2022-07-02move encode_and_write_metadata to rustc_metadata::fsYoshiki Matsuda-1/+89
2022-07-02move emit_metadata to rustc_metadata::fsYoshiki Matsuda-0/+26
2022-06-29Rollup merge of #97786 - ferrocene:pa-fix-simulate-remap-prefix, r=Mark-Simul...Dylan DPC-16/+22
2022-06-20Fix panic by checking if `CStore` has the crate data we want before actually ...Guillaume Gomez-0/+4
2022-06-19Rollup merge of #98136 - fee1-dead-contrib:rename_impl_constness, r=oli-obkDylan DPC-11/+11
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-11/+11
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-14/+16
2022-06-13account for simulated remap-debuginfo when resolving remapped pathsPietro Albini-16/+22
2022-06-12Make `ExprKind::Closure` a struct variant.Camille GILLOT-1/+1
2022-06-11Auto merge of #95880 - cjgillot:def-ident-span, r=petrochenkovbors-23/+6
2022-06-11Rollup merge of #97789 - ferrocene:pa-fix-issue-71363-test, r=cjgillotDylan DPC-0/+2
2022-06-11Auto merge of #97905 - nnethercote:revert-infallible-encoder, r=bjorn3bors-15/+20
2022-06-10Assert def_ident_span presence.Camille GILLOT-1/+2
2022-06-10Encode def_ident_span using the query.Camille GILLOT-23/+5
2022-06-10Revert dc08bc51f2c58a0f5f815a07f9bb3d671153b5a1.Nicholas Nethercote-1/+8
2022-06-10Revert b983e42936feab29f6333e9835913afc6b4a394e.Nicholas Nethercote-14/+12
2022-06-09Stabilize the `bundle` native library modifierVadim Petrochenkov-19/+0