| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-02-12 | Auto merge of #58341 - alexreg:cosmetic-2-doc-comments, r=steveklabnik | bors | -1/+1 | |
| Cosmetic improvements to doc comments This has been factored out from https://github.com/rust-lang/rust/pull/58036 to only include changes to documentation comments (throughout the rustc codebase). r? @steveklabnik Once you're happy with this, maybe we could get it through with r=1, so it doesn't constantly get invalidated? (I'm not sure this will be an issue, but just in case...) Anyway, thanks for your advice so far! | ||||
| 2019-02-11 | Use `Rc<[Symbol]>` instead of `Vec<Symbol>` to reduce # of allocs | Oliver Scherer | -1/+1 | |
| 2019-02-11 | Require a list of features to allow in `allow_internal_unstable` | Oliver Scherer | -1/+1 | |
| 2019-02-10 | rustc: doc comments | Alexander Regueiro | -1/+1 | |
| 2019-02-08 | librustc_metadata => 2018 | Taiki Endo | -9/+10 | |
| 2018-12-25 | Remove licenses | Mark Rousskov | -10/+0 | |
| 2018-11-30 | proc_macro: introduce a "bridge" between clients (proc macros) and servers ↵ | Eduard-Mihai Burtescu | -50/+36 | |
| (compiler front-ends). | ||||
| 2018-11-11 | std: Delete the `alloc_system` crate | Alex Crichton | -14/+9 | |
| This commit deletes the `alloc_system` crate from the standard distribution. This unstable crate is no longer needed in the modern stable global allocator world, but rather its functionality is folded directly into the standard library. The standard library was already the only stable location to access this crate, and as a result this should not affect any stable code. | ||||
| 2018-11-11 | rustc: Clean up allocator injection logic | Alex Crichton | -96/+17 | |
| This commit cleans up allocator injection logic found in the compiler around selecting the global allocator. It turns out that now that jemalloc is gone the compiler never actually injects anything! This means that basically everything around loading crates here and there can be easily pruned. This also removes the `exe_allocation_crate` option from custom target specs as it's no longer used by the compiler anywhere. | ||||
| 2018-11-03 | Remove rustc_metadata_utils, which contains only one function | bjorn3 | -3/+1 | |
| 2018-10-19 | Deprecate the `FxHashMap()` and `FxHashSet()` constructor function hack | Oliver Scherer | -3/+3 | |
| 2018-09-19 | Use full name to identify a macro in a `FileName`. | Diogo Sousa | -0/+1 | |
| Before this two macros with same name would be indistinguishable inside a `FileName`. This caused a bug in incremental compilation (see #53097) since two different macros would map out to the same `StableFilemapId`. Fixes #53097. | ||||
| 2018-09-15 | rustc_resolve: always include core, std and meta in the extern prelude. | Eduard-Mihai Burtescu | -20/+61 | |
| 2018-09-15 | rustc: add unstable support for --extern crate_name without a path. | Eduard-Mihai Burtescu | -1/+2 | |
| 2018-08-26 | create a valid DefIdTable for proc macro crates | Ariel Ben-Yehuda | -4/+11 | |
| At least the incremental compilation code, and a few other places in the compiler, require the CrateMetadata for a loaded target crate to contain a valid DefIdTable for the DefIds in the target. Previously, the CrateMetadata for a proc macro contained the crate's "host" DefIdTable, which is of course incompatible with the "target" DefIdTable, causing ICEs. This creates a DefIdTable that properly refers to the "proc macro" DefIds. Fixes #49482. | ||||
| 2018-08-19 | mv codemap source_map | Donato Sciarra | -1/+1 | |
| 2018-08-14 | rustc_resolve: fix special-case for one-segment import paths. | Eduard-Mihai Burtescu | -28/+0 | |
| 2018-08-09 | Move SVH structure to data structures | Mark Rousskov | -1/+1 | |
| 2018-08-04 | Normalize variants of CrateType to standard style | Mark Rousskov | -14/+14 | |
| This is a clippy-breaking change. | ||||
| 2018-08-03 | Store concrete crate stores where possible | Mark Rousskov | -6/+7 | |
| 2018-08-03 | Move validate_crate_name to rustc_metadata | Mark Rousskov | -1/+3 | |
| 2018-07-28 | Don't format!() string literals | ljedrz | -1/+1 | |
| 2018-07-25 | rustc: Register crates under their real names | Alex Crichton | -4/+3 | |
| Whenever we register a crate into the crate store, make sure to use the real name mentioned in the metadata instead of the name mentioned in the `extern crate` statement, as the statement can be wrong! Closes #51796 | ||||
| 2018-07-11 | Deny bare trait objects in in src/librustc_metadata | ljedrz | -2/+2 | |
| 2018-06-30 | expansion: Give names to some fields of `SyntaxExtension` | Vadim Petrochenkov | -3/+5 | |
| 2018-06-23 | hygiene: Do not reset expansion info for `quote!` | Vadim Petrochenkov | -1/+1 | |
| 2018-06-19 | Update the error message for a missing global allocator | Simon Sapin | -2/+4 | |
| Don’t mention `#[default_lib_allocator]` (which is an implementation detail irrelevant to most users) and instead suggest using `#[global_allocator]`, which is often the correct fix. | ||||
| 2018-06-01 | Make metadata decoding use AllocDecodingState/Session. | Michael Woerister | -0/+5 | |
| 2018-05-18 | Remove unnecessary impl methods for CrateMetadata | Isaac Whitfield | -23/+23 | |
| 2018-05-18 | Serialize attributes into the CrateRoot | Isaac Whitfield | -28/+9 | |
| 2018-05-18 | Attempt to pass CrateMetadata flags on creation | Isaac Whitfield | -18/+28 | |
| 2018-05-18 | Avoid generating attributes more than once for CrateMetadata | Isaac Whitfield | -11/+18 | |
| 2018-05-18 | Remove attribute_cache from CrateMetadata | Isaac Whitfield | -1/+0 | |
| 2018-05-17 | Pass crate editions to macro expansions, update tests | Vadim Petrochenkov | -9/+15 | |
| 2018-05-10 | Rollup merge of #50538 - michaelwoerister:atomic-cnums, r=Zoxc | Alex Crichton | -4/+1 | |
| 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-09 | Make CrateNum allocation more thread-safe. | Michael Woerister | -4/+1 | |
| 2018-05-08 | Don't use Lock for heavily accessed CrateMetadata::cnum_map. | Michael Woerister | -3/+6 | |
| 2018-04-26 | Rename rustc_back::target to rustc_target::spec. | Irina Popa | -2/+1 | |
| 2018-04-26 | rustc_back: move LinkerFlavor, PanicStrategy, and RelroLevel to target. | Irina Popa | -1/+1 | |
| 2018-04-16 | Auto merge of #49847 - sinkuu:save_analysis_implicit_extern, r=petrochenkov | bors | -13/+75 | |
| Fix save-analysis generation with extern_in_paths/extern_absolute_paths Fixes #48742. | ||||
| 2018-04-13 | Move `path_len` to ExternCrate | Shotaro Yamada | -12/+8 | |
| 2018-04-11 | Extend `ExternCrate` to cover externs inferred from `use` or paths | Shotaro Yamada | -13/+79 | |
| 2018-04-10 | Make Session.injected_panic_runtime thread-safe | John Kåre Alsaker | -0/+2 | |
| 2018-04-10 | Make Session.injected_allocator and Session.allocator_kind thread-safe | John Kåre Alsaker | -0/+8 | |
| 2018-04-10 | Make Session.has_global_allocator thread-safe | John Kåre Alsaker | -3/+1 | |
| 2018-03-28 | Take the original extra-filename passed to a crate into account when | Chris Manchester | -7/+15 | |
| resolving it as a dependency. Fixes #46816 | ||||
| 2018-03-28 | Auto merge of #49019 - phil-opp:target-spec, r=pnkfelix | bors | -5/+7 | |
| Introduce a TargetTriple enum to support absolute target paths This PR replaces target triple strings with a `TargetTriple` enum, which represents either a target triple or a path to a JSON target file. The path variant is used if the `--target` argument has a `.json` extension, else the target triple variant is used. The motivation of this PR is support for absolute target paths to avoid the need for setting the `RUST_TARGET_PATH` environment variable (see rust-lang/cargo#4905 for more information). For places where some kind of triple is needed (e.g. in the sysroot folder), we use the file name (without extension). For compatibility, we keep the old behavior of searching for a file named `$(target_triple).json` in `RUST_TARGET_PATH` for non-official target triples. | ||||
| 2018-03-26 | Introduce a TargetTriple enum to support absolute target paths | Philipp Oppermann | -5/+7 | |
| 2018-03-25 | librustc: Convert -C pgo-gen and -C pgo-use into -Z flags. | Emilio Cobos Álvarez | -1/+1 | |
| Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io> | ||||
| 2018-03-25 | rustc_metadata: Load the profiler runtime if we're generating PGO profile data. | Emilio Cobos Álvarez | -1/+3 | |
| This contains all the actual profiling code. Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io> | ||||
