about summary refs log tree commit diff
path: root/src/bootstrap
AgeCommit message (Collapse)AuthorLines
2019-03-20Auto merge of #58897 - Mark-Simulacrum:tool-rework, r=alexcrichtonbors-62/+99
Rework how bootstrap tools are built This makes bootstrap tools buildable and testable in stage 0 with the downloaded bootstrap compiler, futhermore, it makes it such that they cannot be built in any other stage. Notably, this will also mean that compiletest may need to wait a cycle before it can use changes to `libtest`, as it no longer depends on the in-tree libtest.
2019-03-20Auto merge of #58791 - denzp:asm-compile-tests, r=alexcrichtonbors-0/+7
Introduce assembly tests suite The change introduces a new test suite - **Assembly** tests. The motivation behind this is an ability to perform end-to-end codegen testing with LLVM backend. Turned out, NVPTX backend sometimes missing common Rust features (`i128` and libcalls in the past, and still full atomics support) due to different reasons. Prior to this change, basic NVPTX assembly tests were implemented within `run-make` suite. Now, it's easier to write additional and maintain existing tests for the target. cc @gnzlbg @peterhj cc @eddyb I adjusted mangling scheme expectation, so there is no need to change the tests for #57967
2019-03-20Add messages for different verbosity levels.O01eg-0/+12
Output copy actions
2019-03-19Remove libterm from bootstrapgnzlbg-1/+0
2019-03-18Auto merge of #58847 - bjorn3:remove_metadata_only_cg, r=alexcrichtonbors-16/+8
Remove metadata only codegen backend It is unused and probably broken at the moment.
2019-03-16Merge remote-tracking branch 'upstream/master' into asm-compile-testsDenys Zariaiev-15/+40
2019-03-16Rollup merge of #59204 - o01eg:diag-rustdoc, r=alexcrichtonkennytm-2/+8
Output diagnostic information for rustdoc Use the information same as rustc.
2019-03-16Rollup merge of #59175 - Zoxc:fix-process-test, r=alexcrichtonkennytm-1/+1
Don't run test launching `echo` since that doesn't exist on Windows
2019-03-16Rollup merge of #59173 - emilio:llvm-suffix, r=Mark-Simulacrumkennytm-1/+27
bootstrap: Default to a sensible llvm-suffix. I used version-channel-sha, hopefully that should work. I checked that bootstrap builds, but I cannot check anything else since the llvm build process is started from cargo, and thus calls clang, and thus I hit the same bug I hope to fix with this change. Hopefully fixes #59034.
2019-03-16Fix formattingbjorn3-1/+1
2019-03-16[bootstrap] Remove llvm.enabled configbjorn3-17/+9
2019-03-15rustbuild: remove obsolete fulldeps behavior from src/test/pretty tests, and ↵Eduard-Mihai Burtescu-10/+3
enable them by default.
2019-03-15Output diagnostic information for rustdoc.O01eg-2/+8
Use the information same as rustc.
2019-03-14Exclude old book redirect stubs from search enginesKornel-2/+2
2019-03-14Run RustdocUi earlierJohn Kåre Alsaker-1/+1
2019-03-14bootstrap: Default to a sensible llvm-suffix.Emilio Cobos Álvarez-1/+27
I used version-channel-sha, hopefully that should work. I checked that bootstrap builds, but I cannot check anything else since the llvm build process is started from cargo, and thus calls clang, and thus I hit the same bug I hope to fix with this change. Hopefully fixes #59034.
2019-03-13Merge remote-tracking branch 'upstream/master' into asm-compile-testsDenys Zariaiev-55/+177
2019-03-12Auto merge of #58330 - GuillaumeGomez:rustdoc-js-non-std, ↵bors-10/+55
r=QuietMisdreavus,Mark-Simulacrum Add rustdoc JS non-std tests @QuietMisdreavus: You asked it, here it is! r? @QuietMisdreavus
2019-03-09Rollup merge of #58676 - euclio:bootstrap-python, r=alexcrichtonMazdak Farrokhzad-8/+10
look for python2 symlinks before bootstrap python Before this commit, if you're running x.py directly on a system where `python` is symlinked to Python 3, then the `python` config option will default to a Python 3 interpreter. This causes debuginfo tests to fail with an opaque error message, since they have a hard requirement on Python 2. This commit modifies the Python probe behavior to look for python2.7 and python2 *before* using the interpreter used to execute `x.py`.
2019-03-08Rollup merge of #58269 - taeguk:add-some-sources-to-rust-src-distribution, ↵Pietro Albini-0/+2
r=Mark-Simulacrum Add librustc and libsyntax to rust-src distribution. Fixes #58268.
2019-03-08Rollup merge of #58080 - MikaelUrankar:freebsd_arm, r=sanxiynPietro Albini-0/+4
Add FreeBSD armv6 and armv7 targets
2019-03-06Make Cargo a rustc tool againJohn Kåre Alsaker-2/+2
2019-03-05Add librustc, libsyntax to rust-src distribution.Taeguk Kwon-0/+2
2019-03-05Bootstrap changesJohn Kåre Alsaker-36/+96
2019-03-03Permit getting stage 0 rustdocMark Rousskov-20/+21
This allows us to e.g. test compiletest, including doctests, in stage 0 without building a fresh compiler and rustdoc.
2019-03-03Tools built by the bootstrap compiler must be built by itMark Rousskov-42/+78
This avoids building compilers that we don't need -- most tools will work just fine with the downloaded compiler.
2019-03-02Bootstrap compiler update for 1.35 releaseMark Rousskov-1/+1
2019-03-01look for python2 symlinks before bootstrap pythonAndy Russell-1/+1
Before this commit, if you're running x.py directly on a system where `python` is symlinked to Python 3, then the `python` config option will default to a Python 3 interpreter. This causes debuginfo tests to fail with an opaque error message, since they have a hard requirement on Python 2. This commit modifies the Python probe behavior to look for python2.7 and python2 *before* using the interpreter used to execute `x.py`.
2019-03-01fix an issue with path probing on WindowsAndy Russell-7/+9
The old logic would incorrectly look for "python2.exe" when searching for "python2.7.exe".
2019-03-01Auto merge of #58800 - ehuss:update-books, r=Centrilbors-1/+1
Update edition-guide 15 commits in 419edb885ec1a98c0747b3907003d79e3e6b93a9..5f3cc2a5618700efcde3bc00799744f21fa9ad2e 2018-12-04 16:43:38 -0500 to 2019-02-27 20:11:50 -0800 - Migrate to mdbook 0.2. (rust-lang-nursery/edition-guide#152) - Remove automatic deployment. (rust-lang-nursery/edition-guide#151) - Fix issue with rust's linkchecker and mdbook. (rust-lang-nursery/edition-guide#147) - Fix test now that overflowing_literals is rejected in all editions. (rust-lang-nursery/edition-guide#148) - overflowing_literals is deny on all editions (rust-lang-nursery/edition-guide#146) - Update for uniform_path stabilization. (rust-lang-nursery/edition-guide#141) - Add example to rustup to show overriding to specific version (rust-lang-nursery/edition-guide#144) - Update for anonymous-lifetime stabilization. (rust-lang-nursery/edition-guide#142) - Add minimum Rust version for Kleene operator (rust-lang-nursery/edition-guide#137) - Add 2018-specific changes. (rust-lang-nursery/edition-guide#130) - aborting-on-panic.md: Typo in example config (rust-lang-nursery/edition-guide#125) - Clarify uniform paths are not yet in Rust 2018 (rust-lang-nursery/edition-guide#124) - update several version numbers - Fixes outdated link (rust-lang-nursery/edition-guide#131) - Fixed typo in transitioning page. (rust-lang-nursery/edition-guide#127)
2019-03-01Auto merge of #58408 - alexcrichton:update-llvm, r=michaelwoeristerbors-0/+7
rustc: Update LLVM, remove dead wasm code This commit updates the LLVM branch to the rebased version of the upstream release/8.x branch. This includes a wasm patch which means that the `rewrite_imports` pass in rustc is no longer needed (yay!) and we can instead rely on `wasm-import-module`, an attribute we're already emitting, to take care of all the work.
2019-02-28Introduce rustc_interface and move some methods thereJohn Kåre Alsaker-0/+2
2019-02-28Move rustdoc-js testing into compiletestGuillaume Gomez-49/+13
2019-02-27Update edition-guideEric Huss-1/+1
2019-02-27Introduce assembly testsDenys Zariaiev-1/+8
2019-02-27Whitelist containers that allow older toolchainsAlex Crichton-0/+7
We'll use this as a temporary measure to get an LLVM update landed, but we'll have to go through and update images later to make sure they've got the right toolchains.
2019-02-27Rollup merge of #58680 - varkor:xpy-help-index-error, r=alexcrichtonMazdak Farrokhzad-1/+1
Fix an indexing error when using `x.py help` Fixes https://github.com/rust-lang/rust/issues/58640.
2019-02-25Update to last updatesGuillaume Gomez-3/+3
2019-02-25Move documentation build into bootstrapGuillaume Gomez-5/+41
2019-02-25Rename rustdoc js test suitesGuillaume Gomez-10/+10
2019-02-25Add rustdoc JS non-std testsGuillaume Gomez-0/+45
2019-02-25bootstrap: deny(rust_2018_idioms)Taiki Endo-315/+352
2019-02-25Rollup merge of #58704 - taiki-e:extern-crate, r=CentrilMazdak Farrokhzad-20/+0
Remove some unnecessary 'extern crate' cc #58099 r? @Centril
2019-02-25Remove some unnecessary 'extern crate'Taiki Endo-20/+0
2019-02-24Use ? in some macrosTaiki Endo-1/+1
2019-02-23Fix an indexing error when using `x.py help`varkor-1/+1
2019-02-17Rollup merge of #57929 - GuillaumeGomez:rustodc-remove-old-style-files, ↵kennytm-6/+23
r=ollie27 Rustdoc remove old style files Reopening of #56577 (which I can't seem to reopen...). I made the flag unstable so with this change, what was blocking the PR is now gone I assume.
2019-02-13Add FreeBSD armv6 and armv7 targetsMikaelUrankar-0/+4
2019-02-13Auto merge of #58238 - Mark-Simulacrum:doctest-fix, r=alexcrichtonbors-24/+23
Fixes rustdoc in stage 0, stage 1 When a request for rustdoc is passed for stage 0, x.py build --stage 0 src/tools/rustdoc or ensure(tool::Rustdoc { .. }) with top_stage = 0, we return the rustdoc for that compiler (i.e., the beta rustdoc). This fixes stage 0 of https://github.com/rust-lang/rust/issues/52186 as well as being part of general workflow improvements (making stage 0 testing for std work) for rustbuild. The stage 1 fix (second commit) completely resolves the problem, so this fixes https://github.com/rust-lang/rust/issues/52186.
2019-02-11This fixes doctests in stage 1Mark Rousskov-24/+17
The RUSTDOC_LIBDIR should be rustc_libdir, not sysroot_libdir; rustdoc is like the compiler and should link against rustc's libdir. Some people currently (i.e., in general, may not be on master) have doc tests working, but no attempt to determine why has been attempted.