summary refs log tree commit diff
path: root/src/tools
AgeCommit message (Collapse)AuthorLines
2018-05-24Update RLS and RustfmtNick Cameron-0/+6
2018-05-24Filter out missing components from manifestsAlex Crichton-0/+22
This commit updates our manifest generation for rustup to filter out any components/extensions which are actually missing. This is intended to help mitigate #49462 by making the manifests reflect reality, that many targets now are missing a `rust-docs` component rather than requiring it exists.
2018-04-20Update rustfmt to fix compileAlex Crichton-20/+0
2018-04-06[beta] Update CargoAlex Crichton-0/+0
This is a backport of rust-lang/cargo#5307
2018-04-04[beta] Update cargoAleksey Kladov-0/+0
https://github.com/rust-lang/cargo/pull/5288 fixes a regression where cargo would update registry on every operation.
2018-03-30Update clippyManish Goregaokar-5/+19
2018-03-30Rollup merge of #49445 - GuillaumeGomez:light-theme, r=QuietMisdreavuskennytm-3/+3
Rename main theme into light theme r? @QuietMisdreavus
2018-03-29Rename main theme into light themeGuillaume Gomez-3/+3
2018-03-29Update clippyManish Goregaokar-19/+5
2018-03-29Update CargoAleksey Kladov-0/+0
This includes rust-lang/cargo#5255 which fixed regression in `cargo rustdoc` command.
2018-03-28Stabilize match_default_bindingsTaylor Cramer-14/+14
This includes a submodule update to rustfmt in order to allow a stable feature declaration.
2018-03-26rustbuild: Fail the build if we build Cargo twiceAlex Crichton-0/+4
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-03-26Stabilize conservative_impl_traitTaylor Cramer-19/+16
2018-03-23Test fixesAlex Crichton-1/+1
2018-03-23Rollup merge of #48883 - alexcrichton:wasm-custom-sections, r=nikomatsakisAlex Crichton-7/+8
rustc: Add a `#[wasm_custom_section]` attribute This commit is an implementation of adding custom sections to wasm artifacts in rustc. The intention here is to expose the ability of the wasm binary format to contain custom sections with arbitrary user-defined data. Currently neither our version of LLVM nor LLD supports this so the implementation is currently custom to rustc itself. The implementation here is to attach a `#[wasm_custom_section = "foo"]` attribute to any `const` which has a type like `[u8; N]`. Other types of constants aren't supported yet but may be added one day! This should hopefully be enough to get off the ground with *some* custom section support. The current semantics are that any constant tagged with `#[wasm_custom_section]` section will be *appended* to the corresponding section in the final output wasm artifact (and this affects dependencies linked in as well, not just the final crate). This means that whatever is interpreting the contents must be able to interpret binary-concatenated sections (or each constant needs to be in its own custom section). To test this change the existing `run-make` test suite was moved to a `run-make-fulldeps` folder and a new `run-make` test suite was added which applies to all targets by default. This test suite currently only has one test which only runs for the wasm target (using a node.js script to use `WebAssembly` in JS to parse the wasm output).
2018-03-23Update RLS and RustfmtNick Cameron-5/+19
Fixes broken RLS tests/build
2018-03-22rustc: Add a `#[wasm_custom_section]` attributeAlex Crichton-7/+8
This commit is an implementation of adding custom sections to wasm artifacts in rustc. The intention here is to expose the ability of the wasm binary format to contain custom sections with arbitrary user-defined data. Currently neither our version of LLVM nor LLD supports this so the implementation is currently custom to rustc itself. The implementation here is to attach a `#[wasm_custom_section = "foo"]` attribute to any `const` which has a type like `[u8; N]`. Other types of constants aren't supported yet but may be added one day! This should hopefully be enough to get off the ground with *some* custom section support. The current semantics are that any constant tagged with `#[wasm_custom_section]` section will be *appended* to the corresponding section in the final output wasm artifact (and this affects dependencies linked in as well, not just the final crate). This means that whatever is interpreting the contents must be able to interpret binary-concatenated sections (or each constant needs to be in its own custom section). To test this change the existing `run-make` test suite was moved to a `run-make-fulldeps` folder and a new `run-make` test suite was added which applies to all targets by default. This test suite currently only has one test which only runs for the wasm target (using a node.js script to use `WebAssembly` in JS to parse the wasm output).
2018-03-22Rollup merge of #49158 - varkor:compiletest-triples, r=rkruppekennytm-7/+26
Make compiletest do exact matching on triples This avoids the issues of the previous substring matching, ensuring `ARCH_TABLE` and `OS_TABLE` will no longer contain redundant entries. Fixes #48893. r? @rkruppe
2018-03-22Rollup merge of #49140 - semarie:rustdoc-test-path, r=alexcrichtonkennytm-0/+2
Allow test target to pass without installing explicitly pass -L target-lib to rustdoc on OpenBSD, without it, it fails on several tests with: ``` error[E0463]: can't find crate for `std` ```
2018-03-22Rollup merge of #49117 - nivkner:fixme_fixup3, r=estebankkennytm-5/+0
address some FIXME whose associated issues were marked as closed part of #44366
2018-03-21Revert "remove FIXME(#33435) and remove the spurious failures counter measure"Niv Kaminer-0/+5
This reverts commit be73a1f963e7830de2dbfbea6b362673ab7e6ded.
2018-03-20Update Cargo to fix regressionAleksey Kladov-0/+0
This should fix regressions in Cargo after swithing to clap: * If an external subcommand name was close to built-in one, clap errored (fixed by updating clap version) * External subcomands didn't received their name as a first arg
2018-03-20Make compiletest do exact matching on triplesvarkor-2/+4
This avoids the issues of the previous substring matching, ensuring `ARCH_TABLE` and `OS_TABLE` will no longer contain redundant entries.
2018-03-20Add more canonicalisations for OS_TABLE and ARCH_TABLEvarkor-5/+21
2018-03-19Update rustfmt to 0.4.1Alan Du-19/+5
2018-03-19Revert "Remove useless powerpc64 entry from ARCH_TABLE, closes #47737"varkor-0/+1
This reverts commit 16ac85ce4dce1e185f2e6ce27df3833e07a9e502.
2018-03-18Auto merge of #49134 - oli-obk:clippy, r=kennytmbors-16/+19
Update clippy and RLS r? @Manishearth
2018-03-18Allow test target to pass without installingSébastien Marie-0/+2
explicitly pass -L target-lib to rustdoc
2018-03-18Update RLS.kennytm-0/+0
2018-03-18Update clippyOliver Schneider-16/+19
2018-03-17remove FIXME(#33435) and remove the spurious failures counter measureNiv Kaminer-5/+0
2018-03-17remove FIXME(#11094) and allow make tests to run on targets besides hostNiv Kaminer-5/+0
2018-03-17Update CargoAleksey Kladov-0/+0
This notably includes * https://github.com/rust-lang/cargo/pull/5152 * https://github.com/rust-lang/cargo/pull/5188 The first one switches cargo from docopt to clap ( we also update to the latest calp in this repository), the second one should help us to unify feature flags for Cargo itself and RLS, and build Cargo libray only once.
2018-03-16Automatically enable the `clippy` feature of `rls` if clippy buildsOliver Schneider-24/+37
2018-03-16Rollup merge of #48875 - jcowgill:mips-test-fixes, r=sanxiynkennytm-0/+1
MIPS testsuite fixes This PR adjusts various bits in the testsuite so that more stuff passes on mips*.
2018-03-14Update RLSBoris-Chengbiao Zhou-0/+0
2018-03-14Remove syntax and syntax_pos thread localsJohn Kåre Alsaker-1/+5
2018-03-14test for putting back check on jsonGuillaume Gomez-20/+43
2018-03-13Rollup merge of #48880 - petrochenkov:badstderr, r=kennytmkennytm-0/+28
tidy: Add a check for stray `.stderr` and `.stdout` files in UI test directories
2018-03-12Auto merge of #48938 - alexcrichton:no-leak-makeflags, r=kennytmbors-1/+8
test: Forcibly remove MAKEFLAGS in compiletest When executing run-make tests we run a risk of leaking the `MAKEFLAGS` environment variable if `./x.py` itself was called from `make` (aka `make check -j3` as the OSX bots do). We may then leak accidentally fds into the child process and trick it into thinking it's got a jobserver! Hopefully addresses [this] spurious failure [this]: https://github.com/rust-lang/rust/pull/48295#issuecomment-372134717
2018-03-11test: Forcibly remove MAKEFLAGS in compiletestAlex Crichton-1/+8
When executing run-make tests we run a risk of leaking the `MAKEFLAGS` environment variable if `./x.py` itself was called from `make` (aka `make check -j3` as the OSX bots do). We may then leak accidentally fds into the child process and trick it into thinking it's got a jobserver! Hopefully addresses [this] spurious failure [this]: https://github.com/rust-lang/rust/pull/48295#issuecomment-372134717
2018-03-11Update Cargo submoduleAlex Crichton-0/+2
Required moving all fulldeps tests depending on `rand` to different locations as now there's multiple `rand` crates that can't be implicitly linked against.
2018-03-09tidy: Add a check for stray `.stderr` and `.stdout` files in UI test directoriesVadim Petrochenkov-0/+28
2018-03-08tools/compiletest: add mips64 to ARCH_LISTJames Cowgill-0/+1
Don't bother distinguishing between big end little endian targets. There are currently no tests which need this.
2018-03-07Merge branch 'compiletest-update' of https://github.com/alexcrichton/rust ↵Alex Crichton-12/+15
into update-cargo
2018-03-07Merge branch 'bump_installer' of https://github.com/Eijebong/rust into ↵Alex Crichton-0/+0
update-cargo
2018-03-06Update compiletest's dependenciesAlex Crichton-12/+15
Drop rustc-serialize, add winapi 0.3 and Serde!
2018-03-06Auto merge of #48642 - alexcrichton:compile-cargo-once, r=michaelwoeristerbors-2/+21
Update env_logger to 0.5.4 It looks like this cuts down on the number of dependencies in env_logger and notably cuts out a difference between a shared dependency of rls/cargo. My goal here is to ensure that when we compile the RLS/Cargo on CI we only compile Cargo once, and this is one step towards that!
2018-03-06Update env_logger to 0.5.4Alex Crichton-2/+21
It looks like this cuts down on the number of dependencies in env_logger and notably cuts out a difference between a shared dependency of rls/cargo. My goal here is to ensure that when we compile the RLS/Cargo on CI we only compile Cargo once, and this is one step towards that!
2018-03-06Rollup merge of #48732 - debris:remove_powerpc64, r=alexcrichtonkennytm-1/+0
Remove useless powerpc64 entry from ARCH_TABLE Hope, I understood the scope of the fix correctly. closes #47737