summary refs log tree commit diff
path: root/src/tools
AgeCommit message (Collapse)AuthorLines
2019-09-03bump clippyPietro Albini-12/+21
2019-09-02Update rust-installer to limit memory useJosh Stone-0/+0
2019-08-27[BETA] Update cargoEric Huss-0/+0
2019-08-11Auto merge of #63472 - Xanewok:update-rls, r=Mark-Simulacrumbors-0/+0
Update RLS This update includes the ability to warn on deprecated config keys. It's important to be able to warn the user whenever they're using an old configuration rather than giving them a cryptic "unknown configuration error" cc https://github.com/rust-lang/rls-vscode/issues/639 Since we removed a config value in the current nightly, it'd be very good if this change can make also make it before cutting the next release.
2019-08-11Rollup merge of #63453 - Mark-Simulacrum:rustdoc-clean-2, r=GuillaumeGomezMark Rousskov-6/+7
rustdoc: general cleanup Almost all commits stand alone; but all commits can be reviewed individually.
2019-08-11Rollup merge of #63346 - RalfJung:zeroed-lint, r=eddybMark Rousskov-8/+8
Lint on some incorrect uses of mem::zeroed / mem::uninitialized Cc https://github.com/rust-lang/rust/issues/62825 and https://internals.rust-lang.org/t/make-mem-uninitialized-and-mem-zeroed-panic-for-some-types-where-0-is-a-niche/10605 This does not yet handle `NonNull`/`NonZero*`, but it is a start. I also improved some doc issues I hit on the way, and added a useful helper to `TyS`. EDIT: I added the relnotes label mostly as a proposal -- I think this is worth mentioning, but leave the decision up to the release team.
2019-08-11Update RLSIgor Matuszewski-0/+0
This update includes the ability to warn on deprecated config keys. It's important to be able to warn the user whenever they're using an old configuration rather than giving them a cryptic "unknown configuration error" cc https://github.com/rust-lang/rls-vscode/issues/639 Since we removed a config value in the current nightly, it'd be very good if this change can make also make it before cutting the next release.
2019-08-11Drop RefCell from IdMap in markdown renderingMark Rousskov-1/+1
2019-08-11Remove fmt::Display impls on Markdown structsMark Rousskov-1/+1
These impls prevent ergonomic use of the config (e.g., forcing us to use RefCell) despite all usecases for these structs only using their Display impls once.
2019-08-11Remove thread-local for playground configMark Rousskov-5/+6
2019-08-11update clippyRalf Jung-8/+8
2019-08-11Auto merge of #63413 - RalfJung:miri, r=oli-obkbors-9/+8
update Miri With https://github.com/rust-lang/rust/pull/63404 landed, we need https://github.com/rust-lang/miri/pull/898 to avoid failures in https://github.com/RalfJung/miri-test-libstd. r? @oli-obk
2019-08-10Update cargoVadim Petrochenkov-0/+0
2019-08-09update MiriRalf Jung-9/+8
2019-08-09Check links on all platforms when running locallyMateusz MikuĊ‚a-10/+10
2019-08-09Rollup merge of #63162 - RalfJung:miri-xargo, r=alexcrichtonMazdak Farrokhzad-8/+9
Miri tests: use xargo to build separate libstd This uses `cargo miri setup` to prepare the libstd that is used for testing Miri, instead of adjusting the entire bootstrap process to make sure the libstd that already gets built is fit for Miri. The issue with our current approach is that with `test-miri = true`, libstd and the test suite get built with `--cfg miri`, which e.g. means hashbrown uses no SIMD, and not all things are tested. Such global side-effects seem like footguns waiting to go off. On the other hand, the new approach means we install xargo as a side-effect of doing `./x.py test src/tools/miri`, which might be surprising, and we also both have to build xargo and another libstd which costs some extra time. Not sure if the tools builders have enough time budget for that. Maybe there is a way to cache xargo? We have to first first land https://github.com/rust-lang/miri/pull/870 in Miri and then update this PR to include that change (also to get CI to test Miri before bors), but I wanted to get the review started here. Cc @oli-obk (for Miri) @alexcrichton (for CI) @Mark-Simulacrum (for bootstrap) Fixes https://github.com/rust-lang/rust/issues/61833, fixes https://github.com/rust-lang/rust/issues/63219
2019-08-08update miriRalf Jung-8/+9
2019-08-08Rollup merge of #63316 - topecongiro:rustfmt-1.4.4, r=Mark-SimulacrumMazdak Farrokhzad-18/+18
Update rustfmt to 1.4.4 The update includes bug fixes.
2019-08-08Auto merge of #63282 - Xanewok:update-rls, r=nikomatsakisbors-0/+0
Update RLS Most importantly this includes: * Collect file -> edition mapping after AST expansion ([#1513](https://github.com/rust-lang/rls/pull/1513)) (enabled by https://github.com/rust-lang/rust/pull/62679) * Fix rustfmt during builds by reading edition from manifest ([#1533](https://github.com/rust-lang/rls/pull/1533)) Which fixes the annoying problem where users couldn't format via RLS while `cargo fmt` worked. The beta cut-off is drawing near and I'd like to make sure this lands before then.
2019-08-07Update cargoEric Huss-0/+0
2019-08-07Auto merge of #60547 - redox-os:redox-unix, r=alexcrichtonbors-0/+1
redox: convert to target_family unix This is the second step to supporting rust-lang/rust#60139. In order to have a smooth transition, there will need to be a change made in liblibc at the same time, switching Redox over to the unix target family. See https://github.com/rust-lang/libc/pull/1332
2019-08-07submodules: Update clippyLzu Tao-13/+9
2019-08-06redox: convert to target_family unixJeremy Soller-0/+1
2019-08-06bump MiriRalf Jung-11/+8
2019-08-06Update rustfmt to 1.4.4topecongiro-18/+18
2019-08-05Update RLSIgor Matuszewski-0/+0
2019-08-03Auto merge of #63235 - Xanewok:update-rls, r=Centrilbors-5/+21
Update Rustfmt and RLS Closes #63195 cc @topecongiro
2019-08-03Auto merge of #63059 - Centril:sound-bind-by-move, r=matthewjasperbors-1/+1
Make `#![feature(bind_by_move_pattern_guards)]` sound without `#[feature(nll)]` Implements https://github.com/rust-lang/rust/issues/15287#issuecomment-507054617 making `#![feature(bind_by_move_pattern_guards)]]` sound without also having `#![feature(nll)]`. The logic here is that if we see a `match` guard, we will refuse to downgrade NLL errors to warnings. This is in preparation for hopefully stabilizing the former feature in https://github.com/rust-lang/rust/pull/63118. As fall out from the implementation we also: Fixes https://github.com/rust-lang/rust/issues/31287 Fixes https://github.com/rust-lang/rust/issues/27282 r? @matthewjasper
2019-08-03cargotest: servo -> caac107ae8145ef2fd20365e2b8fadaf09c2eb3bMazdak Farrokhzad-1/+1
2019-08-03Update Rustfmt and RLSIgor Matuszewski-5/+21
2019-08-03Rollup merge of #63107 - adrian-budau:master, r=alexcrichtonMazdak Farrokhzad-0/+2
Added support for armv7-unknown-linux-gnueabi/musleabi Fixes #63101 Some things that are not done and I hope someone can help me with: * During the ci build of `armv7-unknown-linux-gnueabi` `openssl` must be built (to build cargo) but `openssl` does not yet support this target. This feels slightly like a chicken-and-egg problem, any feedback is welcome. * Should I add any tests for any of these targets?
2019-08-02Added support for armv7-unknown-linux-gnueabi and armv7-unknown-linux-musleabi.Adrian Budau-0/+2
Support for the targets in the compiler and std build in the CI.
2019-08-02Auto merge of #63207 - petrochenkov:outest2, r=Mark-Simulacrumbors-263/+246
Unconfigure compiler unit test files during normal build I haven't touched libstd though, it had a lot of tests and I'm not sure the people maintaining it want this. Closes https://github.com/rust-lang/rust/issues/61097 r? @Mark-Simulacrum
2019-08-02liballoc: Unconfigure tests during normal buildVadim Petrochenkov-26/+10
Remove additional libcore-like restrictions from liballoc, turns out the testing works ok if the tests are a part of liballoc itself.
2019-08-02libsyntax: Unconfigure tests during normal buildVadim Petrochenkov-1/+0
2019-08-02librustdoc: Unconfigure tests during normal buildVadim Petrochenkov-1/+0
2019-08-02librustc_data_structures: Unconfigure tests during normal buildVadim Petrochenkov-1/+0
2019-08-02librustc: Unconfigure tests during normal buildVadim Petrochenkov-1/+0
2019-08-02librustc_incremental: Unconfigure tests during normal buildVadim Petrochenkov-1/+0
2019-08-02libsyntax_pos: Unconfigure tests during normal buildVadim Petrochenkov-1/+0
2019-08-02librustc_target: Unconfigure tests during normal buildVadim Petrochenkov-1/+0
2019-08-02librustc_lexer: Unconfigure tests during normal buildVadim Petrochenkov-1/+0
2019-08-02libpanic_unwind: Unconfigure tests during normal buildVadim Petrochenkov-1/+0
2019-08-02libserialize: Unconfigure tests during normal buildVadim Petrochenkov-1/+0
2019-08-02libterm: Unconfigure tests during normal buildVadim Petrochenkov-1/+0
2019-08-02libtest: Unconfigure tests during normal buildVadim Petrochenkov-1/+0
2019-08-02compiletest: Unconfigure tests during normal buildVadim Petrochenkov-174/+183
2019-08-02tidy: Unconfigure tests during normal buildVadim Petrochenkov-51/+53
2019-08-01Remove spin dependencygnzlbg-1/+0
2019-08-01Update Cargo.lockgnzlbg-0/+4