summary refs log tree commit diff
path: root/src/tools
AgeCommit message (Collapse)AuthorLines
2018-08-09Add some missing winapi featuresOliver Schneider-0/+3
2018-08-09Update the clippy submoduleOliver Schneider-7/+5
2018-08-07Update RLS, Rustfmt, ClippyNick Cameron-27/+95
Includes backporting the rustc workspace hack
2018-07-29Update miri submoduleOliver Schneider-0/+6
2018-07-29Sanity-check all constantsOliver Schneider-20/+0
2018-07-29Update RLS and rustfmt.kennytm-5/+19
2018-07-29Exempt cloudabi from license check.kennytm-0/+1
2018-07-28Update the Cargo submodule and rustfixAlex Crichton-3/+8
Should hopefully bring in a few more `cargo fix`-related fixes.
2018-07-28Rollup merge of #52763 - petrhosek:fuchsia-triple, r=alexcrichtonkennytm-2/+2
Omit the vendor component in Fuchsia triple Previously, using unknown as the vendor value would lead to the same result, but with the multiarch runtimes support in Clang, the target is now used to locate the runtime libraries and so the format is important. The denormalized format with omitted vendor component is the format we use with Clang and should be using for Rust as well.
2018-07-27Auto merge of #52336 - ishitatsuyuki:dyn-rollup, r=Mark-Simulacrumbors-29/+29
Rollup of bare_trait_objects PRs All deny attributes were moved into bootstrap so they can be disabled with a line of config. Warnings for external tools are allowed and it's up to the tool's maintainer to keep it warnings free. r? @Mark-Simulacrum cc @ljedrz @kennytm
2018-07-26Omit the vendor component in Fuchsia triplePetr Hosek-2/+2
Previously, using unknown as the vendor value would lead to the same result, but with the multiarch runtimes support in Clang, the target is now used to locate the runtime libraries and so the format is important. The denormalized format with omitted vendor component is the format we use with Clang and should be using for Rust as well.
2018-07-26compiletest: Add support for ignoring certain tests under `--compare-mode=...`Felix S. Klock II-2/+7
2018-07-25Add missing dynTatsuyuki Ishi-4/+4
2018-07-25Add missing dynTatsuyuki Ishi-25/+25
2018-07-24Auto merge of #52181 - QuietMisdreavus:panicked-tester, r=GuillaumeGomezbors-5/+7
rustdoc: set panic output before starting compiler thread pool When the compiler was updated to run on a thread pool, rustdoc's processing of compiler/doctest stderr/stdout was moved into each compiler thread. However, this caused output of the test to be lost if the test failed at *runtime* instead of compile time. This change sets up the `set_panic` call and output bomb before starting the compiler thread pool, so that the `Drop` call that writes back to the test's stdout happens after the test runs, not just after it compiles. Fixes https://github.com/rust-lang/rust/issues/51162
2018-07-24Auto merge of #52646 - ljedrz:single_char_pattern, r=michaelwoeristerbors-3/+3
Change single char str patterns to chars A `char` is faster.
2018-07-23Auto merge of #52175 - fpoli:testsuite-callsite-span, r=petrochenkovbors-6/+32
Match errors using the callsite of macro expansions Fix for issue #51848
2018-07-23Change single char str patterns to charsljedrz-3/+3
2018-07-23Match errors using the callsite of macro expansionsFederico Poli-6/+32
2018-07-23Update the clippy submoduleOliver Schneider-5/+5
2018-07-21Don't invent new magic keywordsOliver Schneider-5/+5
2018-07-20Clippy opts out of in_external_macroOliver Schneider-6/+5
2018-07-20Update clippyManish Goregaokar-5/+6
2018-07-20compiletest: don't overwrite failure-status if it was previously setQuietMisdreavus-5/+7
2018-07-19Auto merge of #52197 - euclio:exit-code, r=oli-obkbors-9/+11
overhaul exit codes for rustc and rustdoc This commit changes the exit status of rustc to 1 in the presence of compilation errors. In the event of an unexpected panic (ICE) the standard panic error exit status of 101 remains. A run-make test is added to ensure that the exit code does not regress, and compiletest is updated to check for an exit status of 1 or 101, depending on the mode and suite. This is a breaking change for custom drivers. Note that while changes were made to the rustdoc binary, there is no intended behavior change. rustdoc errors (i.e., failed lints) will still report 101. While this could *also* hide potential ICEs, I will leave that work to a future PR. Fixes #51971.
2018-07-19Auto merge of #52515 - Manishearth:clippyup, r=kennytmbors-8/+5
Update clippy Silences the warnings for now, will fix those over time.
2018-07-18Update clippyManish Goregaokar-8/+5
2018-07-18Update Cargo submoduleAlex Crichton-0/+0
2018-07-18rustc: distinguish compilation failure from ICEAndy Russell-9/+11
This commit changes the exit status of rustc to 1 in the presence of compilation errors. In the event of an unexpected panic (ICE) the standard panic error exit status of 101 remains. A run-make test is added to ensure that the exit code does not regress, and compiletest is updated to check for an exit status of 1 or 101, depending on the mode and suite. This is a breaking change for custom drivers. Fixes #51971.
2018-07-17update miriRalf Jung-14/+14
2018-07-17update miri (Windows tests fixed)Ralf Jung-14/+14
2018-07-17update miriRalf Jung-5/+19
2018-07-16Update clippyManish Goregaokar-5/+8
Fixes test failures caused by https://github.com/rust-lang/rust/pull/52081
2018-07-16Update the clippy submoduleOliver Schneider-5/+5
2018-07-16Revert "Adapt codegen-unit tests to new CGU naming scheme."Michael Woerister-28/+5
This reverts commit 94b32adb71a75a3f5b53a39c52c62c2ce1a7cc56.
2018-07-15tidy: add a new test for external dependenciesSébastien Marie-0/+52
ensure all packages in Cargo.lock will be vendored, and fail if the source packages isn't whitelisted.
2018-07-15Update clippy and rlsOliver Schneider-19/+5
2018-07-13Auto merge of #52266 - michaelwoerister:incr-thinlto-preliminaries, ↵bors-5/+28
r=alexcrichton Preliminary work for incremental ThinLTO. Since implementing incremental ThinLTO is a bit more involved than I initially thought, I'm splitting out some of the things that already work. This PR (1) adds a way accessing some ThinLTO information in `rustc` and (2) does some cleanup around CGU/object file naming (which makes things quite a bit nicer). This is probably best reviewed one commit at a time.
2018-07-14Rollup merge of #52280 - japaric:llvm-tools-preview, r=kennytmkennytm-1/+1
llvm-tools-preview: fix build-manifest r? @alexcrichton
2018-07-12Auto merge of #52256 - tinco:issue_52255, r=sanxiynbors-4/+3
make pretty source comparison check be fatal (fixes #52255) This is not ready for merging because it reveals (at least) two regressions in the pretty suite. Should I attempt to fix those in this PR also?
2018-07-12Adapt codegen-unit tests to new CGU naming scheme.Michael Woerister-5/+28
2018-07-11llvm-tools-preview: fix build-manifestJorge Aparicio-1/+1
2018-07-11make pretty source comparison check be fatal (fixes #52255)Tinco Andringa-4/+3
2018-07-10Upgrade to LLVM's master branch (LLVM 7)Alex Crichton-0/+0
This commit upgrades the main LLVM submodule to LLVM's current master branch. The LLD submodule is updated in tandem as well as compiler-builtins. Along the way support was also added for LLVM 7's new features. This primarily includes the support for custom section concatenation natively in LLD so we now add wasm custom sections in LLVM IR rather than having custom support in rustc itself for doing so. Some other miscellaneous changes are: * We now pass `--gc-sections` to `wasm-ld` * The optimization level is now passed to `wasm-ld` * A `--stack-first` option is passed to LLD to have stack overflow always cause a trap instead of corrupting static data * The wasm target for LLVM switched to `wasm32-unknown-unknown`. * The syntax for aligned pointers has changed in LLVM IR and tests are updated to reflect this. * The `thumbv6m-none-eabi` target is disabled due to an [LLVM bug][llbug] Nowadays we've been mostly only upgrading whenever there's a major release of LLVM but enough changes have been happening on the wasm target that there's been growing motivation for quite some time now to upgrade out version of LLD. To upgrade LLD, however, we need to upgrade LLVM to avoid needing to build yet another version of LLVM on the builders. The revision of LLVM in use here is arbitrarily chosen. We will likely need to continue to update it over time if and when we discover bugs. Once LLVM 7 is fully released we can switch to that channel as well. [llbug]: https://bugs.llvm.org/show_bug.cgi?id=37382
2018-07-08Auto merge of #51590 - bjorn3:codegen_llvm_extract, r=alexcrichtonbors-1/+0
Mostly fix metadata_only backend and extract some code out of rustc_codegen_llvm Removes dependency on the `ar` crate and removes the `llvm.enabled` config option in favour of setting `rust.codegen-backends` to `[]`.
2018-07-07Ship clippy in manifestsMark Rousskov-0/+1
2018-07-07Mostly fix compiling without LLVM (with metadata_only backend)bjorn3-1/+0
2018-07-06Dedupe filetimeBastien Orivel-1/+1
2018-07-06Auto merge of #51677 - nrc:update, r=kennytmbors-14/+25
Update RLS and Rustfmt r? @Mark-Simulacrum
2018-07-06Update RLS, Rustfmt, Cargo, and ClippyNick Cameron-14/+25