about summary refs log tree commit diff
path: root/src/bootstrap
AgeCommit message (Collapse)AuthorLines
2024-09-30Auto merge of #131063 - matthiaskrgr:rollup-hfs3fo1, r=matthiaskrgrbors-16/+9
Rollup of 4 pull requests Successful merges: - #130895 (make type-check-4 asm tests about non-const expressions) - #131057 (Reject leading unsafe in `cfg!(...)` and `--check-cfg`) - #131060 (Drop conditionally applied cargo `-Zon-broken-pipe=kill` flags to fix stage 1 cargo rebuilds) - #131061 (replace manual verbose checks with `Config::is_verbose`) r? `@ghost` `@rustbot` modify labels: rollup
2024-09-30Rollup merge of #131061 - onur-ozkan:verbose-checks, r=KobzolMatthias Krüger-5/+5
replace manual verbose checks with `Config::is_verbose` self-explanatory
2024-09-30replace manual verbose checks with `Config::is_verbose`onur-ozkan-5/+5
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-09-30Drop conditionally applied cargo `-Zon-broken-pipe=kill` flags许杰友 Jieyou Xu (Joe)-11/+4
These conditionally applied flags trigger rebuilds because they can invalidate previous cargo build cache.
2024-09-30enable compiler fingerprint logs in verbose modeonur-ozkan-0/+5
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-09-29add has_enzyme/needs-enzyme to the test infraManuel Drehwald-0/+4
2024-09-29Rollup merge of #130383 - onur-ozkan:ignore-llvm-changes-on-ci-llvm-true, ↵Guillaume Gomez-13/+32
r=Mark-Simulacrum check if it's rust-lang/rust CI job in `llvm::is_ci_llvm_modified` Changes `llvm::is_ci_llvm_modified` to only work on rust-lang/rust managed CI.
2024-09-29in `llvm::is_ci_llvm_modified`, check if it's rust-lang/rust CI jobonur-ozkan-11/+1
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-09-29make `Step` doc-comments more clearonur-ozkan-18/+22
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-09-29Hook up std::net to wasi-libc on wasm32-wasip2 targetNicola Krumschmidt-2/+7
2024-09-28Rollup merge of #130918 - onur-ozkan:better-llvm-submodule-handling, r=KobzolMatthias Krüger-11/+19
simplify LLVM submodule handling Fixes #130906.
2024-09-27Bump `cc` and run `cargo update` for bootstrapTrevor Gross-51/+51
Bump `cc` to 1.1.22, which includes a caching fix. Also run `cargo update` which does a minor increment on a few dependencies.
2024-09-27Rollup merge of #130459 - onur-ozkan:#130449, r=albertlarsan68Matthias Krüger-3/+3
delete sub build directory "debug" to not delete the change-id file Fixes #130449
2024-09-27improve LLVM submodule handling logic in `llvm::prebuilt_llvm_config`onur-ozkan-11/+19
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-09-27Rollup merge of #130517 - bjorn3:update_ra_config, r=onur-ozkanGuillaume Gomez-0/+1
Add the library workspace to the suggested rust-analyzer config
2024-09-26Do not output () on empty descriptionCameron Pickett-3/+5
2024-09-26Couple of changes to make it easier to compile rustc for wasmbjorn3-0/+2
This is a subset of the patches I have on my rust fork to compile rustc for wasm32-wasip1.
2024-09-24Fix tool cargo being off-by-one from rustc staging许杰友 Jieyou Xu (Joe)-0/+8
Previously if you pass compiler stage 1 to `tool::Cargo`, it will build stage2 rustc and give you back a cargo built with stage2 rustc, which is not what we want. This commit adds a hack that chops off a stage from the compiler passed to `tool::Cargo`, meaning that we will get a cargo built with stage 1 compiler, avoiding unnecessary and incorrect build of stage2 rustc and the cargo built by that.
2024-09-24Pass bootstrap cargo when `--stage 0` and `COMPILETST_FORCE_STAGE0`许杰友 Jieyou Xu (Joe)-4/+9
And stop passing `BOOTSTRAP_CARGO` as an env var, instead the provided cargo should go through `--cargo-path.`
2024-09-23Auto merge of #130620 - onur-ozkan:update-make-prepare, r=Kobzolbors-22/+14
remove workaround for make prepare and use dry-run build instead Removes an annoying hard-coded logic. try-job: x86_64-msvc
2024-09-23invoke cmake check with `run_always`onur-ozkan-1/+2
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-09-23Rollup merge of #130536 - cuviper:rustbook-dylib-path, r=Mark-SimulacrumJubilee-9/+11
bootstrap: Set the dylib path when building books with rustdoc The library path is needed when the toolchain has been configured with `[rust] rpath = false`. Otherwise, building the reference book will get an error when it tries to run rustdoc, like: rustdoc: error while loading shared libraries: librustc_driver-2ec457c3b8826b72.so
2024-09-23check if the LLVM submodule is fetched in `is_ci_llvm_modified`onur-ozkan-3/+11
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-393/+307
2024-09-21Rollup merge of #130648 - onur-ozkan:enzyme-linking, r=KobzolJubilee-6/+4
move enzyme flags from general cargo to rustc-specific cargo Resolves #130637.
2024-09-21move enzyme flags from general cargo to rustc-specific cargoonur-ozkan-6/+4
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-09-20Pass the current cargo to `run-make` testsJosh Stone-0/+5
A couple tests were using `BOOTSTRAP_CARGO` with `-Zbuild-std`, but that stage0 cargo might not always be in sync with in-tree changes. In particular, those tests started failing on the beta branch because the older cargo couldn't find the library `Cargo.lock`, and then couldn't build the latest version of `compiler_builtins` that had nightly changes.
2024-09-20skip `FileCheck` check when running in dry-run modeonur-ozkan-11/+11
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-09-20remove workaround for make prepare and use dry-run build insteadonur-ozkan-10/+1
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-09-19Register tool docs for compiletest许杰友 Jieyou Xu (Joe)-0/+8
2024-09-19Auto merge of #130529 - onur-ozkan:better-ci-llvm-default, r=Kobzolbors-7/+11
change `download-ci-llvm` default from `if-unchanged` to `true` Since https://github.com/rust-lang/rust/pull/129473 and https://github.com/rust-lang/rust/pull/130202, using `download-ci-llvm=true` is now the better default and it also fixes #130515.
2024-09-19add change-tracker for new download-ci-llvm defaultonur-ozkan-0/+5
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-09-19change download-ci-llvm default from "if-unchanged" to trueonur-ozkan-7/+6
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-09-19Auto merge of #130406 - arttet:master, r=onur-ozkanbors-3/+12
Bump cc dependency * The [issue](https://github.com/rust-lang/rust/issues/130231) was fixed in the [PR](https://github.com/rust-lang/cc-rs/pull/1207) * The build artifacts of arm64e-apple-darwin can be found [here](https://github.com/arttet/rust-compiler-builder/actions/runs/10902308425)
2024-09-18bootstrap: Set the dylib path when building books with rustdocJosh Stone-9/+11
The library path is needed when the toolchain has been configured with `[rust] rpath = false`. Otherwise, building the reference book will get an error when it tries to run rustdoc, like: rustdoc: error while loading shared libraries: librustc_driver-2ec457c3b8826b72.so
2024-09-18Update the minimum external LLVM to 18Josh Stone-2/+2
2024-09-18Bump cc dependencyArtyom Tetyukhin-3/+12
2024-09-18Add the library workspace to the suggested rust-analyzer configbjorn3-0/+1
2024-09-18skip in-tree compiler build for llvm-bitcode-linker if ci-rustc is ononur-ozkan-2/+5
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-09-17delete sub directory "debug" to not delete the change-id fileonur-ozkan-3/+3
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-09-15Rollup merge of #130420 - jieyouxu:build_helpers_docs, r=onur-ozkanJubilee-0/+9
Register tool docs for `src/tools/build_helper` Fixes #130355.
2024-09-15Rollup merge of #130336 - onur-ozkan:simple-improvement, r=albertlarsan68Jubilee-5/+1
simplify `Build::update_existing_submodule` `Build::update_existing_submodule` is already doing the same thing..
2024-09-16bootstrap: register tool docs for src/tools/build_helper许杰友 Jieyou Xu (Joe)-0/+9
2024-09-15add change entry for `dist.vendor`onur-ozkan-0/+5
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-09-15make dist vendoring configurableonur-ozkan-6/+10
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-09-15Feed `GitInfo`s from `Config` to `Build`onur-ozkan-10/+31
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-09-15Rollup merge of #130202 - onur-ozkan:force-ci-llvm-on-default-profiles, ↵Stuart Cook-2/+9
r=Mark-Simulacrum set `download-ci-llvm = true` by default on "library" and "tools" profiles It's very rare for developers to need to modify LLVM, so "if-unchanged" isn't a good default for "tools" and "library" profiles since it fetches the LLVM submodule to track changes.
2024-09-14don't warn about a missing change-id in CIbinarycat-3/+7
fixes 130352
2024-09-14simplify `Build::update_existing_submodule`onur-ozkan-5/+1
`Build::update_existing_submodule` is already doing the same thing.. Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-09-14Auto merge of #130332 - Zalathar:rollup-eq0qvvy, r=Zalatharbors-43/+57
Rollup of 5 pull requests Successful merges: - #130138 (bootstrap: Print more debug info when `find_initial_libdir` fails) - #130199 (Don't call closure_by_move_body_def_id on FnOnce async closures in MIR validation) - #130302 (add llvm-bitcode-linker and llvm-tools bins to ci-rustc's sysroot) - #130306 (avoid updating LLVM submodule during bootstrap unit tests) - #130317 (`ProjectionElem` and `UnOp`/`BinOp` dont need to be `PartialOrd`/`Ord`) r? `@ghost` `@rustbot` modify labels: rollup