Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
900c13e
enhance the documentation of std::io::BufReader regarding potential d…
Oct 18, 2019
5b5196a
rephrase sentence regarding data loss when using BufReader::into_inner
Oct 23, 2019
05c0791
consistent handling of missing sysroot spans
RalfJung Nov 2, 2019
1808968
also adjust ignore in generated tests
RalfJung Nov 2, 2019
f66a331
When a URL hash refers to a hidden element, it makes the element visible
GuillaumeGomez Nov 5, 2019
62167c0
using 2.0.log(2.0) in examples does not make it clear which is the b…
srinivasreddy Nov 6, 2019
c965432
Ignore these tests ,since the called commands doesn't exist in VxWorks
Oct 30, 2019
24e093c
Remove old isHidden function
GuillaumeGomez Nov 7, 2019
d4527b7
Only call onHashChange instead of both functions
GuillaumeGomez Nov 7, 2019
1906c6f
Add `MaybeUninit` methods `uninit_array`, `slice_get_ref`, `slice_get…
SimonSapin Oct 18, 2019
05c14bc
Apply docs suggestions from review
SimonSapin Oct 26, 2019
639c4f7
MaybeUninit::uninit_array docs: better example
SimonSapin Oct 26, 2019
ccde510
rustc_target: inline abi::FloatTy into abi::Primitive.
eddyb Nov 7, 2019
8590b16
rustc_metadata: Move decoder/encoder/table into mod schema
petrochenkov Nov 3, 2019
8e1ae56
rustc_metadata: Privatize everything in schema and schema/table
petrochenkov Nov 3, 2019
0c9d424
rustc_metadata: Move cstore_impl into mod decoder
petrochenkov Nov 3, 2019
166d5f8
rustc_metadata: Privatize everything in decoder
petrochenkov Nov 3, 2019
2b75147
rustc_metadata: Privatize more entities
petrochenkov Nov 3, 2019
5eb1cf1
rustc_metadata: Rename `schema` to `rmeta`
petrochenkov Nov 4, 2019
32aa327
Rollup merge of #65554 - gliderkite:bufreader-doc-enhance, r=KodrAus
JohnTitor Nov 8, 2019
a00c777
Rollup merge of #65580 - SimonSapin:maybeuninit-array, r=Amanieu
JohnTitor Nov 8, 2019
9dc5d0e
Rollup merge of #66049 - RalfJung:missing-spans, r=alexcrichton
JohnTitor Nov 8, 2019
996d94a
Rollup merge of #66056 - petrochenkov:metapriv, r=eddyb
JohnTitor Nov 8, 2019
392ebad
Rollup merge of #66123 - GuillaumeGomez:no-more-hidden-elements, r=Dy…
JohnTitor Nov 8, 2019
1455381
Rollup merge of #66157 - srinivasreddy:improv, r=alexcrichton
JohnTitor Nov 8, 2019
63a4551
Rollup merge of #66165 - Wind-River:master_xyz, r=alexcrichton
JohnTitor Nov 8, 2019
1969f41
Rollup merge of #66190 - eddyb:primflt, r=Centril
JohnTitor Nov 8, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/librustc_metadata/creader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

use crate::cstore::{self, CStore, MetadataBlob};
use crate::locator::{self, CratePaths};
use crate::schema::{CrateRoot, CrateDep};
use crate::rmeta::{CrateRoot, CrateDep};
use rustc_data_structures::sync::{Lock, Once, AtomicCell};

use rustc::hir::def_id::CrateNum;
Expand Down
8 changes: 4 additions & 4 deletions src/librustc_metadata/cstore.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// The crate store - a central repo for information collected about external
// crates and libraries

use crate::schema;
use crate::rmeta;
use rustc::dep_graph::DepNodeIndex;
use rustc::hir::def_id::{CrateNum, DefIndex};
use rustc::hir::map::definitions::DefPathTable;
Expand All @@ -17,7 +17,7 @@ use syntax_expand::base::SyntaxExtension;
use syntax_pos;
use proc_macro::bridge::client::ProcMacro;

pub use crate::cstore_impl::{provide, provide_extern};
pub use crate::rmeta::{provide, provide_extern};

// A map from external crate numbers (as decoded from some crate file) to
// local crate numbers (as generated during this session). Each external
Expand Down Expand Up @@ -49,7 +49,7 @@ crate struct CrateMetadata {
/// lifetime is only used behind `Lazy`, and therefore acts like an
/// universal (`for<'tcx>`), that is paired up with whichever `TyCtxt`
/// is being used to decode those values.
crate root: schema::CrateRoot<'static>,
crate root: rmeta::CrateRoot<'static>,
/// For each definition in this crate, we encode a key. When the
/// crate is loaded, we read all the keys and put them in this
/// hashmap, which gives the reverse mapping. This allows us to
Expand All @@ -59,7 +59,7 @@ crate struct CrateMetadata {
/// Trait impl data.
/// FIXME: Used only from queries and can use query cache,
/// so pre-decoding can probably be avoided.
crate trait_impls: FxHashMap<(u32, DefIndex), schema::Lazy<[DefIndex]>>,
crate trait_impls: FxHashMap<(u32, DefIndex), rmeta::Lazy<[DefIndex]>>,
/// Proc macro descriptions for this crate, if it's a proc macro crate.
crate raw_proc_macros: Option<&'static [ProcMacro]>,
/// Source maps for code from the crate.
Expand Down
6 changes: 1 addition & 5 deletions src/librustc_metadata/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,11 @@ extern crate rustc_data_structures;

pub mod error_codes;

mod encoder;
mod decoder;
mod dependency_format;
mod cstore_impl;
mod foreign_modules;
mod link_args;
mod native_libs;
mod schema;
mod table;
mod rmeta;

pub mod creader;
pub mod cstore;
Expand Down
2 changes: 1 addition & 1 deletion src/librustc_metadata/locator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@

use crate::cstore::MetadataBlob;
use crate::creader::Library;
use crate::schema::{METADATA_HEADER, rustc_version};
use crate::rmeta::{METADATA_HEADER, rustc_version};

use rustc_data_structures::fx::FxHashSet;
use rustc_data_structures::svh::Svh;
Expand Down
Loading