about summary refs log tree commit diff
path: root/src/librustc/Cargo.toml
AgeCommit message (Collapse)AuthorLines
2019-04-26Update rustc-rayon versionJohn Kåre Alsaker-2/+2
2019-04-14Rollup merge of #59856 - albins:update-polonius, r=nikomatsakisMazdak Farrokhzad-1/+1
update polonius-engine This updates polonius-engine to [version 0.7.0](https://github.com/rust-lang/polonius/blob/master/RELEASES.md#v070), which adds a hybrid algorithm that starts off with performing a cheaper, location-insensitive analysis before proceeding with the full analysis. r? @nikomatsakis
2019-04-12Use measureme in self-profilerWesley Wiser-0/+1
Related to #58372 Related to #58967
2019-04-10update polonius-engineAlbin Stjerna-1/+1
2019-03-05Create a derive macro for HashStableJohn Kåre Alsaker-0/+1
2019-03-01Add support for using a jobserver with RayonJohn Kåre Alsaker-2/+2
2019-02-26update scoped_tls to 1.0Marcel Hellwig-1/+1
2019-02-22Update parking_lot to 0.7Bastien Orivel-1/+1
Unfortunately this'll dupe parking_lot until the data_structures crate is published and be updated in rls in conjunction with crossbeam-channel
2019-02-13Rename rustc_errors dependency in rust 2018 cratesTaiki Endo-1/+1
2019-02-05move librustc to 2018Mark Mansi-0/+1
2019-01-28Use multiple threads by default. Limits tests to one thread. Do some renaming.John Kåre Alsaker-0/+1
2019-01-02adopt polonius-engine 0.6.2Niko Matsakis-1/+1
Also datafrog 2.0.1, which works around a rustdoc bug
2018-12-27Handle sub-typing in chalk-enginescalexm-1/+1
2018-12-10Upgrade `smallvec` to 0.6.7 and use the new `may_dangle` feature.Nicholas Nethercote-1/+1
2018-11-30proc_macro: move to a dependency of libtest.Eduard-Mihai Burtescu-1/+0
2018-10-08Pass around interned refs to goals and not goalsscalexm-1/+1
2018-09-04Breaking change upgradesMark Rousskov-1/+1
2018-08-23Use optimized SmallVec implementationIgor Gutorov-0/+1
2018-08-17rustc_resolve: don't allow paths starting with `::crate`.Eduard-Mihai Burtescu-1/+1
2018-08-09Move rustc::util::fs into separate (new) crateMark Rousskov-0/+1
2018-06-20Replace tempdir by tempfile in librustcBastien Orivel-3/+1
This removes the last dependency on tempdir.
2018-06-06Update Rayon versionJohn Kåre Alsaker-2/+2
2018-06-06Make queries block and handle query cyclesJohn Kåre Alsaker-0/+4
2018-06-02Allow choosing Polonius algorithm via environment variable POLONIUS_ALGORITHM.Vytautas Astrauskas-1/+1
2018-05-29Use polonius_outputSantiago Pastorino-1/+1
2018-05-29bump polonius engineDouglas Campos-1/+1
2018-05-26Rollup merge of #51047 - spastorino:use_polonius_engine_facts, r=nikomatsakiskennytm-0/+1
Use AllFacts from polonius-engine
2018-05-24Use AllFacts from polonius-engineSantiago Pastorino-0/+1
2018-05-24implement the chalk traits, albeit with many placeholdersNiko Matsakis-0/+3
2018-05-17Rename trans to codegen everywhere.Irina Popa-3/+3
2018-04-30Remove the `rustc_const_math` crateOliver Schneider-1/+0
2018-04-26Rename rustc_back::target to rustc_target::spec.Irina Popa-1/+1
2018-03-26rustbuild: Fail the build if we build Cargo twiceAlex Crichton-0/+1
This commit updates the `ToolBuild` step to stream Cargo's JSON messages, parse them, and record all libraries built. If we build anything twice (aka Cargo) it'll most likely happen due to dependencies being recompiled which is caught by this check.
2018-02-20Do not run the default panic hook inside procedural macros. Fixes #47812John Kåre Alsaker-0/+2
2018-01-27rustc: Load the `rustc_trans` crate at runtimeAlex Crichton-2/+1
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-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é-1/+1
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-17Add sync module to rustc_data_structuresJohn Kåre Alsaker-1/+0
2017-12-14Move mir validation out of treeOliver Schneider-1/+0
2017-12-12Move large chunks of miri from rustc::mir::interpret to rustc_mir::interpretOliver Schneider-2/+0
2017-12-06Update miri to rustc changesOliver Schneider-0/+1
2017-09-29Adjust imports to librustc::mir::interpretOliver Schneider-0/+6
2017-09-17Remove rustc_bitflags; use the bitflags crateTamir Duberstein-1/+1
2017-06-21Integrate jobserver support to parallel codegenAlex Crichton-0/+1
This commit integrates the `jobserver` crate into the compiler. The crate was previously integrated in to Cargo as part of rust-lang/cargo#4110. The purpose here is to two-fold: * Primarily the compiler can cooperate with Cargo on parallelism. When you run `cargo build -j4` then this'll make sure that the entire build process between Cargo/rustc won't use more than 4 cores, whereas today you'd get 4 rustc instances which may all try to spawn lots of threads. * Secondarily rustc/Cargo can now integrate with a foreign GNU `make` jobserver. This means that if you call cargo/rustc from `make` or another jobserver-compatible implementation it'll use foreign parallelism settings instead of creating new ones locally. As the number of parallel codegen instances in the compiler continues to grow over time with the advent of incremental compilation it's expected that this'll become more of a problem, so this is intended to nip concurrent concerns in the bud by having all the tools to cooperate! Note that while rustc has support for itself creating a jobserver it's far more likely that rustc will always use the jobserver configured by Cargo. Cargo today will now set a jobserver unconditionally for rustc to use.
2017-06-20Remove the in-tree `flate` crateAlex Crichton-0/+29
A long time coming this commit removes the `flate` crate in favor of the `flate2` crate on crates.io. The functionality in `flate2` originally flowered out of `flate` itself and is additionally the namesake for the crate. This will leave a gap in the naming (there's not `flate` crate), which will likely cause a particle collapse of some form somewhere.
2017-05-15Remove rustc_llvm dependency from librustcRobin Kruppe-1/+0
Consequently, session creation can no longer initialize LLVM. The few places that use the compiler without going through rustc_driver/CompilerCalls thus need to be careful to manually initialize LLVM (via rustc_trans!) immediately after session creation. This means librustc is not rebuilt when LLVM changes.
2017-05-14Remove rustc_llvm dependency from rustc_metadataRobin Kruppe-0/+1
Move the code for loading metadata from rlibs and dylibs from rustc_metadata into rustc_trans, and introduce a trait to avoid introducing a direct dependency on rustc_trans. This means rustc_metadata is no longer rebuilt when LLVM changes.
2017-03-23Remove internal liblogAlex Crichton-1/+1
This commit deletes the internal liblog in favor of the implementation that lives on crates.io. Similarly it's also setting a convention for adding crates to the compiler. The main restriction right now is that we want compiler implementation details to be unreachable from normal Rust code (e.g. requires a feature), and by default everything in the sysroot is reachable via `extern crate`. The proposal here is to require that crates pulled in have these lines in their `src/lib.rs`: #![cfg_attr(rustbuild, feature(staged_api, rustc_private))] #![cfg_attr(rustbuild, unstable(feature = "rustc_private", issue = "27812"))] This'll mean that by default they're not using these attributes but when compiled as part of the compiler they do a few things: * Mark themselves as entirely unstable via the `staged_api` feature and the `#![unstable]` attribute. * Allow usage of other unstable crates via `feature(rustc_private)` which is required if the crate relies on any other crates to compile (other than std).
2017-02-03Bump version, upgrade bootstrapAlex Crichton-1/+0
This commit updates the version number to 1.17.0 as we're not on that version of the nightly compiler, and at the same time this updates src/stage0.txt to bootstrap from freshly minted beta compiler and beta Cargo.
2017-01-22Remove unused `extern crate`s.Jeffrey Seyfried-1/+0