about summary refs log tree commit diff
path: root/src/bootstrap/Cargo.toml
AgeCommit message (Collapse)AuthorLines
2025-07-11Update sysinfo version to `0.36.0`Guillaume Gomez-1/+1
2025-06-29Use `tracing-forest` instead of `tracing-tree` for bootstrap tracingJieyou Xu-2/+2
I find the `tracing-forest` output easier to comprehend.
2025-06-12Add support for snapshot tests with instaJakub Beránek-0/+1
2025-05-21Rollup merge of #140994 - onur-ozkan:cc2ar-removal, r=albertlarsan68Matthias Krüger-1/+1
replace `cc_detect::cc2ar` with `cc::try_get_archiver` ~~Awaiting new release of [cc](https://crates.io/crates/cc) version with https://github.com/rust-lang/cc-rs/pull/1456 to bump the version.~~ ~~Blocked by https://github.com/rust-lang/cc-rs/pull/1456.~~ Kind a self-explanatory. try-job: dist-android
2025-05-17bootstrap: bump windows tooklensy-1/+1
2025-05-16bump bootstrap cc-rs to `1.2.23`onur-ozkan-1/+1
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-05-02Update sysinfo version to `0.35.0`Guillaume Gomez-1/+1
2025-04-20Move freshness test to bootstrapJakub Beránek-0/+1
2025-03-28bootstrap: bump cc to 1.2.17 and cmake to 0.1.54Mads Marquart-4/+2
2025-03-12Remove `sccache-plus-cl` MSVC hackJakub Beránek-5/+0
2025-03-08Update bootstrap to edition 2024Jakub Beránek-1/+1
2025-02-23downgrade bootstrap `cc`onur-ozkan-1/+3
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-02-13Add export of bootstrap tracing to Chrome eventsJakub Beránek-1/+2
2025-01-21bump bootsrap windows to 0.57klensy-1/+1
2025-01-14bootstrap: fix outdated feature name in comment许杰友 Jieyou Xu (Joe)-1/+1
2025-01-13bootstrap: add optional `tracing` cargo feature and optional `tracing*` deps许杰友 Jieyou Xu (Joe)-0/+6
2024-12-26replace bootstrap-self-test feature flag with cfg(test)onur-ozkan-1/+0
This makes it in more rusty way. Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-12-04Update sysinfo version to 0.33.0Guillaume Gomez-1/+1
2024-11-25use ReadCache for archive loadingHenry Jiang-1/+1
2024-11-13Update bootstrap `cc`clubby789-1/+1
2024-11-11move `src/tools/build_helper` into `src/build_helper`onur-ozkan-1/+1
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-09-27Bump `cc` and run `cargo update` for bootstrapTrevor Gross-1/+1
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-18Bump cc dependencyArtyom Tetyukhin-1/+1
2024-08-18Update some dependency versions that allow better licensingTrevor Gross-1/+1
With the new resolver, a few dependencies get brought in twice with different licenses. For example, all dependencies from `wasm-tools` gained Apache-2.0 and MIT options, and with the v2 resolver we were using one version from before and one version from after this change. This made tidy's license check difficult. Update some minimum versions to remove duplicate dependencies and smooth out license checking.
2024-08-01Update sysinfo version to 0.31.2Guillaume Gomez-1/+1
2024-07-14use std for file mtime and atime modificationsonur-ozkan-1/+0
Since 1.75 std provides an interface to set access and modified times on files. This change replaces the external dependency previously used for these operations with the corresponding std functions. Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-07-07bootstrap: once_cell::sync::Lazy -> std::sync::LazyLockPavel Grigorenko-1/+0
2024-06-04bootstrap: implement new feature `bootstrap-self-test`onur-ozkan-0/+1
Some of the bootstrap logics should be ignored during unit tests because they either make the tests take longer or cause them to fail. Therefore we need to be able to exclude them from the bootstrap when it's called by unit tests. This change introduces a new feature called `bootstrap-self-test`, which is enabled on bootstrap unit tests by default. This allows us to keep the logic separate between compiler builds and bootstrap tests without needing messy workarounds (like checking if target names match those in the unit tests). Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-05-06Update version of cc crate to v1.0.97James Farrell-1/+1
Reason: In order to build the Windows version of the Rust toolchain for the Android platform, the following patch to the cc is crate is required to avoid incorrectly determining that we are building with the Android NDK: https://github.com/rust-lang/cc-rs/commit/57853c4bf8a89a0f4c9137eb367ac580305c6919 This patch is present in version 1.0.80 and newer versions of the cc crate. The rustc source distribution currently has 3 different versions of cc in the vendor directory, only one of which has the necessary fix. We (the Android Rust toolchain) are currently maintaining local patches to upgrade the cc crate dependency versions, which we would like to upstream. Furthermore, beyond the specific reason, the cc crate in bootstrap is currently pinned at an old version due to problems in the past when trying to update it. It is worthwhile to figure out and resolve these problems so we can keep the dependency up-to-date. Other fixes: As of cc v1.0.78, object files are prefixed with a 16-character hash. Update src/bootstrap/src/core/build_steps/llvm.rs to account for this to avoid failures when building libunwind and libcrt. Note that while the hash prefix was introduced in v1.0.78, in order to determine the names of the object files without scanning the directory, we rely on the compile_intermediates method, which was introduced in cc v1.0.86 As of cc v1.0.86, compilation on MacOS uses the -mmacosx-version-min flag. A long-standing bug in the CMake rules for compiler-rt causes compilation to fail when this flag is specified. So we add a workaround to suppress this flag. Updating to cc v1.0.91 and newer requires fixes to bootstrap unit tests. The unit tests use targets named "A", "B", etc., which fail a validation check introduced in 1.0.91 of the cc crate.
2024-05-01add a reference link to the comment of the "cc" and "cmake".onur-ozkan-3/+3
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-04-19bootstrap: don't use rayon for sysinfoklensy-1/+1
It's looks overkill to use rayon to collect cpu usage
2024-01-11bump bootstrap dependenciesonur-ozkan-15/+19
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2023-12-30bootstrap: bump fd-lockonur-ozkan-5/+2
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2023-12-25Update sysinfo version to 0.30.1Guillaume Gomez-1/+1
2023-12-21Update sysinfo version to 0.30.0Guillaume Gomez-1/+1
2023-12-16create helper fn `hex_encode` and remove `hex` dependencyonur-ozkan-1/+0
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2023-12-05Update bootstrap libc to 0.2.150Urgau-1/+1
Version 0.2.150 include support for the new check-cfg syntax
2023-10-30bootstrap: bump fd-lock, clap and windows.chenx97-3/+3
this also updates target-sensitive dependencies like rustix and libc.
2023-10-24remap cargo dependencies to /rust/depsPietro Albini-0/+1
2023-10-17move bootstrap utils into bootstrap/src/utils moduleonur-ozkan-5/+5
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2023-10-15bump bootstrap:clap_complete to `4.4.3`onur-ozkan-1/+1
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2023-10-10move `features` above to appear before others sectionsonur-ozkan-3/+3
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2023-10-10sort/reorganize dependencies in bootstrap/Cargo.tomlonur-ozkan-9/+9
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2023-09-01bump pretty_assertions to 1.4onur-ozkan-1/+1
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-1/+1
2023-06-05bootstrap: remove dep `is-terminal`kadiwa-1/+0
2023-06-03only check when we specify rustc in config.tomlyukang-0/+1
2023-05-27Revert "Rollup merge of #111538 - ↵Mark Rousskov-1/+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-1/+1
Bump object and thorin-dwp Required to fix watchOS breakage.
2023-05-14Make sure the build.rustc version is either the same or 1 apartyukang-0/+1