| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2018-03-28 | [incremental] Don't panic if decoding the cache fails | Wesley Wiser | -1/+3 | |
| If the cached data can't be loaded from disk, just issue a warning to the user so they know why compilation is taking longer than usual but don't fail the entire compilation since we can recover by ignorning the on disk cache. In the same way, if the disk cache can't be deserialized (because it has been corrupted for some reason), report the issue as a warning and continue without failing the compilation. `Decodable::decode()` tends to panic with various errors like "entered unreachable code" or "index out of range" if the input data is corrupted. Work around this by catching panics from the `decode()` calls when joining the thread and continuing without the cached data. Fixes #48847 | ||||
| 2018-03-20 | rename epoch to edition | Kurtis Nusbaum | -1/+1 | |
| 2018-03-18 | Auto merge of #48985 - scalexm:lowering, r=nikomatsakis | bors | -0/+4 | |
| MVP for chalkification r? @nikomatsakis | ||||
| 2018-03-17 | AST/HIR: Clarify what the optional name in extern crate items mean | Vadim Petrochenkov | -1/+1 | |
| 2018-03-16 | Checks for unknown attributes before aborting | Shotaro Yamada | -4/+6 | |
| ...due to unresolved macros. | ||||
| 2018-03-14 | Add crate name to "main function not found" error message. | Eric Huss | -1/+1 | |
| Fixes #44798 and rust-lang/cargo#4948. | ||||
| 2018-03-14 | Move code into librustc_traits | scalexm | -1/+3 | |
| 2018-03-14 | Address niko's nits | scalexm | -1/+1 | |
| 2018-03-14 | Add MVP for chalkification | scalexm | -0/+2 | |
| 2018-03-13 | introduce `infcx.at(..).normalize(..)` operation [VIC] | Niko Matsakis | -0/+2 | |
| It is backed by the new `normalize_projection_ty` query, which uses canonicalization. | ||||
| 2018-03-09 | Move PROFQ_CHAN to a Session field | John Kåre Alsaker | -46/+40 | |
| 2018-03-08 | Make it possible to ungate features by epoch | Manish Goregaokar | -1/+3 | |
| 2018-03-08 | Regenerate tests | Oliver Schneider | -1/+1 | |
| 2018-03-08 | rustc_passes::consts -> rvalue_promotion | Oliver Schneider | -2/+2 | |
| 2018-03-08 | Merge const linting pass into const prop | Oliver Schneider | -7/+0 | |
| 2018-03-08 | Move the pattern checking code to hair | Oliver Schneider | -1/+1 | |
| 2018-03-08 | The `const_eval` module is no more | Oliver Schneider | -3/+2 | |
| 2018-03-08 | Nuke the entire ctfe from orbit, it's the only way to be sure | Oliver Schneider | -0/+7 | |
| 2018-03-08 | Move librustc_const_eval to librustc_mir | Oliver Schneider | -2/+1 | |
| 2018-03-05 | Turn features() into a query. | Michael Woerister | -6/+6 | |
| 2018-03-02 | Replace Rc with Lrc for shared data | John Kåre Alsaker | -2/+2 | |
| 2018-02-28 | Rollup merge of #48461 - Manishearth:epoch-dyn-trait, r=nmatsakis | Manish Goregaokar | -1/+1 | |
| Fixes #47311. r? @nrc | ||||
| 2018-02-24 | Rollup merge of #48353 - michaelwoerister:monoitem-static-defid, r=eddyb | Manish Goregaokar | -0/+1 | |
| Allow for instantiating statics from upstream crates This PR makes the infrastructure around translating statics a bit more flexible so that it can also instantiate statics from upstream crates if the need arises. This is preparatory work for a MIR-only RLIBs prototype, where the instantiation of a `static` may be deferred until a leaf crate. r? @eddyb (feel free to assign to someone else if you're busy) | ||||
| 2018-02-24 | Rollup merge of #48143 - nikomatsakis:termination_trait_in_tests, r=eddyb | Manish Goregaokar | -1/+2 | |
| Termination trait in tests Support the `Termination` trait in unit tests (cc https://github.com/rust-lang/rust/issues/43301) Also, a drive-by fix for #47075. This is joint work with @bkchr. | ||||
| 2018-02-24 | Rollup merge of #47987 - Zoxc:rm-recursion-checking, r=eddyb | Manish Goregaokar | -5/+1 | |
| Remove "static item recursion checking" in favor of relying on cycle checks in the query engine Tests are changed to use the cycle check error message instead. Some duplicate tests are removed. r? @eddyb | ||||
| 2018-02-23 | Allow future-incompat lints to mention an epoch | Manish Goregaokar | -1/+1 | |
| 2018-02-22 | support unit tests with return values that implement `Terminaton` | Niko Matsakis | -1/+2 | |
| Extend `Termination` trait with a method to determine what happens with a unit test. This commit incorporates work by Bastian Köcher <git@kchr.de>. | ||||
| 2018-02-20 | Do not run the default panic hook inside procedural macros. Fixes #47812 | John Kåre Alsaker | -1/+3 | |
| 2018-02-19 | Implement describe_def query for LOCAL_CRATE | Michael Woerister | -0/+1 | |
| 2018-02-13 | incr.comp.: Run cache directory garbage collection before loading dep-graph. | Michael Woerister | -0/+9 | |
| 2018-02-10 | Rollup merge of #47854 - varkor:create-out-dir, r=pnkfelix | kennytm | -0/+7 | |
| Create a directory for --out-dir if it does not already exist Currently if `--out-dir` is set to a non-existent directory, the compiler will throw unfriendly messages like `error: could not write output to subdir/example.crate.allocator.rcgu.o: No such file or directory`, which, while not completely unreadable, isn’t very user-friendly either. This change creates the directory automatically if it does not yet exist. | ||||
| 2018-02-10 | Remove "static item recursion checking" in favor of relying on cycle checks ↵ | John Kåre Alsaker | -5/+1 | |
| in the query engine | ||||
| 2018-01-29 | Create a directory for --out-dir if it does not already exist | varkor | -0/+7 | |
| Currently if `--out-dir` is set to a non-existent directory, the compiler will throw unfriendly messages like `error: could not write output to subdir/example.crate.allocator.rcgu.o: No such file or directory`, which, while not completely unreadable, isn’t very user-friendly either. This change creates the directory automatically if it does not yet exist. | ||||
| 2018-01-29 | Specify output filenames for compatibility with Windows | varkor | -6/+9 | |
| 2018-01-29 | Warn when `-C extra-filename` flag is used with `-o` | varkor | -0/+3 | |
| 2018-01-29 | Minor refactoring | varkor | -19/+16 | |
| 2018-01-29 | Fix tidy error | varkor | -1/+1 | |
| 2018-01-29 | Use correct output file paths for error checking | varkor | -27/+69 | |
| 2018-01-29 | Fix quotation mark | varkor | -1/+1 | |
| 2018-01-29 | Fix tidy error | varkor | -1/+2 | |
| 2018-01-29 | Warn when rustc output conflicts with existing directories | varkor | -5/+14 | |
| When the compiled executable would conflict with a directory, display a rustc error instead of a verbose and potentially-confusing linker error. This is a usability improvement, and doesn’t actually change behaviour with regards to compilation success. This addresses the concern in #35887. | ||||
| 2018-01-23 | Auto merge of #47678 - kennytm:rollup, r=kennytm | bors | -21/+9 | |
| Rollup of 14 pull requests - Successful merges: #47423, #47425, #47440, #47541, #47549, #47554, #47558, #47610, #47635, #47655, #47661, #47662, #47667, #47672 - Failed merges: | ||||
| 2018-01-22 | Inline some rustc_driver function | bjorn3 | -21/+9 | |
| 2018-01-22 | cleanup | QuietMisdreavus | -4/+5 | |
| 2018-01-22 | Split out creation of the resolver arena in phase_2_configure_and_expand | Manish Goregaokar | -24/+55 | |
| 2018-01-22 | Move resolve arenas/crate loader outside of the core of ↵ | Manish Goregaokar | -11/+16 | |
| phase_2_configure_and_expand | ||||
| 2018-01-19 | Allow runtime switching between trans backends | bjorn3 | -86/+16 | |
| 2018-01-15 | Add `-Z dep-info-omit-d-target` to control dep-info style | Adam C. Foltzer | -2/+3 | |
| This avoids a breaking change to dep-info output, putting the gcc/clang-compliant dep-info behavior behind a flag | ||||
| 2018-01-15 | remove dep-info files as targets in themselves | Adam C. Foltzer | -0/+2 | |
| 2018-01-15 | Rollup merge of #47417 - petrochenkov:noasm, r=estebank | kennytm | -5/+1 | |
| Move "no asm" check into AST validation | ||||
