summary refs log tree commit diff
path: root/src/librustc_interface
AgeCommit message (Collapse)AuthorLines
2019-06-22Prefer to use `has_errors` to `err_count`Matthew Jasper-1/+1
2019-06-14Run `rustfmt --file-lines ...` for changes from previous commits.Eduard-Mihai Burtescu-1/+1
2019-06-14Unify all uses of 'gcx and 'tcx.Eduard-Mihai Burtescu-9/+9
2019-06-12Run `rustfmt --file-lines ...` for changes from previous commits.Eduard-Mihai Burtescu-9/+3
2019-06-12rustc: replace `TyCtxt<'tcx, 'gcx, 'tcx>` with `TyCtxt<'gcx, 'tcx>`.Eduard-Mihai Burtescu-6/+6
2019-06-12rustc: replace `TyCtxt<'a, 'gcx, 'tcx>` with `TyCtxt<'tcx, 'gcx, 'tcx>`.Eduard-Mihai Burtescu-5/+5
2019-06-11Add deny(unused_lifetimes) to all the crates that have deny(internal).Eduard-Mihai Burtescu-0/+1
2019-06-10Haiku: the maximum stack size is 16 MBNiels Sascha Reedijk-2/+6
When one tries to create a thread with a requested stack size larger than 16 MB, the call will fail and the compiler will bail out. Therefore we should limit the size of the thread stack to 16 MB on Haiku.
2019-06-05Addressed points raised in review.Alexander Regueiro-15/+6
2019-06-05Implemented for traits (associated type definitions).Alexander Regueiro-1/+2
2019-06-05Implemented for function bounds, type bounds, and named existential types.Alexander Regueiro-1/+15
2019-06-01rustc: collect upvars from HIR, instead of during name resolution.Eduard-Mihai Burtescu-2/+0
2019-05-27Avoid unnecessary internings.Nicholas Nethercote-1/+1
Most involving `Symbol::intern` on string literals.
2019-05-23Rollup merge of #61014 - jsgf:emit-artifact-type, r=alexcrichtonMazdak Farrokhzad-1/+2
Make -Zemit-artifact-notifications also emit the artifact type This is easier for tooling to handle than trying to reverse-engineer the type from the filename extension. The field name and value is intended to reflect the `--emit` command-line option. Related issues https://github.com/rust-lang/rust/issues/60988 https://github.com/rust-lang/rust/issues/58465 cc @alexcrichton
2019-05-21Make -Zemit-artifact-notifications also emit the artifact typeJeremy Fitzhardinge-1/+2
This is easier for tooling to handle than trying to reverse-engineer it from the filename extension.
2019-05-21Specify the edition for the rustdoc thread-poolJohn Kåre Alsaker-2/+2
2019-05-21Move `edition` outside the hygiene lock and avoid accessing itJohn Kåre Alsaker-7/+10
2019-05-13Remove the equality operation between `Symbol` and strings.Nicholas Nethercote-15/+15
And also the equality between `Path` and strings, because `Path` is made up of `Symbol`s.
2019-05-13Pass a `Symbol` to `check_name`, `emit_feature_err`, and related functions.Nicholas Nethercote-4/+5
2019-05-07rustc: rename -Z emit-directives to -Z emit-artifact-notifications and ↵Eduard-Mihai Burtescu-8/+5
simplify the output.
2019-05-05rustc: rename all occurences of "freevar" to "upvar".Eduard-Mihai Burtescu-2/+2
2019-05-01Move metadata writing earlier.Nicholas Nethercote-5/+40
The commit moves metadata writing from `link_binary` to `encode_metadata` (and renames the latter as `encode_and_write_metadata`). This is at the very start of code generation.
2019-04-30Move metadata encoding earlier.Nicholas Nethercote-3/+41
This commit separates metadata encoding (`tcx.encode_metadata`) from the creation of the metadata module (which is now handled by `write_compressed_metadata`, formerly `write_metadata`). The metadata encoding now occurs slightly earlier in the pipeline, at the very start of code generation within `start_codegen`. Metadata *writing* still occurs near the end of compilation; that will be moved forward in subsequent commits.
2019-04-26Update rustc-rayon versionJohn Kåre Alsaker-1/+1
2019-04-23Auto merge of #60125 - estebank:continue-evaluating, r=oli-obkbors-7/+0
Don't stop evaluating due to errors before borrow checking r? @oli-obk Fix #60005. Follow up to #59903. Blocked on #53708, fixing the ICE in `src/test/ui/consts/match_ice.rs`.
2019-04-22Never stop due to errors before borrow checkingEsteban Küber-7/+0
2019-04-22Continue evaluating after item-type checkingEsteban Küber-2/+1
2019-04-18hide `--explain` hint if error has no extended infoAndy Russell-1/+3
2019-04-17Deny `internal` in stage0Mateusz Mikuła-1/+1
2019-04-16Rollup merge of #59903 - estebank:after-main, r=oli-obkMazdak Farrokhzad-2/+6
Continue evaluating after missing main
2019-04-12Use measureme in self-profilerWesley Wiser-12/+6
Related to #58372 Related to #58967
2019-04-11Continue evaluating after missing mainEsteban Küber-2/+6
2019-04-03Deny internal lints on librustc_interfaceflip1995-2/+1
2019-04-03Check for unstable-options flag before register internalsflip1995-1/+3
2019-04-03Make internal lints allow-by-defaultflip1995-0/+1
2019-03-30Remove redundant importsFabian Drinck-1/+0
2019-03-29Rollup merge of #59496 - Zoxc:fix-globals, r=oli-obkMazdak Farrokhzad-8/+6
Remove unnecessary with_globals calls
2019-03-28Remove unnecessary with_globals callsJohn Kåre Alsaker-8/+6
2019-03-28Remove LintSession and run incremental and whole crate lints in parallelJohn Kåre Alsaker-1/+1
2019-03-28Combine all builtin late lintsJohn Kåre Alsaker-2/+5
2019-03-27Rollup merge of #58837 - Centril:librustc_interface_2018, r=petrochenkovJosh Stone-39/+22
librustc_interface => 2018 r? @oli-obk This will likely produce an ICE for some reason... so super-WIP.
2019-03-27librustc_interface => 2018; rename rustc-rayon to rayon in Cargo.tomlMazdak Farrokhzad-1/+1
2019-03-27librustc_interface => 2018Mazdak Farrokhzad-38/+21
2019-03-25Make some lints incrementalJohn Kåre Alsaker-1/+1
2019-03-22Do not `track_errors` in `register_plugins`Esteban Küber-14/+12
2019-03-18Auto merge of #58847 - bjorn3:remove_metadata_only_cg, r=alexcrichtonbors-3/+0
Remove metadata only codegen backend It is unused and probably broken at the moment.
2019-03-16Remove MetadataOnlyCodegenBackendbjorn3-3/+0
2019-03-14Add `-Z allow_features=...` flagTyler Mandry-0/+1
2019-03-14Auto merge of #58488 - wesleywiser:llvm_prof, r=michaelwoeristerbors-6/+6
Replace TimeLine LLVM profiling with the self profiler
2019-03-13Rollup merge of #58829 - Xanewok:scoped-tls, r=ZoxcMazdak Farrokhzad-1/+1
librustc_interface: Update scoped-tls to 1.0 Done previously as a part of https://github.com/rust-lang/rust/pull/58748. r? @Zoxc