about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2020-10-13 Give an error when running `x.py test --stage 0 src/test/ui`Joshua Nelson-0/+9
2020-10-13Auto merge of #77762 - pietroalbini:dist-build-manifest, r=Mark-Simulacrumbors-56/+126
Dist build manifest This PR makes two changes that should remove a significant chunk of the time spent in our release process: cloning the `rust-lang/rust` monorepo, all its submodules, and building `bootstrap` to then invoke `build-manifest`: * `build-manifest` doesn't rely on a clone of the monorepo being present anymore. The only remaining bit of information it fetched from it (the Rust version) is instead bundled in the binary. * A new "component" is added, `build-manifest`. That component includes a prebuilt version of the tool, and it's *not* included in the Rustup manifest. This will allow `promote-release` to directly invoke the tool without interacting with our build system. * The Linux x86_64 CI is changed to also build the component mentioned above. It's the only CI builder tasked to do so, and to cleanly support this a new `--include-default-paths` flag was added to `./x.py`. * The `BUILD_MANIFEST_NUM_THREADS` environment variable is added to configure the number of threads at runtime. This PR is best reviewed commit-by-commit. r? `@Mark-Simulacrum`
2020-10-13Clean up rustdoc passesGuillaume Gomez-170/+176
2020-10-13Include aarch64-apple-darwin in the dist manifestsJake Goulding-0/+2
2020-10-13Add check for HTML commentsGuillaume Gomez-6/+46
2020-10-13Coding style fixesnasso-25/+22
2020-10-13Remove unnecessary refsnasso-10/+5
2020-10-13Add a setting to use the system themenasso-36/+232
2020-10-13Auto merge of #77759 - tblah:fix_riscv_qemu, r=pietroalbinibors-3/+3
ci: Fix riscv64gc linux test QEMU fault, plus doc link fix Newer versions of the `qemu` package (used for riscv64gc-unknown-linux-gnu testing) don't work with the version of the RISC-V bootloader we were using. https://github.com/rust-lang/rust/commit/a4a0342cf59a1bff43ed79586065eb97dba0cddb bumps to a revision which should fix the problem. https://github.com/rust-lang/rust/commit/e0b033e965a7d422da70a409a028af7c8b64e709 fixes a documentation failure I encountered while running the tests.
2020-10-13Auto merge of #76196 - r-52:r-coverage-allow-missing-docs, r=jyn514bors-15/+104
rustdoc: skip #[allow(missing docs)] for docs in coverage report During the document coverage reporting with: ```bash rustdoc something.rs -Z unstable-options --show-coverage ``` the coverage report counts code that is marked with `#[allow(missing_docs)]` for the calculation, which outputs lower numbers in the coverage report even though these parts should be ignored for the calculation. Right now I'm not sure how this can be tested (CI)? (I verified it by hand and ran the unit tests) r? `@jyn514` **Reference:** Fixes #76121
2020-10-13Auto merge of #76830 - Artoria2e5:tune, r=nagisabors-2/+39
Pass tune-cpu to LLVM I think this is how it should work... See https://internals.rust-lang.org/t/expose-tune-cpu-from-llvm/13088 for the background. Or the documentation diff.
2020-10-13Auto merge of #77796 - jonas-schievink:switchint-refactor, r=oli-obkbors-1/+0
Refactor how SwitchInt stores jump targets Closes https://github.com/rust-lang/rust/issues/65693
2020-10-12Bless expected errorsEthan Brierley-132/+132
2020-10-12Include `llvm-dis`, `llc` and `opt` in `llvm-tools-preview` componentAaron Hill-0/+3
Fixes #55890 It's useful to have `llc` and `opt` available when debugging an LLVM miscompilation,.
2020-10-12Auto merge of #77847 - Xanewok:update-rls, r=Xanewokbors-0/+0
Update RLS cc #77819 Fixes #77810 r? `@ghost`
2020-10-12Configure jemalloc for cross-compilation to aarch64-apple-darwinJake Goulding-0/+8
2020-10-12Clean up rustdoc HTML tags check passGuillaume Gomez-54/+68
2020-10-13Rollup merge of #77863 - JohnTitor:remove-mark-i-m, r=pietroalbiniYuki Okushi-1/+1
Remove `mark-i-m` from rustc-dev-guide maintainers They aren't a maintainer anymore and it causes failure on our CI now: https://github.com/rust-lang-ci/rust/runs/1243600577
2020-10-13Rollup merge of #77852 - 12101111:fix-bootstrap-doc, r=jonas-schievinkYuki Okushi-3/+3
update url in bootstrap README (gcc-rs -> cc-rs) gcc-rs is renamed to cc-rs 3 years ago.
2020-10-13Rollup merge of #77811 - jyn514:private, r=GuillaumeGomezYuki Okushi-2/+2
rustdoc: Make some functions private that don't need to be public r? @GuillaumeGomez
2020-10-13Rollup merge of #77746 - winnayx:issue-77572-fix, r=jyn514Yuki Okushi-7/+10
Fix `x.py setup` sets `changelog-seen` Fixes #77572 by setting changelog-seen in setup.rs
2020-10-13Rollup merge of #77699 - GuillaumeGomez:word-wrap, r=XAMPPRockyYuki Okushi-7/+3
Add word wrap for short descriptions Fixes #77652 ![Screenshot from 2020-10-08 13-26-18](https://user-images.githubusercontent.com/3050060/95452770-11845280-096a-11eb-80da-723da85261fa.png) cc @WaffleLapkin r? @jyn514
2020-10-13Remove `mark-i-m` from rustc-dev-guide maintainersYuki Okushi-1/+1
2020-10-12Enable building Cargo for aarch64-apple-darwinJake Goulding-7/+2
2020-10-12build-manifest: bundle the rustc version in the binaryPietro Albini-15/+7
2020-10-12build-manifest: use var_os instead of var to check if vars existPietro Albini-3/+3
This will prevent the tool mistakenly ignoring the variables if they happen to contain non-utf8 data.
2020-10-12build-manifest: allow configuring the number of threadsPietro Albini-7/+13
2020-10-12ci: also build the build-manifest component on dist-x86_64-linuxPietro Albini-1/+3
2020-10-12bootstrap: add --include-default-paths to ./x.pyPietro Albini-21/+30
2020-10-12bootstrap: add disabled by default build-manifest dist componentPietro Albini-0/+68
2020-10-12build-manifest: accept the Rust version instead of the monorepo pathPietro Albini-16/+9
This commit changes the way build-manifest is invoked, to let it accept the Rust version directly instead of requiring the path of the Rust monorepo and letting build-manifest figure out the path on its own. This allows to run build-manifest without a clone of the monorepo.
2020-10-12fmtPhilipp Hansch-1/+1
2020-10-12driver.rs: Replace lazy_static with once_cellPhilipp Hansch-9/+7
2020-10-12lintlist.rs: Replace lazy_static with once_cellPhilipp Hansch-6/+8
Follow-up to https://github.com/rust-lang/rust-clippy/pull/6120
2020-10-12build-manifest: stop generating numbered channel names except for stablePietro Albini-4/+5
This fixes numbered channel names being created for the nightly channel, and once the root cause of this rides the trains, for beta.
2020-10-12Add word-wrap rule for short descriptionsGuillaume Gomez-0/+3
2020-10-12update url in bootstrap README12101111-3/+3
2020-10-12Extend test to ensure that items inherit lint level from the parentGuillaume Gomez-0/+2
2020-10-12Improve lint level handlingGuillaume Gomez-2/+4
2020-10-12Apply same treatment to MISSING_DOC_CODE_EXAMPLESGuillaume Gomez-6/+34
2020-10-12Inherit lint level from parentsGuillaume Gomez-25/+27
2020-10-12rustdoc: skip allow missing doc in cover. reportRoman-2/+57
During the document coverage reporting with ```bash rustdoc something.rs -Z unstable-options --show-coverage ``` the coverage report also includes parts of the code that are marked with `#[allow(missing_docs)]`, which outputs lower numbers in the coverage report even though these parts should be ignored for the calculation. Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2020-10-12Update RLSIgor Matuszewski-0/+0
2020-10-12Auto merge of #75914 - arlosi:aarch64-ci, r=pietroalbinibors-2/+21
Promote aarch64-pc-windows-msvc to Tier 2 Development Platform Adds a GitHub Actions CI build for `aarch64-pc-windows-msvc` via cross-compilation on an x86_64 host. This promotes `aarch64-pc-windows-msvc` from a Tier 2 Compilation Target (std) to a Tier 2 Development Platform (std+rustc+cargo+tools). Fixes #72881 r? `@pietroalbini`
2020-10-12Add test for compiler reexports removalGuillaume Gomez-0/+7
2020-10-12Filter out imports added by the compilerGuillaume Gomez-2/+9
2020-10-12Auto merge of #77837 - Aaron1011:bump-miri-backtrace, r=RalfJungbors-16/+8
Bump miri Fixes https://github.com/rust-lang/rust/issues/77791 r? `@RalfJung`
2020-10-12Auto merge of #75956 - jonas-schievink:lto-opt-sz, r=tmiaskobors-0/+14
Fix -Clinker-plugin-lto with opt-levels s and z Pass s and z as `-plugin-opt=O2` to the linker. This is what `-Os` and `-Oz` correspond to, apparently. Fixes https://github.com/rust-lang/rust/issues/75940
2020-10-12Auto merge of #77790 - jyn514:undivided, r=ollie27bors-29/+32
Show summary lines on cross-crate re-exports See my write-up in https://github.com/rust-lang/rust/issues/77783#issuecomment-706551743 for what's going on here. Fixes https://github.com/rust-lang/rust/issues/77783 r? `@ollie27`
2020-10-11Remove unnecessary `RefCell` for doc_stringsJoshua Nelson-4/+4
This was there for `Divider` and is no longer necessary.