rust/src/librustc_metadata
Alex Crichton 4199a6c1ee
Rollup merge of #50538 - michaelwoerister:atomic-cnums, r=Zoxc
Make CrateNum allocation more thread-safe.

This PR makes sure that we can't have race conditions when assigning CrateNums. It's a slight improvement but a larger refactoring of the CrateStore/CrateLoader infrastructure would be good, I think.

r? @Zoxc
2018-05-10 11:35:24 -05:00
..
build.rs rustc: Add some build scripts for librustc crates 2017-07-22 22:04:13 -07:00
Cargo.toml Rename rustc_back::target to rustc_target::spec. 2018-04-26 16:39:44 +03:00
creader.rs Rollup merge of #50538 - michaelwoerister:atomic-cnums, r=Zoxc 2018-05-10 11:35:24 -05:00
cstore.rs Rollup merge of #50538 - michaelwoerister:atomic-cnums, r=Zoxc 2018-05-10 11:35:24 -05:00
cstore_impl.rs Auto merge of #50102 - Zoxc:query-nomacro, r=michaelwoerister 2018-04-27 16:42:31 +00:00
decoder.rs Don't use Lock for heavily accessed CrateMetadata::cnum_map. 2018-05-08 14:32:31 +02:00
diagnostics.rs Clarify failure condition on tests 2017-09-05 11:55:01 -07:00
dynamic_lib.rs rustc: Load the rustc_trans crate at runtime 2018-01-27 19:16:21 -08:00
encoder.rs Clean up IsolatedEncoder::encode_info_for_impl_item() a bit 2018-04-20 19:05:54 -04:00
foreign_modules.rs rustc: Add a #[wasm_import_module] attribute 2018-03-22 13:16:38 -07:00
index.rs Use different DefIndex representation that is better suited for variable length integer encodings. 2018-01-08 14:15:17 +01:00
index_builder.rs Replace uses of DepGraph.in_ignore with DepGraph.with_ignore 2018-01-09 18:35:50 +01:00
isolated_encoder.rs Remove HIR inlining 2018-04-19 20:33:18 -04:00
lib.rs Rename rustc_back::target to rustc_target::spec. 2018-04-26 16:39:44 +03:00
link_args.rs rustc_target: move in syntax::abi and flip dependency. 2018-04-26 17:49:16 +03:00
locator.rs Rename rustc_back::target to rustc_target::spec. 2018-04-26 16:39:44 +03:00
native_libs.rs rustc_target: move in syntax::abi and flip dependency. 2018-04-26 17:49:16 +03:00
schema.rs Rename rustc_back::target to rustc_target::spec. 2018-04-26 16:39:44 +03:00