about summary refs log tree commit diff
path: root/src/librustc_trans_utils
AgeCommit message (Collapse)AuthorLines
2018-05-17Rename trans to codegen everywhere.Irina Popa-1087/+0
2018-04-27Rename InternedString to LocalInternedString and introduce a new thread-safe ↵John Kåre Alsaker-3/+3
InternedString
2018-04-26Rename rustc_back::target to rustc_target::spec.Irina Popa-3/+3
2018-04-16Separately gate each target_feature featureAlex Crichton-2/+2
Use an explicit whitelist for what features are actually stable and can be enabled.
2018-04-12Auto merge of #49558 - Zoxc:sync-misc, r=michaelwoeristerbors-3/+3
Even more thread-safety changes r? @michaelwoerister
2018-04-10Make Session.plugin_registrar_fn and Session.derive_registrar_fn thread-safeJohn Kåre Alsaker-2/+2
2018-04-10Combine Session.entry_fn and Session.entry_type and make them thread-safeJohn Kåre Alsaker-1/+1
2018-04-08Move deny(warnings) into rustbuildMark Simulacrum-1/+0
This permits easier iteration without having to worry about warnings being denied. Fixes #49517
2018-04-07Auto merge of #49661 - alexcrichton:bump-bootstrap, r=nikomatsakisbors-2/+0
Bump the bootstrap compiler to 1.26.0 beta Holy cow that's a lot of `cfg(stage0)` removed and a lot of new stable language features!
2018-04-06Allow for re-using monomorphizations from upstream crates.Michael Woerister-25/+38
2018-04-05Bump the bootstrap compiler to 1.26.0 betaAlex Crichton-2/+0
Holy cow that's a lot of `cfg(stage0)` removed and a lot of new stable language features!
2018-03-26Stabilize i128_typeMark Mansi-1/+1
2018-03-26Stabilize conservative_impl_traitTaylor Cramer-1/+1
2018-03-22Rollup merge of #49117 - nivkner:fixme_fixup3, r=estebankkennytm-15/+6
address some FIXME whose associated issues were marked as closed part of #44366
2018-03-20Stabilize slice patterns without `..`Vadim Petrochenkov-1/+0
Merge `feature(advanced_slice_patterns)` into `feature(slice_patterns)`
2018-03-17remove FIXME(#37712) and implement ItemLikeVisitor instead of VisitorNiv Kaminer-15/+6
2018-03-12Require the metadata loader to be thread-safeJohn Kåre Alsaker-3/+3
2018-03-07Merge branch 'incr_attr_queries' of https://github.com/wesleywiser/rust into ↵Alex Crichton-71/+6
update-cargo
2018-03-07Merge branch 'metadata-send-sync' of https://github.com/Zoxc/rust into ↵Alex Crichton-7/+9
update-cargo
2018-03-06Add target_features to TransFnAttrsWesley Wiser-2/+4
Part of #47320
2018-03-06Remove the contains_extern_indicator queryWesley Wiser-6/+0
Part of #47320
2018-03-06Remove export_name queryWesley Wiser-61/+2
Part of #47320
2018-03-06Add `inline` to `TransFnAttrs`Wesley Wiser-3/+1
Part of #47320
2018-03-07Make metadata references Send + SyncJohn Kåre Alsaker-7/+9
2018-03-06Clean up handling of symbol export information.Michael Woerister-56/+2
2018-03-05Turn features() into a query.Michael Woerister-1/+1
2018-03-02Replace Rc with Lrc for shared dataJohn Kåre Alsaker-2/+2
2018-02-20stage0 cfg cleanupMark Simulacrum-1/+0
2018-02-17fix more typos found by codespell.Matthias Krüger-1/+1
2018-01-27rustc: Load the `rustc_trans` crate at runtimeAlex Crichton-5/+11
Building on the work of # 45684 this commit updates the compiler to unconditionally load the `rustc_trans` crate at runtime instead of linking to it at compile time. The end goal of this work is to implement # 46819 where rustc will have multiple backends available to it to load. This commit starts off by removing the `extern crate rustc_trans` from the driver. This involved moving some miscellaneous functionality into the `TransCrate` trait and also required an implementation of how to locate and load the trans backend. This ended up being a little tricky because the sysroot isn't always the right location (for example `--sysroot` arguments) so some extra code was added as well to probe a directory relative to the current dll (the rustc_driver dll). Rustbuild has been updated accordingly as well to have a separate compilation invocation for the `rustc_trans` crate and assembly it accordingly into the sysroot. Finally, the distribution logic for the `rustc` package was also updated to slurp up the trans backends folder. A number of assorted fallout changes were included here as well to ensure tests pass and such, and they should all be commented inline.
2018-01-20Fix ICEbjorn3-0/+4
2018-01-19Remove accidential libloading dependencybjorn3-1/+0
2018-01-19Fix ICEbjorn3-0/+1
2018-01-19Remove use of RUSTC_COMPILETEST env varbjorn3-2/+0
2018-01-19Fix review commentsbjorn3-33/+1
2018-01-19Cleanup hot plug codegen backend codebjorn3-166/+15
2018-01-19Hot plug rustc_transbjorn3-0/+186
2018-01-19Allow runtime switching between trans backendsbjorn3-68/+691
2018-01-07Try to fix a perf regression by updating logMalo Jaffré-1/+1
Upgrade `log` to `0.4` in multiple crates.
2018-01-01Update crates and submodules to pull doc fixesMalo Jaffré-2/+2
Update `rand` crate to `0.3.19`. Update `log` crate to `0.3.9` and `0.4.1`. Update `parking_lot_core` crate to `0.2.9`. Upgrade all flate2 dependencies to `1.0.1`. - Update `rust-installer` submodule.
2017-12-28Prefer to use attr::contains_name() and attr::find_by_name()Seiichi Uchida-3/+3
2017-12-20incr.comp.: Use an IndexVec instead of a hashmap for storing result hashes.Michael Woerister-7/+4
2017-12-18Add rustc_data_structures for trans_utils/lib.rsMaik Klein-0/+1
2017-12-18Remove duplicated functions from trans::common.rsMaik Klein-3/+1
2017-12-18Move common.rs functionality into TyCtxtMaik Klein-93/+2
2017-12-18Move trans_item and monomorphize to rustc_mirMaik Klein-594/+0
2017-12-18Move collector to monomorphizeMaik Klein-1084/+0
2017-12-17Add sync module to rustc_data_structuresJohn Kåre Alsaker-3/+1
2017-12-14add trait aliases to HIRAlex Burka-0/+1
2017-12-07make `fn_sig().subst()` ICE when used with a closureNiko Matsakis-2/+2
It's inefficient, and the substitution there doesn't account for the extra regions used by NLL inference, so it's a bad thing to encourage. As it happens all callers already know if they have a closure or not, from what I can tell.