summary refs log tree commit diff
path: root/src/Cargo.lock
AgeCommit message (Collapse)AuthorLines
2017-08-13Update cargo submoduleAlex Crichton-2/+11
2017-07-31update openssl and openssl-sysMarc-Antoine Perennou-11/+11
This allows building with libressl 2.6 Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2017-07-18Remove all packaging support for the RLSAlex Crichton-301/+0
2017-07-17Run RLS testsNick Cameron-34/+86
2017-07-15Auto merge of #43207 - alexcrichton:update-cargo, r=nikomatsakisbors-5/+5
Update the `cargo` submodule Notably pull in an update to the `jobserver` crate to have Cargo set the `CARGO_MAKEFLAGS` environment variable instead of the `MAKEFLAGS` environment variable. cc https://github.com/rust-lang/rust/issues/42635
2017-07-13Update the `cargo` submoduleAlex Crichton-5/+5
Notably pull in an update to the `jobserver` crate to have Cargo set the `CARGO_MAKEFLAGS` environment variable instead of the `MAKEFLAGS` environment variable.
2017-07-13Reduce the usage of features in compiletest and libtestOliver Schneider-0/+1
2017-07-11update crate dependenciessteveklabnik-140/+109
I wanted to update mdbook's version. This ended up updating a bunch of other stuff too.
2017-07-10Update rls to pull rustfmt with libsyntax changesVadim Petrochenkov-7/+7
2017-07-06Auto merge of #42899 - alexcrichton:compiler-builtins, r=nikomatsakisbors-1/+0
Switch to rust-lang-nursery/compiler-builtins This commit migrates the in-tree `libcompiler_builtins` to the upstream version at https://github.com/rust-lang-nursery/compiler-builtins. The upstream version has a number of intrinsics written in Rust and serves as an in-progress rewrite of compiler-rt into Rust. Additionally it also contains all the existing intrinsics defined in `libcompiler_builtins` for 128-bit integers. It's been the intention since the beginning to make this transition but previously it just lacked the manpower to get done. As this PR likely shows it wasn't a trivial integration! Some highlight changes are: * The PR rust-lang-nursery/compiler-builtins#166 contains a number of fixes across platforms and also some refactorings to make the intrinsics easier to read. The additional testing added there also fixed a number of integration issues when pulling the repository into this tree. * LTO with the compiler-builtins crate was fixed to link in the entire crate after the LTO process as these intrinsics are excluded from LTO. * Treatment of hidden symbols was updated as previously the `#![compiler_builtins]` crate would mark all symbol *imports* as hidden whereas it was only intended to mark *exports* as hidden.
2017-07-06Auto merge of #42727 - alexcrichton:allocators-new, r=eddybbors-0/+18
rustc: Implement the #[global_allocator] attribute This PR is an implementation of [RFC 1974] which specifies a new method of defining a global allocator for a program. This obsoletes the old `#![allocator]` attribute and also removes support for it. [RFC 1974]: https://github.com/rust-lang/rfcs/pull/1974 The new `#[global_allocator]` attribute solves many issues encountered with the `#![allocator]` attribute such as composition and restrictions on the crate graph itself. The compiler now has much more control over the ABI of the allocator and how it's implemented, allowing much more freedom in terms of how this feature is implemented. cc #27389
2017-07-05rustc: Implement the #[global_allocator] attributeAlex Crichton-0/+18
This PR is an implementation of [RFC 1974] which specifies a new method of defining a global allocator for a program. This obsoletes the old `#![allocator]` attribute and also removes support for it. [RFC 1974]: https://github.com/rust-lang/rfcs/pull/197 The new `#[global_allocator]` attribute solves many issues encountered with the `#![allocator]` attribute such as composition and restrictions on the crate graph itself. The compiler now has much more control over the ABI of the allocator and how it's implemented, allowing much more freedom in terms of how this feature is implemented. cc #27389
2017-07-05Merge remote-tracking branch 'origin/master' into proc_macro_apiAlex Crichton-82/+78
2017-07-05Switch to rust-lang-nursery/compiler-builtinsAlex Crichton-1/+0
This commit migrates the in-tree `libcompiler_builtins` to the upstream version at https://github.com/rust-lang-nursery/compiler-builtins. The upstream version has a number of intrinsics written in Rust and serves as an in-progress rewrite of compiler-rt into Rust. Additionally it also contains all the existing intrinsics defined in `libcompiler_builtins` for 128-bit integers. It's been the intention since the beginning to make this transition but previously it just lacked the manpower to get done. As this PR likely shows it wasn't a trivial integration! Some highlight changes are: * The PR rust-lang-nursery/compiler-builtins#166 contains a number of fixes across platforms and also some refactorings to make the intrinsics easier to read. The additional testing added there also fixed a number of integration issues when pulling the repository into this tree. * LTO with the compiler-builtins crate was fixed to link in the entire crate after the LTO process as these intrinsics are excluded from LTO. * Treatment of hidden symbols was updated as previously the `#![compiler_builtins]` crate would mark all symbol *imports* as hidden whereas it was only intended to mark *exports* as hidden.
2017-07-02Update cargoest31-1/+1
... to get https://github.com/rust-lang/cargo/pull/4244 and https://github.com/rust-lang/cargo/pull/4246
2017-07-01Auto merge of #42971 - stepancheg:ir-demangle, r=nagisabors-0/+1
When writing LLVM IR output demangled fn name in comments `--emit=llvm-ir` looks like this now: ``` ; <alloc::vec::Vec<T> as core::ops::index::IndexMut<core::ops::range::RangeFull>>::index_mut ; Function Attrs: inlinehint uwtable define internal { i8*, i64 } @"_ZN106_$LT$alloc..vec..Vec$LT$T$GT$$u20$as$u20$core..ops..index..IndexMut$LT$core..ops..range..RangeFull$GT$$GT$9index_mut17h7f7b576609f30262E"(%"alloc::vec::Vec<u8>"* dereferenceable(24)) unnamed_addr #0 { start: ... ``` cc https://github.com/integer32llc/rust-playground/issues/15
2017-07-01When writing LLVM IR output demangled fn name in commentsStepan Koltsov-0/+1
`--emit=llvm-ir` looks like this now: ``` ; <alloc::vec::Vec<T> as core::ops::index::IndexMut<core::ops::range::RangeFull>>::index_mut ; Function Attrs: inlinehint uwtable define internal { i8*, i64 } @"_ZN106_$LT$alloc..vec..Vec$LT$T$GT$$u20$as$u20$core..ops..index..IndexMut$LT$core..ops..range..RangeFull$GT$$GT$9index_mut17h7f7b576609f30262E"(%"alloc::vec::Vec<u8>"* dereferenceable(24)) unnamed_addr #0 { start: ... ``` cc https://github.com/integer32llc/rust-playground/issues/15
2017-06-28Update RLS submoduleNick Cameron-40/+20
2017-06-26Update CargoMark Simulacrum-47/+62
2017-06-26Implement `quote!` and other `proc_macro` API.Jeffrey Seyfried-9/+0
2017-06-22Auto merge of #42682 - alexcrichton:jobserver, r=michaelwoeristerbors-0/+6
Integrate jobserver support to parallel codegen 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-21Rollup merge of #42766 - nrc:versions, r=nagisaCorey Farwell-3/+3
Update rls-data version And update the RLS submod
2017-06-21Integrate jobserver support to parallel codegenAlex Crichton-0/+6
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-20Switch to the crates.io `getopts` crateAlex Crichton-15/+5
This commit deletes the in-tree `getopts` crate in favor of the crates.io-based `getopts` crate. The main difference here is with a new builder-style API, but otherwise everything else remains relatively standard.
2017-06-20Auto merge of #42495 - alexcrichton:new-stage0, r=Mark-Simulacrumbors-5/+5
Bump to 1.20.0 and update stage0 compiler Betas are hot off the bots, let's get them while they're fresh.
2017-06-20Update rls-data depNick Cameron-3/+3
2017-06-19Bump version and stage0 compilerAlex Crichton-5/+5
2017-06-19Update `wincolor` dep for CargoAlex Crichton-3/+3
Closes rust-lang/cargo#4189
2017-06-18Auto merge of #42676 - alexcrichton:update-cargo, r=Mark-Simulacrumbors-314/+331
Update cargo/rls submodules and dependencies Brings in a few regression fixes on the Cargo side, updates the rls to work with the newer Cargo, and also updates other crates.io dependencies to pull in various bug fixes and such.
2017-06-18Rollup merge of #42720 - murarth:deprecated-collections, r=alexcrichtonMark Simulacrum-0/+9
Reintroduce deprecated `collections` crate
2017-06-18Auto merge of #42593 - ibabushkin:on-demand-external-source, r=eddybbors-0/+1
Implement lazy loading of external crates' sources. Fixes #38875 Fixes #38875. This is a follow-up to #42507. When a (now correctly translated) span from an external crate is referenced in a error, warning or info message, we still don't have the source code being referenced. Since stuffing the source in the serialized metadata of an rlib is extremely wasteful, the following scheme has been implemented: * File maps now contain a source hash that gets serialized as well. * When a span is rendered in a message, the source hash in the corresponding file map(s) is used to try and load the source from the corresponding file on disk. If the file is not found or the hashes don't match, the failed attempt is recorded (and not retried). * The machinery fetching source lines from file maps is augmented to use the lazily loaded external source as a secondary fallback for file maps belonging to external crates. This required a small change to the expected stderr of one UI test (it now renders a span, where previously was none). Further work can be done based on this - some of the machinery previously used to hide external spans is possibly obsolete and the hashing code can be reused in different places as well. r? @eddyb
2017-06-17Reintroduce deprecated `collections` crateMurarth-0/+9
2017-06-17Update cargo/rls submodules and dependenciesAlex Crichton-314/+331
Brings in a few regression fixes on the Cargo side, updates the rls to work with the newer Cargo, and also updates other crates.io dependencies to pull in various bug fixes and such.
2017-06-16Auto merge of #42612 - est31:master, r=nagisabors-0/+7
Autogenerate stubs and SUMMARY.md in the unstable book Removes a speed bump in compiler development by autogenerating stubs for features in the unstable book. See #42454 for discussion. The PR contains three commits, separated in order to make review easy: * The first commit converts the tidy tool from a binary crate to a crate that contains both a library and a binary. In the second commit, we'll use the tidy library * The second and main commit introduces autogeneration of SUMMARY.md and feature stub files * The third commit turns off the tidy lint that checks for features without a stub, and removes the stub files. A separate commit due to the large number of files touched Members of the doc team who wish to document some features can either do this (where `$rustsrc` is the root of the rust repo git checkout): 1. cd to `$rustsrc/src/tools/unstable-book-gen` and then do `cargo run $rustsrc/src $rustsrc/src/doc/unstable-book` to put the stubs into the unstable book 2. cd to `$rustsrc` and run `git ls-files --others --exclude-standard` to list the newly added stubs 3. choose a file to edit, then `git add` it and `git commit` 4. afterwards, remove all changes by the tool by doing `git --reset hard` and `git clean -f` Or they can do this: 1. remove the comment marker in `src/tools/tidy/src/unstable_book.rs` line 122 2. run `./x.py test src/tools/tidy` to list the unstable features which only have stubs 3. revert the change in 1 3. document one of the chosen unstable features The changes done by this PR also allow for further development: * tidy obtains information about tracking issues. We can now forbid differing tracking issues between differing `#![unstable]` annotations. I haven't done this but plan to in a future PR * we now have a general framework for generating stuff for the unstable book at build time. Further changes can autogenerate a list of the API a given library feature exposes. The old way to simply click through the documentation after it has been uploaded to rust-lang.org works as well. r? @nagisa Fixes #42454
2017-06-15Auto merge of #42648 - murarth:merge-alloc-collections, r=alexcrichtonbors-10/+1
Merge crate `collections` into `alloc` This is a necessary step in order to merge #42565
2017-06-14Auto merge of #42433 - marco-c:profiling, r=alexcrichtonbors-0/+9
Build instruction profiler runtime as part of compiler-rt r? @alexcrichton This is #38608 with some fixes. Still missing: - [x] testing with profiler enabled on some builders (on which ones? Should I add the option to some of the already existing configurations, or create a new configuration?); - [x] enabling distribution (on which builders?); - [x] documentation.
2017-06-13Merge crate `collections` into `alloc`Murarth-10/+1
2017-06-14Autogenerate stubs and the summary of the unstable bookest31-0/+7
2017-06-12Fix rebasing errorNick Cameron-2/+2
2017-06-12Update rls-dataNick Cameron-3/+3
2017-06-10Moved FileMap construction to it's own constructor.Inokentiy Babushkin-0/+1
The rationale is that BOM stripping is needed for lazy source loading for external crates, and duplication can be avoided by moving the corresponding functionality to libsyntax_pos.
2017-06-07Rollup merge of #42512 - Keruspe:master, r=alexcrichtonCorey Farwell-10/+16
update git2 Fixes build with libressl
2017-06-07update git2Marc-Antoine Perennou-10/+16
Fixes build with libressl Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2017-06-07Update CargoAlex Crichton-76/+46
Brings in some perf improvements!
2017-06-04Merge branch 'profiling' of github.com:whitequark/rust into profilingMarco Castelluccio-0/+9
2017-06-02Rollup merge of #42343 - cuviper:install-executables, r=alexcrichtonMark Simulacrum-5/+5
Update rust-installer for Windows executable mode It now marks a few whitelisted extensions as executable in the tarball, so Windows packages can be extracted on other platforms and directly execute install.sh. It also includes a fix for the chmod on bulk dirs, so now the html docs won't be marked executable en masse. Fixes #42121 r? @alexcrichton
2017-06-01Support VS 2017Brian Anderson-17/+18
Fixes #38584
2017-05-31Update rust-installer for Windows executable modeJosh Stone-5/+5
It now marks a few whitelisted extensions as executable in the tarball, so Windows packages can be extracted on other platforms and directly execute install.sh. It also includes a fix for the chmod on bulk dirs, so now the html docs won't be marked executable en masse. Fixes #42121 r? @alexcrichton
2017-05-28Updated locked version of libgit2Alex Crichton-7/+8
This should include a fix for rust-lang/cargo#4091 with an updated version of libgit2. Closes rust-lang/cargo#4091
2017-05-24Update Cargo submoduleAlex Crichton-29/+0
Contains a fix for rust-lang/cargo#4081