summary refs log tree commit diff
path: root/src/tools
AgeCommit message (Collapse)AuthorLines
2017-11-12Update cargo to include a few bugfixes.Mark Simulacrum-0/+0
2017-10-31[beta] Cargo does not remove [root] from lockfile with --frozenAleksey Kladov-0/+0
2017-10-12Prepare the 1.22.0 betaAlex Crichton-0/+0
This updates the Cargo submodule a bit but is otherwise pretty routine.
2017-10-03Add build environment for Solarisbgermann-0/+2
This can be used to build rust-std. The dilos illumos distribution was chosen, because illumos is free software as opposed to Oracle Solaris and dilos is the only illumos distribution that supports x86_64 and sparcv9 at the same level.
2017-10-02update mdbooksteveklabnik-1/+1
Fixes #44704
2017-09-29Rollup merge of #44287 - Eh2406:master, r=aturonMark Simulacrum-1/+1
Allow T op= &T for built-in numeric types T v2 Manually rebase of @Migi https://github.com/rust-lang/rust/pull/41336
2017-09-28Auto merge of #44785 - alexcrichton:update-cargo, r=nikomatsakisbors-8/+19
Update some minor dependencies * run `cargo update` * Update cargo submodule * Update to the `cc` crate from `gcc`
2017-09-28Auto merge of #44779 - tjkirch:master, r=alexcrichtonbors-0/+1
Add aarch64-unknown-linux-musl target This adds support for the aarch64-unknown-linux-musl target in the build and CI systems. This addresses half of issue #42520. The new file `aarch64_unknown_linux_musl.rs` is a copy of `aarch64_unknown_linux_gnu.rs` with "gnu" replaced by "musl", and the added logic in `build-arm-musl.sh` is similarly a near-copy of the arches around it, so overall the changes were straightforward. Testing: ``` $ sudo ./src/ci/docker/run.sh cross ... Dist std stage2 (x86_64-unknown-linux-gnu -> aarch64-unknown-linux-musl) Building stage2 test artifacts (x86_64-unknown-linux-gnu -> aarch64-unknown-linux-musl) Compiling getopts v0.2.14 Compiling term v0.0.0 (file:///checkout/src/libterm) Compiling test v0.0.0 (file:///checkout/src/libtest) Finished release [optimized] target(s) in 16.91 secs Copying stage2 test from stage2 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / aarch64-unknown-linux-musl) ... Build completed successfully in 0:55:22 ``` ``` $ rustup toolchain link local obj/build/x86_64-unknown-linux-gnu/stage2 $ rustup default local ``` After setting the local toolchain as default, and adding this in ~/.cargo/config: ``` [target.aarch64-unknown-linux-musl] linker = "aarch64-linux-musl-gcc" ``` ...then the toolchain was able to build a working ripgrep as a test: ``` $ readelf -a target/aarch64-unknown-linux-musl/debug/rg | grep -i interpreter $ readelf -a target/aarch64-unknown-linux-musl/debug/rg | grep NEEDED $ file target/aarch64-unknown-linux-musl/debug/rg target/aarch64-unknown-linux-musl/debug/rg: ELF 64-bit LSB executable, ARM aarch64, version 1 (GNU/Linux), statically linked, BuildID[sha1]=be11036b0988fac5dccc9f6487eb780b05186582, not stripped ```
2017-09-27Update the Cargo submoduleAlex Crichton-0/+0
2017-09-27Update the RLS againNick Cameron-0/+0
2017-09-27Add RLS and Rustfmt to the toolstate mechanismNick Cameron-0/+7
2017-09-27Rename rls component to rls-preview on nightlyNick Cameron-8/+12
2017-09-27Update RLS and RustfmtNick Cameron-0/+0
2017-09-27Auto merge of #44709 - Badel2:inclusive-range-dotdoteq, r=petrochenkovbors-7/+7
Initial support for `..=` syntax #28237 This PR adds `..=` as a synonym for `...` in patterns and expressions. Since `...` in expressions was never stable, we now issue a warning. cc @durka r? @aturon
2017-09-26bump rustfmtBadel2-7/+7
2017-09-25those changes break miri, PR will be issued laterDouglas Campos-1/+1
2017-09-24TODO --> FIXMEP.Y. Laligand-1/+1
2017-09-24Update submodules.P.Y. Laligand-0/+0
2017-09-24Testing on Travis.P.Y. Laligand-0/+0
2017-09-24The Magenta kernel is now called Zircon.P.Y. Laligand-0/+3
2017-09-23add aarch64-unknown-linux-musl targetBen Cressey-0/+1
Signed-off-by: Ben Cressey <bcressey@amazon.com> Signed-off-by: Tom Kirchner <tjk@amazon.com>
2017-09-22Auto merge of #44720 - est31:master, r=alexcrichtonbors-0/+1
Use SHA512 for signatures Fixes #44714 . Untested but I hope it works... r? @alexcrichton
2017-09-21update xsv to headEh2406-1/+1
2017-09-20Use SHA512 for signaturesest31-0/+1
2017-09-19Add clippy to `toolstate.toml`Oliver Schneider-5/+10
2017-09-17Update miri submoduleOliver Schneider-22/+8
2017-09-17Add a file to trivially disable tool building or testingOliver Schneider-0/+24
2017-09-17Get the miri test suite to run inside the rustc dev environmentOliver Schneider-0/+24
2017-09-17Rollup merge of #44630 - RalfJung:compiletest, r=Mark-SimulacrumTim Neumann-3/+1
compiletest: print the correct basename of the src dir See <https://github.com/laumann/compiletest-rs/issues/76>. Fixes #40712
2017-09-17Rollup merge of #44604 - alexcrichton:update-cargo, r=Mark-SimulacrumTim Neumann-0/+0
Update cargo submodule Just a routine update
2017-09-17Rollup merge of #44567 - budziq:stabilize_iterator_for_each, r=alexcrichtonTim Neumann-0/+0
stabilized iterator_for_each (closes #42986) Also updated clippy and rls as these use the iterator_for_each I've made my first PR's today so most likely I've done something wrong. Sorry about that!
2017-09-17Rollup merge of #44533 - nrc:rustfmt-submod, r=alexcrichtonTim Neumann-0/+10
Add Rustfmt r? @alexcrichton
2017-09-16Rollup merge of #44598 - RalfJung:installer, r=alexcrichtonAlex Crichton-0/+0
update rust-installer Fixes <https://github.com/rust-lang/rust/issues/44594> r? @alexcrichton
2017-09-16stabilized iterator_for_each (closes #42986)Michal Budzynski-0/+0
updated clippy and rls as it uses the iterator_for_each
2017-09-16Auto merge of #43017 - durka:stabilize-const-invocation, r=eddybbors-0/+0
Individualize feature gates for const fn invocation This PR changes the meaning of `#![feature(const_fn)]` so it is only required to declare a const fn but not to call one. Based on discussion at #24111. I was hoping we could have an FCP here in order to move that conversation forward. This sets the stage for future stabilization of the constness of several functions in the standard library (listed below), so could someone please tag the lang team for review. - `std::cell` - `Cell::new` - `RefCell::new` - `UnsafeCell::new` - `std::mem` - `size_of` - `align_of` - `std::ptr` - `null` - `null_mut` - `std::sync` - `atomic` - `Atomic{Bool,Ptr,Isize,Usize}::new` - `once` - `Once::new` - primitives - `{integer}::min_value` - `{integer}::max_value` Some other functions are const but they are also unstable or hidden, e.g. `Unique::new` so they don't have to be considered at this time. After this stabilization, the following `*_INIT` constants in the standard library can be deprecated. I wasn't sure whether to include those deprecations in the current PR. - `std::sync` - `atomic` - `ATOMIC_{BOOL,ISIZE,USIZE}_INIT` - `once` - `ONCE_INIT`
2017-09-16bump rlsAlex Burka-0/+0
2017-09-16fix test name being printed twice for ui testsRalf Jung-2/+0
2017-09-16compiletest: print the correct basename of the src dirRalf Jung-1/+1
2017-09-15update rust-installerRalf Jung-0/+0
2017-09-15Update cargo submoduleAlex Crichton-0/+0
Just a routine update
2017-09-14Rollup merge of #44430 - steveklabnik:update-mdbook, r=alexcrichtonCorey Farwell-21/+8
update mdbook This eliminates some warnings r? @alexcrichton
2017-09-13Auto merge of #44420 - alexcrichton:private-cstore, r=michaelwoeristerbors-0/+0
rustc: Make `CrateStore` private to `TyCtxt` This commit makes the `CrateStore` object private to the `ty/context.rs` module and also absent on the `Session` itself. cc #44390 cc #44341 (initial commit pulled and rebased from here)
2017-09-13Build and test RustfmtNick Cameron-0/+1
2017-09-13Add rustfmt as a submoduleNick Cameron-0/+9
2017-09-12rustc: Make `CrateStore` private to `TyCtxt`Alex Crichton-0/+0
This commit removes the `cstore_untracked` method, making the `CrateStore` trait object entirely private to the `ty/context.rs` module.
2017-09-12Disable the new Hasher tests on Emscripten.kennytm-0/+1
2017-09-11update mdbooksteveklabnik-21/+8
2017-09-09rustbuild: Switch back to using hard linksAlex Crichton-0/+0
The `copy` function historically in rustbuild used hard links to speed up the copy operations that it does. This logic was backed out, however, in #39518 due to a bug that only showed up on Windows, described in #39504. The cause described in #39504 happened because Cargo, on a fresh build, would overwrite the previous artifacts with new hard links that Cargo itself manages. This behavior in Cargo was fixed in rust-lang/cargo#4390 where it no longer should overwrite files on fresh builds, opportunistically leaving the filesystem intact and not touching it. Hopefully this can help speed up local builds by doing fewer copies all over the place!
2017-09-06Rollup merge of #44313 - RalfJung:book, r=nikomatsakisMark Simulacrum-9/+0
rustbook: remove dead test functions There is no "test" subcommand added to the `clap::App`, so this is all dead code. Cc @steveklabnik -- your [commit](https://github.com/RalfJung/rust/commit/a076961fd0e3d8a68f8b047460b8f5191d203b08) introducing this stated the intention of having both commands, but it seems nobody has missed the `test` command since February.
2017-09-06Rollup merge of #44218 - SimonSapin:commit-hash, r=alexcrichtonMark Simulacrum-20/+56
Add full git commit hash to release channel manifests The full hash is necessary to build the download URL for "alternate" compiler builds. This is a first step for https://github.com/rust-lang-nursery/rustup.rs/issues/1099.