about summary refs log tree commit diff
path: root/src/bootstrap/Cargo.lock
AgeCommit message (Collapse)AuthorLines
2023-12-21Update sysinfo version to 0.30.0Guillaume Gomez-5/+5
2023-12-16create helper fn `hex_encode` and remove `hex` dependencyonur-ozkan-7/+0
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2023-12-05Update bootstrap libc to 0.2.150Urgau-2/+2
Version 0.2.150 include support for the new check-cfg syntax
2023-11-07bump some depsklensy-36/+4
drop num_cpus from rust-installer as not used update rayon, rayon-core, which drops it's deps on num_cpus and crossbeam-channel (for bootstrap too) (https://github.com/rayon-rs/rayon/blob/v1.8.0/RELEASES.md) update erro, which drops errno-dragonfly (https://github.com/lambda-fairy/rust-errno/blob/5341791935df601306ffc57a665763c4ecd72755/CHANGELOG.md)
2023-10-30bootstrap: bump fd-lock, clap and windows.chenx97-72/+57
this also updates target-sensitive dependencies like rustix and libc.
2023-10-24remap cargo dependencies to /rust/depsPietro Albini-0/+10
2023-10-15bump bootstrap:clap_complete to `4.4.3`onur-ozkan-2/+2
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2023-09-01bump hermit-abi from yanked version(0.3.1) to 0.3.2onur-ozkan-3/+3
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2023-09-01bump pretty_assertions to 1.4onur-ozkan-36/+4
Removes the duplicated dependency(syn 1.0.102) from bootstrap dependency tree Signed-off-by: onur-ozkan <work@onurozkan.dev>
2023-08-14Upgrade Object and related depsdirreke-2/+2
2023-07-09Port PGO/LTO/BOLT optimized build pipeline to RustJakub Beránek-0/+4
2023-06-20Delete use of proc_macro_span_shrink from proc-macro2David Tolnay-2/+2
2023-06-05bootstrap: remove dep `is-terminal`kadiwa-13/+0
2023-06-03only check when we specify rustc in config.tomlyukang-0/+7
2023-05-27Revert "Rollup merge of #111538 - ↵Mark Rousskov-7/+0
chenyukang:yukang-fix-110067-version-issue, r=jyn514" This reverts commit 9267843e72c8692f934c2ef5505c8a7496c0f06e, reversing changes made to e52fbff5e8c2de7ba085ef84d7d50500b695d521. This breaks our ability to bump the src/version where we're bootstrapping with an older compiler than usual (according to version number). It's not clear whether the intended use case has a clean solution given this constraint, so reverting for now - we can reland with a fix of some kind implemented.
2023-05-20Auto merge of #111413 - workingjubilee:bump-object-0-31-1, r=MarkSimulacrumbors-2/+2
Bump object and thorin-dwp Required to fix watchOS breakage.
2023-05-18Rollup merge of #111160 - chbaker0:update-serde, r=Mark-SimulacrumDylan DPC-8/+8
Update serde in workspace and non-synced dependencies The main workspace, bootstrap, cargo, miri, and rust-analyzer all lock serde to different versions. It's preferable to share the same version where possible, so update it. Rustfmt is synced from another repository and has its own Cargo.lock, but since it's added to the overall workspace it should respect the version here. Cargo is already at the latest version. Miri and rust-analyzer would require upstream updates.
2023-05-14Make sure the build.rustc version is either the same or 1 apartyukang-0/+7
2023-05-10Bump object and thorin-dwpJubilee Young-2/+2
object -> 0.31.1 thorin-dwp -> 0.6.0 Required to fix watchOS breakage.
2023-05-10Generate shell completions for bootstrap with Clapclubby789-0/+10
2023-05-07Update serde in workspace and non-synced dependenciesCollin Baker-8/+8
The main workspace, bootstrap, cargo, miri, and rust-analyzer all lock serde to different versions. It's preferable to share the same version where possible, so update it. Rustfmt is synced from another repository and has its own Cargo.lock, but since it's added to the overall workspace it should respect the version here. Cargo is already at the latest version. Miri and rust-analyzer would require upstream updates.
2023-05-06Migrate bootstrap to Clap-based argumentsclubby789-22/+70
2023-04-19bootstrap: Update linux-raw-sys to 0.3.2WANG Rui-2/+2
Adds support for LoongArch.
2023-04-05Use the `junction` crate in bootstrap instead of manually creating the junctionThom Chiovoloni-0/+11
2023-04-01bootstrap replace atty with is-terminal, dedupe few depsklensy-35/+37
2023-03-21Auto merge of #108659 - ferrocene:pa-test-metrics, r=Mark-Simulacrumbors-0/+22
Include executed tests in the build metrics (and use a custom test display impl) The main goal of this PR is to include all tests executed in CI inside the build metrics JSON files. I need this for Ferrocene, and `@Mark-Simulacrum` expressed desire to have this as well to ensure all tests are executed at least once somewhere in CI. Unfortunately implementing this required rewriting inside of bootstrap all of the code to render the test output to console. libtest supports outputting JSON instead of raw text, which we can indeed use to populate the build metrics. Doing that suppresses the console output though, and compared to rustc and Cargo the console output is not included as a JSON field. Because of that, this PR had to reimplement both the "pretty" format (one test per line, with `rust.verbose-tests = true`), and the "terse" format (the wall of dots, with `rust.verbose-tests = false`). The current implementation should have the exact same output as libtest, except for the benchmark output. libtest's benchmark output is broken in the "terse" format, so since that's our default I slightly improved how it's rendered. Also, to bring parity with libtest I had to introduce support for coloring output from bootstrap, using the same dependencies `annotate-snippets` uses. It's now possible to use `builder.color_for_stdout(Color::Red, "text")` and `builder.color_for_stderr(Color::Green, "text")` across all of bootstrap, automatically respecting the `--color` flag and whether the stream is a terminal or not. I recommend reviewing the PR commit-by-commit. r? `@Mark-Simulacrum`
2023-03-20migrate compiler, bootstrap, and compiletest to windows-rsAndy Russell-15/+39
2023-03-07switch to termcolorPietro Albini-10/+10
2023-03-02add a splash of colorPietro Albini-0/+22
2023-02-27Allow building serde and serde_derive in parallelbjorn3-3/+1
This reduces build time of bootstrap by ~6s
2023-01-03Add `build_helper` crate to share code between tidy and bootstrapNilstrieb-0/+5
2022-12-31Revert "Auto merge of #105058 - ↵Joshua Nelson-5/+0
Nilstrieb:no-merge-commits-for-you-only-bors-is-allowed-to-do-that, r=jyn514" This reverts commit 4839886f0abe208ab8f2bb73a3076a59fe2ab60c, reversing changes made to ce85c98575e3016cf2007d90a85be321e592aa96.
2022-12-30Add `build_helper` crate to share code between tidy and bootstrapNilstrieb-0/+5
2022-12-05Auto merge of #104824 - klensy:bump-some, r=Mark-Simulacrumbors-2/+2
deps: update cpufeatures, swap difference to dissimilar Updating cpufeatures v0.2.1 -> v0.2.5: https://github.com/RustCrypto/utils/blob/master/cpufeatures/CHANGELOG.md#025-2022-09-04, was yanked bc of miscompile (https://github.com/RustCrypto/utils/pull/800, https://github.com/rust-lang/rust/issues/101346) Removing difference v2.0.0 Adding dissimilar v1.0.4 Updating expect-test v1.0.1 -> v1.4.0 difference unmaintened https://rustsec.org/advisories/RUSTSEC-2020-0095.html, so replaced with https://github.com/dtolnay/dissimilar (as dependency of `expect-test`)
2022-12-04Update crossbeambjorn3-12/+10
This removes a lazy_static dependency edge
2022-12-04Update rayon to 1.6bjorn3-5/+4
This removes an autocfg dependency edge
2022-12-04Update pretty_assertions to 1.3bjorn3-12/+9
This replaces ansi_term with yansi which in turn removes a winapi dependency edge
2022-11-29update cpufeatures, swap difference to dissimilarklensy-2/+2
2022-11-23Bump `fd-lock` in `bootstrap` againMateusz Mikuła-60/+21
Followup to https://github.com/rust-lang/rust/pull/103778 Sorry for the quick succession but this fixes one more building issue for Tier 3 `windows-gnullvm` that I have previously missed, and it would be nice to have it in the release.
2022-11-22Rollup merge of #104622 - nicholasbishop:bishop-uefi-clang, r=Mark-SimulacrumManish Goregaokar-0/+10
Use clang for the UEFI targets This fixes an issue where the C and asm sources built by compiler_builtins were being compiled as ELF objects instead of PE objects. This wasn't noticed before because it doesn't cause compiler_builtins or rustc to fail to build. You only see a failure when a program is built that references one of the symbols in an ELF object. Compiling with clang fixes this because the cc crate converts the UEFI targets into Windows targets that clang understands, causing it to produce PE objects. Also update compiler_builtins to 0.1.84 to pull in some necessary fixes for compiling the UEFI targets with clang. Fixes https://github.com/rust-lang/rust/issues/104326
2022-11-20dist: Ensure UEFI rlibs are all COFFNicholas Bishop-0/+10
If clang isn't the C compiler used for the UEFI targets, or if the wrong `--target` is passed to clang, we will get ELF objects in some rlibs. This will cause problems at link time when trying to compile a UEFI program that uses any of those objects. Add a check to the dist step for UEFI targets that reads each rlib with the `object` crate and fails with an error if any non-COFF objects are found.
2022-11-16update ntapi dep to remove future-incompat warningklensy-4/+4
2022-11-05Update several crates for improved support of the new targetsMateusz Mikuła-9/+66
This helps with `*-windows-gnullvm` targets
2022-10-09update to syn-1.0.102Andres Suarez-4/+4
2022-08-15Revert "Revert "Remove num_cpus dependency from bootstrap, build-manifest ↵The 8472-1/+0
and rustc_session"" This reverts commit 1ae4b258267462da0b1aae1badcf83578153c799.
2022-06-27Move locking from bootstrap.py to rust bootstrap, using fd-lockJosh Triplett-0/+102
2022-06-21Fully remove submodule handling from bootstrap.pyJoshua Nelson-0/+676
These submodules were previously updated in python because Cargo gives a hard error if toml files are missing from the workspace: ``` error: failed to load manifest for workspace member `/home/jnelson/rust-lang/rust/src/tools/rls` Caused by: failed to read `/home/jnelson/rust-lang/rust/src/tools/rls/Cargo.toml` Caused by: No such file or directory (os error 2) failed to run: /home/jnelson/rust-lang/rust/build/x86_64-unknown-linux-gnu/stage0/bin/cargo build --manifest-path /home/jnelson/rust-lang/rust/src/bootstrap/Cargo.toml ``` However, bootstrap doesn't actually need to be part of the workspace. Remove it so we can move submodule handling fully to Rust, avoiding duplicate code between Rust and Python. Note that this does break `cargo run`; it has to be `cd src/bootstrap && cargo run` now. Given that we're planning to make the main entrypoint a shell script (or rust binary), I think this is a good tradeoff for reduced complexity in bootstrap.py.
2016-10-07Use workspaces and switch to a single Cargo.lock.Ahmed Charles-180/+0
This involves hacking the code used to run cargo test on various packages, because it reads Cargo.lock to determine which packages should be tested. This change implements a blacklist, since that will catch new crates when they are added in the future.
2016-09-30Update gcc-rs for emscriptenBrian Anderson-24/+24
2016-08-23Update cargo bootstrap rev and add fix for cargo#3005Brian Anderson-0/+21