| author | bors <bors@rust-lang.org> 2026-07-07 01:27:02 UTC |
| committer | bors <bors@rust-lang.org> 2026-07-07 01:27:02 UTC |
| log | 2d8144b7880597b6e6d3dfd63a9a9efae3f533d3 |
| tree | 90d170433978b46bb035bb89f8a7bfa41c5d665f |
| parent | b2282dd5646a57d570fc86fbe8df0e8826665ef6 |
| parent | 1417dc76bbb9355480513eae23b27d0279932837 |
[stable] 1.97 release
No last minute backports this time around.
Pulled in release notes from https://github.com/rust-lang/rust/pull/158871, leaving that pending for a bit more time to get feedback before we approve it for mainline.
r? me40 files changed, 341 insertions(+), 5 deletions(-)
RELEASES.md+191| ... | ... | @@ -1,3 +1,194 @@ |
| 1 | Version 1.97.0 (2026-07-09) | |
| 2 | ========================== | |
| 3 | ||
| 4 | <a id="1.97.0-Language"></a> | |
| 5 | ||
| 6 | Language | |
| 7 | -------- | |
| 8 | - [Consider `Result<T, Uninhabited>` and `ControlFlow<Uninhabited, T>` to be equivalent to `T` for must use lint](https://github.com/rust-lang/rust/pull/148214) | |
| 9 | - [Add allow-by-default `dead_code_pub_in_binary` lint for unused pub items in binary crates](https://github.com/rust-lang/rust/pull/149509) | |
| 10 | - [Stabilize the `div32`, `lam-bh`, `lamcas`, `ld-seq-sa` and `scq` target features](https://github.com/rust-lang/rust/pull/154510) | |
| 11 | - [Stabilize `cfg(target_has_atomic_primitive_alignment)`](https://github.com/rust-lang/rust/pull/155006) | |
| 12 | - [Allow trailing `self` in imports in more cases](https://github.com/rust-lang/rust/pull/155137) | |
| 13 | ||
| 14 | ||
| 15 | <a id="1.97.0-Platform-Support"></a> | |
| 16 | ||
| 17 | Platform Support | |
| 18 | ---------------- | |
| 19 | - [nvptx64-nvidia-cuda: drop support for old architectures and old ISAs](https://github.com/rust-lang/rust/pull/152443) | |
| 20 | ||
| 21 | ||
| 22 | Refer to Rust's [platform support page][platform-support-doc] | |
| 23 | for more information on Rust's tiered platform support. | |
| 24 | ||
| 25 | [platform-support-doc]: https://doc.rust-lang.org/rustc/platform-support.html | |
| 26 | ||
| 27 | ||
| 28 | <a id="1.97.0-Stabilized-APIs"></a> | |
| 29 | ||
| 30 | Stabilized APIs | |
| 31 | --------------- | |
| 32 | ||
| 33 | - [`Default for RepeatN`](https://doc.rust-lang.org/stable/std/iter/struct.RepeatN.html#impl-Default-for-RepeatN%3CA%3E) | |
| 34 | - [`Copy for ffi::FromBytesUntilNulError`](https://doc.rust-lang.org/stable/std/ffi/struct.FromBytesUntilNulError.html#impl-Copy-for-FromBytesUntilNulError) | |
| 35 | - [`Send for std::fs::File` on UEFI](https://github.com/rust-lang/rust/pull/154003) | |
| 36 | - [`<{integer}>::isolate_highest_one`](https://doc.rust-lang.org/stable/std/primitive.u32.html#method.isolate_highest_one) | |
| 37 | - [`<{integer}>::isolate_lowest_one`](https://doc.rust-lang.org/stable/std/primitive.u32.html#method.isolate_lowest_one) | |
| 38 | - [`NonZero<{integer}>::isolate_highest_one`](https://doc.rust-lang.org/stable/std/num/struct.NonZero.html#method.isolate_highest_one) | |
| 39 | - [`NonZero<{integer}>::isolate_lowest_one`](https://doc.rust-lang.org/stable/std/num/struct.NonZero.html#method.isolate_lowest_one) | |
| 40 | - [`<{integer}>::bit_width`](https://doc.rust-lang.org/stable/std/primitive.u32.html#method.bit_width) | |
| 41 | - [`<{integer}>::lowest_one`](https://doc.rust-lang.org/stable/std/primitive.u32.html#method.lowest_one) | |
| 42 | - [`<{integer}>::highest_one`](https://doc.rust-lang.org/stable/std/primitive.u32.html#method.highest_one) | |
| 43 | - [`NonZero<{integer}>::bit_width`](https://doc.rust-lang.org/stable/std/num/struct.NonZero.html#method.bit_width) | |
| 44 | - [`NonZero<{integer}>::highest_one`](https://doc.rust-lang.org/stable/std/num/struct.NonZero.html#method.highest_one) | |
| 45 | - [`NonZero<{integer}>::lowest_one`](https://doc.rust-lang.org/stable/std/num/struct.NonZero.html#method.lowest_one) | |
| 46 | ||
| 47 | ||
| 48 | These previously stable APIs are now stable in const contexts: | |
| 49 | ||
| 50 | - [`char::is_control`](https://doc.rust-lang.org/stable/std/primitive.char.html#method.is_control) | |
| 51 | ||
| 52 | ||
| 53 | <a id="1.97.0-Cargo"></a> | |
| 54 | ||
| 55 | Cargo | |
| 56 | ----- | |
| 57 | - [Stabilize `build.warnings` config.](https://github.com/rust-lang/cargo/pull/16796) This controls how lint warnings from local packages are treated. Useful for enforcing a warning-free build in CI, replacing `-Dwarnings`. [docs](https://doc.rust-lang.org/nightly/cargo/reference/config.html#buildwarnings) | |
| 58 | - [Stabilize `resolver.lockfile-path` config.](https://github.com/rust-lang/cargo/pull/16694) This allows specifying the path to the lockfile to use when resolving dependencies. Useful when working with read-only source directories. [docs](https://doc.rust-lang.org/nightly/cargo/reference/config.html#resolverlockfile-path) | |
| 59 | - [cargo-clean: Error when `--target-dir` doesn't look like a Cargo target directory.](https://github.com/rust-lang/cargo/pull/16712) This prevents accidental deletion of non-target directories. | |
| 60 | - [Add `-m` shorthand for `--manifest-path`](https://github.com/rust-lang/cargo/pull/16858) | |
| 61 | - [Remove `curl` dependency from `crates-io` crate](https://github.com/rust-lang/cargo/pull/16936) | |
| 62 | ||
| 63 | <a id="1.97.0-Rustdoc"></a> | |
| 64 | ||
| 65 | Rustdoc | |
| 66 | ----- | |
| 67 | - [Stabilize `--emit` flag](https://github.com/rust-lang/rust/pull/146220) | |
| 68 | - [Stabilize `--remap-path-prefix`](https://github.com/rust-lang/rust/pull/155307) | |
| 69 | <a id="1.97.0-Compatibility-Notes"></a> | |
| 70 | ||
| 71 | Compatibility Notes | |
| 72 | ------------------- | |
| 73 | - [Emit a future-compatibility warning when relying on `f32: From<{float}>` to constrain `{float}`](https://github.com/rust-lang/rust/pull/139087) | |
| 74 | - [Rust will use the v0 symbol mangling scheme by default.](https://github.com/rust-lang/rust/pull/151994) This may cause some tools (such as debuggers or profilers, especially with old versions) to fail to demangle symbols emitted by Rust. It may also cause the formatting of text in backtraces to change. | |
| 75 | - [Prevent deref coercions in `pin!`, in order to prevent unsoundness.](https://github.com/rust-lang/rust/pull/153457) The most likely case where this might impact users is: writing `pin!(x)` where `x` has type `&mut T` will now always correctly produce a value of type `Pin<&mut &mut T>`, instead of sometimes allowing a coercion that produces a value of type `Pin<&mut T>`. This coercion was previously incorrectly allowed since Rust 1.88.0. | |
| 76 | - [Deprecate `std::char` constants and functions](https://github.com/rust-lang/rust/pull/153873) | |
| 77 | - [Warn on linker output by default](https://github.com/rust-lang/rust/pull/153968) | |
| 78 | - [Remove hidden `f64` methods which have been deprecated since 1.0](https://github.com/rust-lang/rust/pull/153975) | |
| 79 | - [report the `varargs_without_pattern` lint in deps](https://github.com/rust-lang/rust/pull/154599) | |
| 80 | - [Forbid passing generic arguments to module path segments even if the module reexports a generic enum variant](https://github.com/rust-lang/rust/pull/154971) | |
| 81 | - [Error on invalid macho `link_section` specifier](https://github.com/rust-lang/rust/pull/155065) | |
| 82 | - The encoding of certain `enum`s [have changed](https://github.com/rust-lang/rust/pull/155473). This is not a breaking change, as it only applies to `enum`s without layout guarantees, but is noted here as we've seen people impacted from having made assumptions about the layout algorithm. | |
| 83 | - [Error on `#[export_name = "..."]` where the name is empty](https://github.com/rust-lang/rust/pull/155515) | |
| 84 | - [Syntactically reject tuple index shorthands in struct patterns](https://github.com/rust-lang/rust/pull/155698) | |
| 85 | - [validate `#[link_name = "..."]` & `#[link(name = "...")]` parameters](https://github.com/rust-lang/rust/pull/155817) | |
| 86 | - On Windows, after calling `shutdown` on a socket to shut down the write side, attempting to write to the socket will now produce a `BrokenPipe` error rather than `Other`. [Map `WSAESHUTDOWN` to `io::ErrorKind::BrokenPipe`](https://github.com/rust-lang/rust/pull/156063) | |
| 87 | ||
| 88 | ||
| 89 | Version 1.96.1 (2026-06-30) | |
| 90 | =========================== | |
| 91 | ||
| 92 | <a id="1.96.1"></a> | |
| 93 | ||
| 94 | - [Cargo: fix timeout/retry behavior](https://github.com/rust-lang/cargo/pull/17131) | |
| 95 | - [Cargo: apply patches for CVE-2025-15661, CVE-2026-55199, and CVE-2026-55200 to libssh2](https://github.com/rust-lang/cargo/pull/17140) | |
| 96 | - [rustc: fix miscompilation in MIR optimization](https://github.com/rust-lang/rust/pull/158214) | |
| 97 | ||
| 98 | Version 1.96.0 (2026-05-28) | |
| 99 | ========================== | |
| 100 | ||
| 101 | <a id="1.96.0-Language"></a> | |
| 102 | ||
| 103 | Language | |
| 104 | -------- | |
| 105 | - [Allow passing `expr` metavariable to `cfg`](https://github.com/rust-lang/rust/pull/146961) | |
| 106 | - [Always coerce never types in tuple expressions](https://github.com/rust-lang/rust/pull/147834) | |
| 107 | - [Avoid incorrect inference guidance of function arguments in rare cases](https://github.com/rust-lang/rust/pull/150316) | |
| 108 | - [Support s390x vector registers in inline assembly](https://github.com/rust-lang/rust/pull/154184) | |
| 109 | - [Allow using constants of type `ManuallyDrop` as patterns (fixing a regression introduced in 1.94.0)](https://github.com/rust-lang/rust/pull/154891) | |
| 110 | ||
| 111 | <a id="1.96.0-Compiler"></a> | |
| 112 | ||
| 113 | Compiler | |
| 114 | -------- | |
| 115 | - [Enable link relaxation feature for LoongArch Linux targets](https://github.com/rust-lang/rust/pull/153427) | |
| 116 | - [Update `riscv64gc-unknown-fuchsia` baseline to RVA22 + vector](https://github.com/rust-lang/rust/pull/155072) | |
| 117 | ||
| 118 | <a id="1.96.0-Libraries"></a> | |
| 119 | ||
| 120 | Libraries | |
| 121 | --------- | |
| 122 | - [Support iterating over ranges of `NonZero` integers](https://github.com/rust-lang/rust/pull/127534) | |
| 123 | - [refactor 'valid for read/write' definition: exclude null; add that as an exception on individual methods instead](https://github.com/rust-lang/rust/pull/152615) | |
| 124 | - [Fix SGX delayed host lookup via ToSocketAddr](https://github.com/rust-lang/rust/pull/152851) | |
| 125 | ||
| 126 | <a id="1.96.0-Stabilized-APIs"></a> | |
| 127 | ||
| 128 | Stabilized APIs | |
| 129 | --------------- | |
| 130 | ||
| 131 | - [`assert_matches!`](https://doc.rust-lang.org/stable/std/macro.assert_matches.html) | |
| 132 | - [`debug_assert_matches!`](https://doc.rust-lang.org/stable/std/macro.debug_assert_matches.html) | |
| 133 | - [`From<T> for AssertUnwindSafe<T>`](https://doc.rust-lang.org/stable/std/panic/struct.AssertUnwindSafe.html#impl-From%3CT%3E-for-AssertUnwindSafe%3CT%3E) | |
| 134 | - [`From<T> for LazyCell<T, F>`](https://doc.rust-lang.org/stable/std/cell/struct.LazyCell.html#impl-From%3CT%3E-for-LazyCell%3CT,+F%3E) | |
| 135 | - [`From<T> for LazyLock<T, F>`](https://doc.rust-lang.org/stable/std/sync/struct.LazyLock.html#impl-From%3CT%3E-for-LazyLock%3CT,+F%3E) | |
| 136 | - [`core::range::RangeToInclusive`](https://doc.rust-lang.org/stable/core/range/struct.RangeToInclusive.html) | |
| 137 | - [`core::range::RangeToInclusiveIter`](https://doc.rust-lang.org/stable/core/range/struct.RangeToInclusiveIter.html) | |
| 138 | - [`core::range::RangeFrom`](https://doc.rust-lang.org/stable/core/ops/struct.RangeFrom.html) | |
| 139 | - [`core::range::RangeFromIter`](https://doc.rust-lang.org/stable/core/ops/struct.RangeFromIter.html) | |
| 140 | - [`core::range::Range`](https://doc.rust-lang.org/stable/std/range/struct.Range.html) | |
| 141 | - [`core::range::RangeIter`](https://doc.rust-lang.org/stable/std/range/struct.RangeIter.html) | |
| 142 | ||
| 143 | <a id="1.96.0-Cargo"></a> | |
| 144 | ||
| 145 | Cargo | |
| 146 | ----- | |
| 147 | - [Allow a dependency to specify both a git repository and an alternate registry.](https://github.com/rust-lang/cargo/pull/16810/) Just like with crates.io, the git repository will be used locally, but the registry version will be used when published. | |
| 148 | - [Added `target.'cfg(..)'.rustdocflags` support in configuration.](https://github.com/rust-lang/cargo/pull/16846) | |
| 149 | - Fixed [CVE-2026-5222](https://blog.rust-lang.org/2026/05/25/cve-2026-5222/) and [CVE-2026-5223](https://blog.rust-lang.org/2026/05/25/cve-2026-5223/). | |
| 150 | ||
| 151 | <a id="1.96-Rustdoc"></a> | |
| 152 | ||
| 153 | Rustdoc | |
| 154 | ----- | |
| 155 | - [Deprecation notes are now rendered like any other documentation](https://github.com/rust-lang/rust/pull/149931). Previously they used the css `white-space: pre-wrap;` property and stripped any `<p>` elements from the rendered html, however this caused issues and unintuitive behavior. The new behavior should be more predictable, however some multi-line deprecation notes will now be rendered as as single lines. If this is undesirable, you can use the standard markdown method of forcing a linebreak, which is two spaces followed by a newline (`"\n"`). | |
| 156 | - [Don't emit rustdoc `missing_doc_code_examples` lint on impl items](https://github.com/rust-lang/rust/pull/154048) | |
| 157 | - [Separate methods and associated functions in sidebar](https://github.com/rust-lang/rust/pull/154644) | |
| 158 | ||
| 159 | <a id="1.96.0-Compatibility-Notes"></a> | |
| 160 | ||
| 161 | Compatibility Notes | |
| 162 | ------------------- | |
| 163 | - [Fix layout of `#[repr(Int)]` enums in some edge cases involving fields of uninhabited zero-sized types](https://github.com/rust-lang/rust/pull/146989) | |
| 164 | - [Prevent unsize-coercing into `Pin<Foo>` where `Foo` doesn't implement `Deref`. Some such coercions were previously allowed, but produce a type with no useful public API.](https://github.com/rust-lang/rust/pull/149218) | |
| 165 | - [rustc: Stop passing `--allow-undefined` on wasm targets](https://github.com/rust-lang/rust/pull/149868) | |
| 166 | - [Gate the accidentally stabilized `#![reexport_test_harness_main]` attribute](https://github.com/rust-lang/rust/pull/152210) | |
| 167 | - [Error on return-position-impl-trait-in-traits whose types are too private](https://github.com/rust-lang/rust/pull/152543) | |
| 168 | - [Report the `uninhabited_static` lint in dependencies and make it deny-by-default](https://github.com/rust-lang/rust/pull/152853) | |
| 169 | - [Distributed builds now contain non-split debuginfo for windows-gnu](https://github.com/rust-lang/rust/pull/152870) | |
| 170 | This appears to improve the quality of backtraces. This change has no effect on the defaults for the output of rustc/cargo on these targets. | |
| 171 | - [Check const generic arguments are correctly typed in more positions](https://github.com/rust-lang/rust/pull/152931) | |
| 172 | - [Remove `-Csoft-float`](https://github.com/rust-lang/rust/pull/152973) | |
| 173 | - [Importing structs with `::{self [as name]}`, e.g., `struct S {}; use S::{self as Other};`, is now no longer permitted because `{self}` imports require a module parent.](https://github.com/rust-lang/rust/pull/152996) | |
| 174 | - [For `export_name`, `link_name`, and `link_section` attributes, if multiple of the same attribute is present, the first one now takes precedence.](https://github.com/rust-lang/rust/pull/153041) | |
| 175 | - [Update the minimum external LLVM to 21](https://github.com/rust-lang/rust/pull/153684) | |
| 176 | - On `avr` targets, C's `double` type is 32-bit by default, so [change `c_double` to `f32` on `avr` targets to match](https://github.com/rust-lang/rust/pull/154647). This is a breaking change, but necessary to make `c_double` match C's double. | |
| 177 | - [`BTreeMap::append()` was optimized, which may now cause panics for types with incorrect `Ord` impls](https://github.com/rust-lang/rust/pull/153107) | |
| 178 | ||
| 179 | <a id="1.96.0-Internal-Changes"></a> | |
| 180 | ||
| 181 | Internal Changes | |
| 182 | ---------------- | |
| 183 | ||
| 184 | These changes do not affect any public interfaces of Rust, but they represent | |
| 185 | significant improvements to the performance or internals of rustc and related | |
| 186 | tools. | |
| 187 | ||
| 188 | - [JSON targets: `aarch64` softfloat targets now have to have `rustc_abi` set to `"softfloat"`](https://github.com/rust-lang/rust/pull/152941) | |
| 189 | - [target specs: stricter checks for LLVM ABI values, and correlate that with `cfg(target_abi)`](https://github.com/rust-lang/rust/pull/153769) | |
| 190 | ||
| 191 | ||
| 1 | 192 | Version 1.95.0 (2026-04-16) |
| 2 | 193 | =========================== |
| 3 | 194 |
src/ci/channel+1-1| ... | ... | @@ -1 +1 @@ |
| 1 | beta | |
| 1 | stable |
src/ci/docker/host-x86_64/armhf-gnu/Dockerfile+4-4| ... | ... | @@ -35,14 +35,14 @@ WORKDIR /build |
| 35 | 35 | # the kernel. This file was generated by running `make vexpress_defconfig` |
| 36 | 36 | # followed by `make menuconfig` and then enabling the IPv6 protocol page. |
| 37 | 37 | COPY host-x86_64/armhf-gnu/vexpress_config /build/.config |
| 38 | RUN curl https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.14.320.tar.xz | \ | |
| 39 | tar xJf - && \ | |
| 40 | cd /build/linux-4.14.320 && \ | |
| 38 | RUN curl https://ci-mirrors.rust-lang.org/rustc/linux-4.14.336.tar.gz | \ | |
| 39 | tar xzf - && \ | |
| 40 | cd /build/linux-4.14.336 && \ | |
| 41 | 41 | cp /build/.config . && \ |
| 42 | 42 | make -j$(nproc) all && \ |
| 43 | 43 | cp arch/arm/boot/zImage /tmp && \ |
| 44 | 44 | cd /build && \ |
| 45 | rm -rf linux-4.14.320 | |
| 45 | rm -rf linux-4.14.336 | |
| 46 | 46 | |
| 47 | 47 | # Compile an instance of busybox as this provides a lightweight system and init |
| 48 | 48 | # binary which we will boot into. Only trick here is configuring busybox to |
src/ci/docker/host-x86_64/disabled/dist-x86_64-redox/Dockerfile+1| ... | ... | @@ -4,6 +4,7 @@ COPY scripts/cross-apt-packages.sh /scripts/ |
| 4 | 4 | RUN sh /scripts/cross-apt-packages.sh |
| 5 | 5 | |
| 6 | 6 | COPY scripts/crosstool-ng.sh /scripts/ |
| 7 | COPY scripts/crosstool-ng-sha256-20260705.diff /scripts/ | |
| 7 | 8 | RUN sh /scripts/crosstool-ng.sh |
| 8 | 9 | |
| 9 | 10 | WORKDIR /tmp |
src/ci/docker/host-x86_64/dist-arm-linux-gnueabi/Dockerfile+1| ... | ... | @@ -4,6 +4,7 @@ COPY scripts/cross-apt-packages.sh /scripts/ |
| 4 | 4 | RUN sh /scripts/cross-apt-packages.sh |
| 5 | 5 | |
| 6 | 6 | COPY scripts/crosstool-ng.sh /scripts/ |
| 7 | COPY scripts/crosstool-ng-sha256-20260705.diff /scripts/ | |
| 7 | 8 | RUN sh /scripts/crosstool-ng.sh |
| 8 | 9 | |
| 9 | 10 | WORKDIR /build |
src/ci/docker/host-x86_64/dist-arm-linux-gnueabi/arm-linux-gnueabi.defconfig+3| ... | ... | @@ -2,11 +2,14 @@ CT_CONFIG_VERSION="4" |
| 2 | 2 | CT_PREFIX_DIR="/x-tools/${CT_TARGET}" |
| 3 | 3 | CT_USE_MIRROR=y |
| 4 | 4 | CT_MIRROR_BASE_URL="https://ci-mirrors.rust-lang.org/rustc" |
| 5 | CT_VERIFY_DOWNLOAD_DIGEST_SHA256=y | |
| 5 | 6 | CT_ARCH_ARM=y |
| 6 | 7 | CT_ARCH_ARCH="armv6" |
| 7 | 8 | CT_ARCH_FLOAT_SW=y |
| 8 | 9 | CT_KERNEL_LINUX=y |
| 10 | CT_OBSOLETE=y | |
| 9 | 11 | CT_LINUX_V_3_2=y |
| 12 | CT_LINUX_VERSION="3.2.101" | |
| 10 | 13 | CT_BINUTILS_V_2_32=y |
| 11 | 14 | CT_GLIBC_V_2_17=y |
| 12 | 15 | CT_GCC_V_8=y |
src/ci/docker/host-x86_64/dist-armhf-linux/Dockerfile+1| ... | ... | @@ -4,6 +4,7 @@ COPY scripts/cross-apt-packages.sh /scripts/ |
| 4 | 4 | RUN sh /scripts/cross-apt-packages.sh |
| 5 | 5 | |
| 6 | 6 | COPY scripts/crosstool-ng.sh /scripts/ |
| 7 | COPY scripts/crosstool-ng-sha256-20260705.diff /scripts/ | |
| 7 | 8 | RUN sh /scripts/crosstool-ng.sh |
| 8 | 9 | |
| 9 | 10 | COPY scripts/rustbuild-setup.sh /scripts/ |
src/ci/docker/host-x86_64/dist-armhf-linux/arm-linux-gnueabihf.defconfig+3| ... | ... | @@ -2,12 +2,15 @@ CT_CONFIG_VERSION="4" |
| 2 | 2 | CT_PREFIX_DIR="/x-tools/${CT_TARGET}" |
| 3 | 3 | CT_USE_MIRROR=y |
| 4 | 4 | CT_MIRROR_BASE_URL="https://ci-mirrors.rust-lang.org/rustc" |
| 5 | CT_VERIFY_DOWNLOAD_DIGEST_SHA256=y | |
| 5 | 6 | CT_ARCH_ARM=y |
| 6 | 7 | CT_ARCH_ARCH="armv6" |
| 7 | 8 | CT_ARCH_FPU="vfp" |
| 8 | 9 | CT_ARCH_FLOAT_HW=y |
| 9 | 10 | CT_KERNEL_LINUX=y |
| 11 | CT_OBSOLETE=y | |
| 10 | 12 | CT_LINUX_V_3_2=y |
| 13 | CT_LINUX_VERSION="3.2.101" | |
| 11 | 14 | CT_BINUTILS_V_2_32=y |
| 12 | 15 | CT_GLIBC_V_2_17=y |
| 13 | 16 | CT_GCC_V_8=y |
src/ci/docker/host-x86_64/dist-armv7-linux/Dockerfile+1| ... | ... | @@ -4,6 +4,7 @@ COPY scripts/cross-apt-packages.sh /scripts/ |
| 4 | 4 | RUN sh /scripts/cross-apt-packages.sh |
| 5 | 5 | |
| 6 | 6 | COPY scripts/crosstool-ng.sh /scripts/ |
| 7 | COPY scripts/crosstool-ng-sha256-20260705.diff /scripts/ | |
| 7 | 8 | RUN sh /scripts/crosstool-ng.sh |
| 8 | 9 | |
| 9 | 10 | COPY scripts/rustbuild-setup.sh /scripts/ |
src/ci/docker/host-x86_64/dist-armv7-linux/armv7-linux-gnueabihf.defconfig+3| ... | ... | @@ -2,6 +2,7 @@ CT_CONFIG_VERSION="4" |
| 2 | 2 | CT_PREFIX_DIR="/x-tools/${CT_TARGET}" |
| 3 | 3 | CT_USE_MIRROR=y |
| 4 | 4 | CT_MIRROR_BASE_URL="https://ci-mirrors.rust-lang.org/rustc" |
| 5 | CT_VERIFY_DOWNLOAD_DIGEST_SHA256=y | |
| 5 | 6 | CT_ARCH_ARM=y |
| 6 | 7 | CT_ARCH_ARM_MODE_THUMB=y |
| 7 | 8 | CT_ARCH_SUFFIX="v7" |
| ... | ... | @@ -9,7 +10,9 @@ CT_ARCH_ARCH="armv7-a" |
| 9 | 10 | CT_ARCH_FPU="vfpv3-d16" |
| 10 | 11 | CT_ARCH_FLOAT_HW=y |
| 11 | 12 | CT_KERNEL_LINUX=y |
| 13 | CT_OBSOLETE=y | |
| 12 | 14 | CT_LINUX_V_3_2=y |
| 15 | CT_LINUX_VERSION="3.2.101" | |
| 13 | 16 | CT_BINUTILS_V_2_32=y |
| 14 | 17 | CT_GLIBC_V_2_17=y |
| 15 | 18 | CT_GCC_V_8=y |
src/ci/docker/host-x86_64/dist-i586-gnu-i586-i686-musl/Dockerfile+1| ... | ... | @@ -22,6 +22,7 @@ COPY scripts/cross-apt-packages.sh /scripts/ |
| 22 | 22 | RUN sh /scripts/cross-apt-packages.sh |
| 23 | 23 | |
| 24 | 24 | COPY scripts/crosstool-ng.sh /scripts/ |
| 25 | COPY scripts/crosstool-ng-sha256-20260705.diff /scripts/ | |
| 25 | 26 | RUN sh /scripts/crosstool-ng.sh |
| 26 | 27 | |
| 27 | 28 | COPY scripts/rustbuild-setup.sh /scripts/ |
src/ci/docker/host-x86_64/dist-i586-gnu-i586-i686-musl/i586-linux-gnu.defconfig+3| ... | ... | @@ -2,11 +2,14 @@ CT_CONFIG_VERSION="4" |
| 2 | 2 | CT_PREFIX_DIR="/x-tools/${CT_TARGET}" |
| 3 | 3 | CT_USE_MIRROR=y |
| 4 | 4 | CT_MIRROR_BASE_URL="https://ci-mirrors.rust-lang.org/rustc" |
| 5 | CT_VERIFY_DOWNLOAD_DIGEST_SHA256=y | |
| 5 | 6 | CT_ARCH_X86=y |
| 6 | 7 | CT_ARCH_ARCH="i586" |
| 7 | 8 | CT_TARGET_CFLAGS="-Wa,-mrelax-relocations=no" |
| 8 | 9 | CT_KERNEL_LINUX=y |
| 10 | CT_OBSOLETE=y | |
| 9 | 11 | CT_LINUX_V_3_2=y |
| 12 | CT_LINUX_VERSION="3.2.101" | |
| 10 | 13 | CT_BINUTILS_V_2_32=y |
| 11 | 14 | CT_BINUTILS_EXTRA_CONFIG_ARRAY="--enable-compressed-debug-sections=none" |
| 12 | 15 | CT_GLIBC_V_2_17=y |
src/ci/docker/host-x86_64/dist-loongarch64-linux/Dockerfile+1| ... | ... | @@ -4,6 +4,7 @@ COPY scripts/cross-apt-packages.sh /scripts/ |
| 4 | 4 | RUN sh /scripts/cross-apt-packages.sh |
| 5 | 5 | |
| 6 | 6 | COPY scripts/crosstool-ng.sh /scripts/ |
| 7 | COPY scripts/crosstool-ng-sha256-20260705.diff /scripts/ | |
| 7 | 8 | RUN sh /scripts/crosstool-ng.sh |
| 8 | 9 | |
| 9 | 10 | COPY scripts/rustbuild-setup.sh /scripts/ |
src/ci/docker/host-x86_64/dist-loongarch64-linux/loongarch64-unknown-linux-gnu.defconfig+2| ... | ... | @@ -3,6 +3,7 @@ CT_EXPERIMENTAL=y |
| 3 | 3 | CT_PREFIX_DIR="/x-tools/${CT_TARGET}" |
| 4 | 4 | CT_USE_MIRROR=y |
| 5 | 5 | CT_MIRROR_BASE_URL="https://ci-mirrors.rust-lang.org/rustc" |
| 6 | CT_VERIFY_DOWNLOAD_DIGEST_SHA256=y | |
| 6 | 7 | CT_ARCH_LOONGARCH=y |
| 7 | 8 | # CT_DEMULTILIB is not set |
| 8 | 9 | CT_ARCH_USE_MMU=y |
| ... | ... | @@ -11,6 +12,7 @@ CT_TARGET_CFLAGS="-mcmodel=medium" |
| 11 | 12 | CT_TARGET_LDFLAGS="-mcmodel=medium" |
| 12 | 13 | CT_KERNEL_LINUX=y |
| 13 | 14 | CT_LINUX_V_5_19=y |
| 15 | CT_LINUX_VERSION="5.19.16" | |
| 14 | 16 | CT_GLIBC_V_2_36=y |
| 15 | 17 | CT_BINUTILS_V_2_45=y |
| 16 | 18 | CT_GCC_V_15=y |
src/ci/docker/host-x86_64/dist-loongarch64-musl/Dockerfile+1| ... | ... | @@ -4,6 +4,7 @@ COPY scripts/cross-apt-packages.sh /scripts/ |
| 4 | 4 | RUN sh /scripts/cross-apt-packages.sh |
| 5 | 5 | |
| 6 | 6 | COPY scripts/crosstool-ng.sh /scripts/ |
| 7 | COPY scripts/crosstool-ng-sha256-20260705.diff /scripts/ | |
| 7 | 8 | RUN sh /scripts/crosstool-ng.sh |
| 8 | 9 | |
| 9 | 10 | COPY scripts/rustbuild-setup.sh /scripts/ |
src/ci/docker/host-x86_64/dist-loongarch64-musl/loongarch64-unknown-linux-musl.defconfig+2| ... | ... | @@ -3,6 +3,7 @@ CT_EXPERIMENTAL=y |
| 3 | 3 | CT_PREFIX_DIR="/x-tools/${CT_TARGET}" |
| 4 | 4 | CT_USE_MIRROR=y |
| 5 | 5 | CT_MIRROR_BASE_URL="https://ci-mirrors.rust-lang.org/rustc" |
| 6 | CT_VERIFY_DOWNLOAD_DIGEST_SHA256=y | |
| 6 | 7 | CT_ARCH_LOONGARCH=y |
| 7 | 8 | # CT_DEMULTILIB is not set |
| 8 | 9 | CT_ARCH_USE_MMU=y |
| ... | ... | @@ -11,6 +12,7 @@ CT_TARGET_CFLAGS="-mcmodel=medium" |
| 11 | 12 | CT_TARGET_LDFLAGS="-mcmodel=medium" |
| 12 | 13 | CT_KERNEL_LINUX=y |
| 13 | 14 | CT_LINUX_V_5_19=y |
| 15 | CT_LINUX_VERSION="5.19.16" | |
| 14 | 16 | CT_LIBC_MUSL=y |
| 15 | 17 | CT_MUSL_V_1_2_5=y |
| 16 | 18 | CT_BINUTILS_V_2_45=y |
src/ci/docker/host-x86_64/dist-mips-linux/Dockerfile+1| ... | ... | @@ -4,6 +4,7 @@ COPY scripts/cross-apt-packages.sh /scripts/ |
| 4 | 4 | RUN sh /scripts/cross-apt-packages.sh |
| 5 | 5 | |
| 6 | 6 | COPY scripts/crosstool-ng.sh /scripts/ |
| 7 | COPY scripts/crosstool-ng-sha256-20260705.diff /scripts/ | |
| 7 | 8 | RUN sh /scripts/crosstool-ng.sh |
| 8 | 9 | |
| 9 | 10 | COPY scripts/rustbuild-setup.sh /scripts/ |
src/ci/docker/host-x86_64/dist-mips-linux/mips-linux-gnu.defconfig+2| ... | ... | @@ -2,11 +2,13 @@ CT_CONFIG_VERSION="4" |
| 2 | 2 | CT_PREFIX_DIR="/x-tools/${CT_TARGET}" |
| 3 | 3 | CT_USE_MIRROR=y |
| 4 | 4 | CT_MIRROR_BASE_URL="https://ci-mirrors.rust-lang.org/rustc" |
| 5 | CT_VERIFY_DOWNLOAD_DIGEST_SHA256=y | |
| 5 | 6 | CT_ARCH_MIPS=y |
| 6 | 7 | CT_ARCH_mips_o32=y |
| 7 | 8 | CT_ARCH_ARCH="mips32r2" |
| 8 | 9 | CT_KERNEL_LINUX=y |
| 9 | 10 | CT_LINUX_V_4_4=y |
| 11 | CT_LINUX_VERSION="4.4.302" | |
| 10 | 12 | CT_BINUTILS_V_2_32=y |
| 11 | 13 | CT_GLIBC_V_2_23=y |
| 12 | 14 | CT_GCC_V_8=y |
src/ci/docker/host-x86_64/dist-mips64-linux/Dockerfile+1| ... | ... | @@ -4,6 +4,7 @@ COPY scripts/cross-apt-packages.sh /scripts/ |
| 4 | 4 | RUN sh /scripts/cross-apt-packages.sh |
| 5 | 5 | |
| 6 | 6 | COPY scripts/crosstool-ng.sh /scripts/ |
| 7 | COPY scripts/crosstool-ng-sha256-20260705.diff /scripts/ | |
| 7 | 8 | RUN sh /scripts/crosstool-ng.sh |
| 8 | 9 | |
| 9 | 10 | COPY scripts/rustbuild-setup.sh /scripts/ |
src/ci/docker/host-x86_64/dist-mips64-linux/mips64-linux-gnu.defconfig+2| ... | ... | @@ -2,12 +2,14 @@ CT_CONFIG_VERSION="4" |
| 2 | 2 | CT_PREFIX_DIR="/x-tools/${CT_TARGET}" |
| 3 | 3 | CT_USE_MIRROR=y |
| 4 | 4 | CT_MIRROR_BASE_URL="https://ci-mirrors.rust-lang.org/rustc" |
| 5 | CT_VERIFY_DOWNLOAD_DIGEST_SHA256=y | |
| 5 | 6 | CT_ARCH_MIPS=y |
| 6 | 7 | CT_ARCH_mips_n64=y |
| 7 | 8 | CT_ARCH_64=y |
| 8 | 9 | CT_ARCH_ARCH="mips64r2" |
| 9 | 10 | CT_KERNEL_LINUX=y |
| 10 | 11 | CT_LINUX_V_4_4=y |
| 12 | CT_LINUX_VERSION="4.4.302" | |
| 11 | 13 | CT_BINUTILS_V_2_32=y |
| 12 | 14 | CT_GLIBC_V_2_23=y |
| 13 | 15 | CT_GCC_V_8=y |
src/ci/docker/host-x86_64/dist-mips64el-linux/Dockerfile+1| ... | ... | @@ -4,6 +4,7 @@ COPY scripts/cross-apt-packages.sh /scripts/ |
| 4 | 4 | RUN sh /scripts/cross-apt-packages.sh |
| 5 | 5 | |
| 6 | 6 | COPY scripts/crosstool-ng.sh /scripts/ |
| 7 | COPY scripts/crosstool-ng-sha256-20260705.diff /scripts/ | |
| 7 | 8 | RUN sh /scripts/crosstool-ng.sh |
| 8 | 9 | |
| 9 | 10 | COPY scripts/rustbuild-setup.sh /scripts/ |
src/ci/docker/host-x86_64/dist-mips64el-linux/mips64el-linux-gnu.defconfig+2| ... | ... | @@ -2,6 +2,7 @@ CT_CONFIG_VERSION="4" |
| 2 | 2 | CT_PREFIX_DIR="/x-tools/${CT_TARGET}" |
| 3 | 3 | CT_USE_MIRROR=y |
| 4 | 4 | CT_MIRROR_BASE_URL="https://ci-mirrors.rust-lang.org/rustc" |
| 5 | CT_VERIFY_DOWNLOAD_DIGEST_SHA256=y | |
| 5 | 6 | CT_ARCH_MIPS=y |
| 6 | 7 | CT_ARCH_mips_n64=y |
| 7 | 8 | CT_ARCH_LE=y |
| ... | ... | @@ -9,6 +10,7 @@ CT_ARCH_64=y |
| 9 | 10 | CT_ARCH_ARCH="mips64r2" |
| 10 | 11 | CT_KERNEL_LINUX=y |
| 11 | 12 | CT_LINUX_V_4_4=y |
| 13 | CT_LINUX_VERSION="4.4.302" | |
| 12 | 14 | CT_BINUTILS_V_2_32=y |
| 13 | 15 | CT_GLIBC_V_2_23=y |
| 14 | 16 | CT_GCC_V_8=y |
src/ci/docker/host-x86_64/dist-mipsel-linux/Dockerfile+1| ... | ... | @@ -4,6 +4,7 @@ COPY scripts/cross-apt-packages.sh /scripts/ |
| 4 | 4 | RUN sh /scripts/cross-apt-packages.sh |
| 5 | 5 | |
| 6 | 6 | COPY scripts/crosstool-ng.sh /scripts/ |
| 7 | COPY scripts/crosstool-ng-sha256-20260705.diff /scripts/ | |
| 7 | 8 | RUN sh /scripts/crosstool-ng.sh |
| 8 | 9 | |
| 9 | 10 | COPY scripts/rustbuild-setup.sh /scripts/ |
src/ci/docker/host-x86_64/dist-mipsel-linux/mipsel-linux-gnu.defconfig+2| ... | ... | @@ -2,12 +2,14 @@ CT_CONFIG_VERSION="4" |
| 2 | 2 | CT_PREFIX_DIR="/x-tools/${CT_TARGET}" |
| 3 | 3 | CT_USE_MIRROR=y |
| 4 | 4 | CT_MIRROR_BASE_URL="https://ci-mirrors.rust-lang.org/rustc" |
| 5 | CT_VERIFY_DOWNLOAD_DIGEST_SHA256=y | |
| 5 | 6 | CT_ARCH_MIPS=y |
| 6 | 7 | CT_ARCH_mips_o32=y |
| 7 | 8 | CT_ARCH_LE=y |
| 8 | 9 | CT_ARCH_ARCH="mips32r2" |
| 9 | 10 | CT_KERNEL_LINUX=y |
| 10 | 11 | CT_LINUX_V_4_4=y |
| 12 | CT_LINUX_VERSION="4.4.302" | |
| 11 | 13 | CT_BINUTILS_V_2_32=y |
| 12 | 14 | CT_GLIBC_V_2_23=y |
| 13 | 15 | CT_GCC_V_8=y |
src/ci/docker/host-x86_64/dist-powerpc-linux/Dockerfile+1| ... | ... | @@ -4,6 +4,7 @@ COPY scripts/cross-apt-packages.sh /scripts/ |
| 4 | 4 | RUN sh /scripts/cross-apt-packages.sh |
| 5 | 5 | |
| 6 | 6 | COPY scripts/crosstool-ng.sh /scripts/ |
| 7 | COPY scripts/crosstool-ng-sha256-20260705.diff /scripts/ | |
| 7 | 8 | RUN sh /scripts/crosstool-ng.sh |
| 8 | 9 | |
| 9 | 10 | COPY scripts/rustbuild-setup.sh /scripts/ |
src/ci/docker/host-x86_64/dist-powerpc-linux/powerpc-linux-gnu.defconfig+3| ... | ... | @@ -2,10 +2,13 @@ CT_CONFIG_VERSION="4" |
| 2 | 2 | CT_PREFIX_DIR="/x-tools/${CT_TARGET}" |
| 3 | 3 | CT_USE_MIRROR=y |
| 4 | 4 | CT_MIRROR_BASE_URL="https://ci-mirrors.rust-lang.org/rustc" |
| 5 | CT_VERIFY_DOWNLOAD_DIGEST_SHA256=y | |
| 5 | 6 | CT_ARCH_POWERPC=y |
| 6 | 7 | CT_ARCH_CPU="powerpc" |
| 7 | 8 | CT_KERNEL_LINUX=y |
| 9 | CT_OBSOLETE=y | |
| 8 | 10 | CT_LINUX_V_3_2=y |
| 11 | CT_LINUX_VERSION="3.2.101" | |
| 9 | 12 | CT_BINUTILS_V_2_30=y |
| 10 | 13 | CT_GLIBC_V_2_17=y |
| 11 | 14 | CT_GCC_V_8=y |
src/ci/docker/host-x86_64/dist-powerpc64-linux-gnu/Dockerfile+1| ... | ... | @@ -4,6 +4,7 @@ COPY scripts/cross-apt-packages.sh /scripts/ |
| 4 | 4 | RUN sh /scripts/cross-apt-packages.sh |
| 5 | 5 | |
| 6 | 6 | COPY scripts/crosstool-ng.sh /scripts/ |
| 7 | COPY scripts/crosstool-ng-sha256-20260705.diff /scripts/ | |
| 7 | 8 | RUN sh /scripts/crosstool-ng.sh |
| 8 | 9 | |
| 9 | 10 | COPY scripts/rustbuild-setup.sh /scripts/ |
src/ci/docker/host-x86_64/dist-powerpc64-linux-gnu/powerpc64-linux-gnu.defconfig+3| ... | ... | @@ -2,12 +2,15 @@ CT_CONFIG_VERSION="4" |
| 2 | 2 | CT_PREFIX_DIR="/x-tools/${CT_TARGET}" |
| 3 | 3 | CT_USE_MIRROR=y |
| 4 | 4 | CT_MIRROR_BASE_URL="https://ci-mirrors.rust-lang.org/rustc" |
| 5 | CT_VERIFY_DOWNLOAD_DIGEST_SHA256=y | |
| 5 | 6 | CT_ARCH_POWERPC=y |
| 6 | 7 | CT_ARCH_CPU="power4" |
| 7 | 8 | CT_ARCH_TUNE="power6" |
| 8 | 9 | CT_ARCH_64=y |
| 9 | 10 | CT_KERNEL_LINUX=y |
| 11 | CT_OBSOLETE=y | |
| 10 | 12 | CT_LINUX_V_3_2=y |
| 13 | CT_LINUX_VERSION="3.2.101" | |
| 11 | 14 | CT_BINUTILS_V_2_32=y |
| 12 | 15 | CT_GLIBC_V_2_17=y |
| 13 | 16 | CT_GCC_V_8=y |
src/ci/docker/host-x86_64/dist-powerpc64-linux-musl/Dockerfile+1| ... | ... | @@ -4,6 +4,7 @@ COPY scripts/cross-apt-packages.sh /scripts/ |
| 4 | 4 | RUN sh /scripts/cross-apt-packages.sh |
| 5 | 5 | |
| 6 | 6 | COPY scripts/crosstool-ng.sh /scripts/ |
| 7 | COPY scripts/crosstool-ng-sha256-20260705.diff /scripts/ | |
| 7 | 8 | RUN sh /scripts/crosstool-ng.sh |
| 8 | 9 | |
| 9 | 10 | COPY scripts/rustbuild-setup.sh /scripts/ |
src/ci/docker/host-x86_64/dist-powerpc64-linux-musl/powerpc64-unknown-linux-musl.defconfig+2| ... | ... | @@ -3,12 +3,14 @@ CT_EXPERIMENTAL=y |
| 3 | 3 | CT_PREFIX_DIR="/x-tools/${CT_TARGET}" |
| 4 | 4 | CT_USE_MIRROR=y |
| 5 | 5 | CT_MIRROR_BASE_URL="https://ci-mirrors.rust-lang.org/rustc" |
| 6 | CT_VERIFY_DOWNLOAD_DIGEST_SHA256=y | |
| 6 | 7 | CT_ARCH_POWERPC=y |
| 7 | 8 | CT_ARCH_64=y |
| 8 | 9 | CT_ARCH_ABI="elfv2" |
| 9 | 10 | # CT_DEMULTILIB is not set |
| 10 | 11 | CT_KERNEL_LINUX=y |
| 11 | 12 | CT_LINUX_V_4_19=y |
| 13 | CT_LINUX_VERSION="4.19.325" | |
| 12 | 14 | CT_LIBC_MUSL=y |
| 13 | 15 | CT_MUSL_V_1_2_5=y |
| 14 | 16 | CT_BINUTILS_V_2_42=y |
src/ci/docker/host-x86_64/dist-powerpc64le-linux-gnu/Dockerfile+1| ... | ... | @@ -4,6 +4,7 @@ COPY scripts/cross-apt-packages.sh /scripts/ |
| 4 | 4 | RUN sh /scripts/cross-apt-packages.sh |
| 5 | 5 | |
| 6 | 6 | COPY scripts/crosstool-ng.sh /scripts/ |
| 7 | COPY scripts/crosstool-ng-sha256-20260705.diff /scripts/ | |
| 7 | 8 | RUN sh /scripts/crosstool-ng.sh |
| 8 | 9 | |
| 9 | 10 | COPY scripts/rustbuild-setup.sh /scripts/ |
src/ci/docker/host-x86_64/dist-powerpc64le-linux-gnu/powerpc64le-unknown-linux-gnu.defconfig+3| ... | ... | @@ -3,13 +3,16 @@ CT_EXPERIMENTAL=y |
| 3 | 3 | CT_PREFIX_DIR="/x-tools/${CT_TARGET}" |
| 4 | 4 | CT_USE_MIRROR=y |
| 5 | 5 | CT_MIRROR_BASE_URL="https://ci-mirrors.rust-lang.org/rustc" |
| 6 | CT_VERIFY_DOWNLOAD_DIGEST_SHA256=y | |
| 6 | 7 | CT_ARCH_POWERPC=y |
| 7 | 8 | CT_ARCH_LE=y |
| 8 | 9 | CT_ARCH_64=y |
| 9 | 10 | # CT_DEMULTILIB is not set |
| 10 | 11 | CT_ARCH_ARCH="powerpc64le" |
| 11 | 12 | CT_KERNEL_LINUX=y |
| 13 | CT_OBSOLETE=y | |
| 12 | 14 | CT_LINUX_V_3_10=y |
| 15 | CT_LINUX_VERSION="3.10.108" | |
| 13 | 16 | CT_GLIBC_V_2_17=y |
| 14 | 17 | CT_BINUTILS_V_2_42=y |
| 15 | 18 | CT_GCC_V_14=y |
src/ci/docker/host-x86_64/dist-powerpc64le-linux-musl/Dockerfile+1| ... | ... | @@ -4,6 +4,7 @@ COPY scripts/cross-apt-packages.sh /scripts/ |
| 4 | 4 | RUN sh /scripts/cross-apt-packages.sh |
| 5 | 5 | |
| 6 | 6 | COPY scripts/crosstool-ng.sh /scripts/ |
| 7 | COPY scripts/crosstool-ng-sha256-20260705.diff /scripts/ | |
| 7 | 8 | RUN sh /scripts/crosstool-ng.sh |
| 8 | 9 | |
| 9 | 10 | COPY scripts/rustbuild-setup.sh /scripts/ |
src/ci/docker/host-x86_64/dist-powerpc64le-linux-musl/powerpc64le-unknown-linux-musl.defconfig+2| ... | ... | @@ -3,6 +3,7 @@ CT_EXPERIMENTAL=y |
| 3 | 3 | CT_PREFIX_DIR="/x-tools/${CT_TARGET}" |
| 4 | 4 | CT_USE_MIRROR=y |
| 5 | 5 | CT_MIRROR_BASE_URL="https://ci-mirrors.rust-lang.org/rustc" |
| 6 | CT_VERIFY_DOWNLOAD_DIGEST_SHA256=y | |
| 6 | 7 | CT_ARCH_POWERPC=y |
| 7 | 8 | CT_ARCH_LE=y |
| 8 | 9 | CT_ARCH_64=y |
| ... | ... | @@ -10,6 +11,7 @@ CT_ARCH_64=y |
| 10 | 11 | CT_ARCH_ARCH="powerpc64le" |
| 11 | 12 | CT_KERNEL_LINUX=y |
| 12 | 13 | CT_LINUX_V_4_19=y |
| 14 | CT_LINUX_VERSION="4.19.325" | |
| 13 | 15 | CT_LIBC_MUSL=y |
| 14 | 16 | CT_MUSL_V_1_2_5=y |
| 15 | 17 | CT_BINUTILS_V_2_42=y |
src/ci/docker/host-x86_64/dist-riscv64-linux/Dockerfile+1| ... | ... | @@ -4,6 +4,7 @@ COPY scripts/cross-apt-packages.sh /scripts/ |
| 4 | 4 | RUN sh /scripts/cross-apt-packages.sh |
| 5 | 5 | |
| 6 | 6 | COPY scripts/crosstool-ng.sh /scripts/ |
| 7 | COPY scripts/crosstool-ng-sha256-20260705.diff /scripts/ | |
| 7 | 8 | RUN sh /scripts/crosstool-ng.sh |
| 8 | 9 | |
| 9 | 10 | COPY scripts/rustbuild-setup.sh /scripts/ |
src/ci/docker/host-x86_64/dist-riscv64-linux/riscv64-unknown-linux-gnu.defconfig+2| ... | ... | @@ -3,6 +3,7 @@ CT_EXPERIMENTAL=y |
| 3 | 3 | CT_PREFIX_DIR="/x-tools/${CT_TARGET}" |
| 4 | 4 | CT_USE_MIRROR=y |
| 5 | 5 | CT_MIRROR_BASE_URL="https://ci-mirrors.rust-lang.org/rustc" |
| 6 | CT_VERIFY_DOWNLOAD_DIGEST_SHA256=y | |
| 6 | 7 | CT_ARCH_RISCV=y |
| 7 | 8 | # CT_DEMULTILIB is not set |
| 8 | 9 | CT_ARCH_USE_MMU=y |
| ... | ... | @@ -10,6 +11,7 @@ CT_ARCH_64=y |
| 10 | 11 | CT_ARCH_ARCH="rv64gc" |
| 11 | 12 | CT_KERNEL_LINUX=y |
| 12 | 13 | CT_LINUX_V_4_20=y |
| 14 | CT_LINUX_VERSION="4.20.17" | |
| 13 | 15 | CT_BINUTILS_V_2_40=y |
| 14 | 16 | CT_GLIBC_V_2_29=y |
| 15 | 17 | CT_GCC_V_8=y |
src/ci/docker/host-x86_64/dist-s390x-linux/Dockerfile+1| ... | ... | @@ -4,6 +4,7 @@ COPY scripts/cross-apt-packages.sh /scripts/ |
| 4 | 4 | RUN sh /scripts/cross-apt-packages.sh |
| 5 | 5 | |
| 6 | 6 | COPY scripts/crosstool-ng.sh /scripts/ |
| 7 | COPY scripts/crosstool-ng-sha256-20260705.diff /scripts/ | |
| 7 | 8 | RUN sh /scripts/crosstool-ng.sh |
| 8 | 9 | |
| 9 | 10 | COPY scripts/rustbuild-setup.sh /scripts/ |
src/ci/docker/host-x86_64/dist-s390x-linux/s390x-linux-gnu.defconfig+3| ... | ... | @@ -2,10 +2,13 @@ CT_CONFIG_VERSION="4" |
| 2 | 2 | CT_PREFIX_DIR="/x-tools/${CT_TARGET}" |
| 3 | 3 | CT_USE_MIRROR=y |
| 4 | 4 | CT_MIRROR_BASE_URL="https://ci-mirrors.rust-lang.org/rustc" |
| 5 | CT_VERIFY_DOWNLOAD_DIGEST_SHA256=y | |
| 5 | 6 | CT_ARCH_S390=y |
| 6 | 7 | CT_ARCH_64=y |
| 7 | 8 | CT_KERNEL_LINUX=y |
| 9 | CT_OBSOLETE=y | |
| 8 | 10 | CT_LINUX_V_3_2=y |
| 11 | CT_LINUX_VERSION="3.2.101" | |
| 9 | 12 | CT_BINUTILS_V_2_32=y |
| 10 | 13 | CT_GLIBC_V_2_17=y |
| 11 | 14 | CT_GCC_V_8=y |
src/ci/docker/scripts/crosstool-ng-sha256-20260705.diff created+77| ... | ... | @@ -0,0 +1,77 @@ |
| 1 | diff --git a/packages/linux/3.10.108/chksum b/packages/linux/3.10.108/chksum | |
| 2 | index 17c7f8ec..f6498231 100644 | |
| 3 | --- a/packages/linux/3.10.108/chksum | |
| 4 | +++ b/packages/linux/3.10.108/chksum | |
| 5 | @@ -4,5 +4,5 @@ sha256 linux-3.10.108.tar.xz 3849ea8119517f605f9d53c57dd6c539af8d584c2f1d9031f4f | |
| 6 | sha512 linux-3.10.108.tar.xz 2ed1bda124fbc0f03e7f4c4e5ddac73d15b82d24ff51f5dbb265cec7cc614b28f83923b5fc8df5e97a3244d2bbb861853f0f2a3894a0c64c5a08b489d4ae12ac | |
| 7 | md5 linux-3.10.108.tar.gz b38e458f3a90ffa0815f2e2740bba7aa | |
| 8 | sha1 linux-3.10.108.tar.gz 0b09e6fdc8152bea07a9d678119a23a35025d4d6 | |
| 9 | -sha256 linux-3.10.108.tar.gz aff93454b2df33a0394253c8977c6d36c7205a423af6d8d4e3e1d67dfc9e07f8 | |
| 10 | +sha256 linux-3.10.108.tar.gz b1711610cf3faf7194156dacdb98c63c1b7ffd02377269d7f75df63d823ccbba | |
| 11 | sha512 linux-3.10.108.tar.gz 71c6f89a7620fecc8ce0f215b6aab52f6a6337b6474ae7447491a1ab4fc95eafa38e700cf667ec304220e9cbcaa669671b9ed15fe79cc679a4e4e9139b37ad8c | |
| 12 | diff --git a/packages/linux/3.2.101/chksum b/packages/linux/3.2.101/chksum | |
| 13 | index 1f9a68ba..7188ceeb 100644 | |
| 14 | --- a/packages/linux/3.2.101/chksum | |
| 15 | +++ b/packages/linux/3.2.101/chksum | |
| 16 | @@ -4,5 +4,5 @@ sha256 linux-3.2.101.tar.xz 4453686b001685144f44c88d57c716fcb6e85ef8a2aad2f95d36 | |
| 17 | sha512 linux-3.2.101.tar.xz 1058369878610cb9e42021dc7feb2e6b2fa67541b0fb4152e526f63e5dfee1d7a63b2f1fb0cfe59097824a743ba74f81526dc706bdb61fc7f1c5e29972b139ed | |
| 18 | md5 linux-3.2.101.tar.gz ac6286e2ff2a66be117c1de20bdb6c72 | |
| 19 | sha1 linux-3.2.101.tar.gz 8b2ab0dd4915e7517a26fa63112bde9b438d14d8 | |
| 20 | -sha256 linux-3.2.101.tar.gz 0d02f47871e44fc12de452a8b41da119848a76d5f81159b8ae9ef57da5824712 | |
| 21 | +sha256 linux-3.2.101.tar.gz 93e8391e029f131d5ba4b7ad76cc34b12f2c2244059604042f2297c4bde093f7 | |
| 22 | sha512 linux-3.2.101.tar.gz 3951bda6970658c2915a0a8e8b022f7fc28d0fa4a5a8ef37a3a48a5d33a328dba3220a13979887b0df0cc2ba7f4ee92c32bc34ec84c6c1b0e4a1727765d412e0 | |
| 23 | diff --git a/packages/linux/4.14.329/chksum b/packages/linux/4.14.329/chksum | |
| 24 | index e5a318d3..44fa0469 100644 | |
| 25 | --- a/packages/linux/4.14.329/chksum | |
| 26 | +++ b/packages/linux/4.14.329/chksum | |
| 27 | @@ -4,5 +4,5 @@ sha256 linux-4.14.329.tar.xz de36689d713ed17f8bc1286fe4b9afcdb9a3de3b6f1d6aff525 | |
| 28 | sha512 linux-4.14.329.tar.xz b7851bfdd9b5b778c6dcd4fe0376ae3851a93d0030050e57e29472be11785e3fd01c8b167f26f2c04c1b05c89aed309b24d77407aabdcbfb76173545236c1c7b | |
| 29 | md5 linux-4.14.329.tar.gz 0a75f96e4a19bfdeb41ff9289a111318 | |
| 30 | sha1 linux-4.14.329.tar.gz 07f91c6f13ed3403d105d0a34b586f916f90c26c | |
| 31 | -sha256 linux-4.14.329.tar.gz b0b08ea229defc872bef5c5dbe2fccde5ce739ba0c15dc3bce17aa26e7c24e43 | |
| 32 | +sha256 linux-4.14.329.tar.gz 3850511cf1822f3bb7c4f2dcfb47a4575dfc2dd9510b3a22be1225a0b7a316b3 | |
| 33 | sha512 linux-4.14.329.tar.gz 6056521d902d1681986a244f7edf12870eacfe39748d75a86ac1df0cec470f94eafe9fcd7c086fb55bdaff8eda97fdfbeaff3944b28500aa6a4334c511708508 | |
| 34 | diff --git a/packages/linux/4.19.325/chksum b/packages/linux/4.19.325/chksum | |
| 35 | index 9219f096..e938f889 100644 | |
| 36 | --- a/packages/linux/4.19.325/chksum | |
| 37 | +++ b/packages/linux/4.19.325/chksum | |
| 38 | @@ -4,5 +4,5 @@ sha256 linux-4.19.325.tar.xz 607bed7de5cda31a443df4c8a78dbe5e8a9ad31afde2a4d28fe | |
| 39 | sha512 linux-4.19.325.tar.xz 4a2c5f358e9caf47061d707db67738e0d1b1f24aebeeaab81dc2701cc3793ab574a7e0a3a5df2f99d6ff1d777acdca1d885da87ee31098c5b901853d8b580310 | |
| 40 | md5 linux-4.19.325.tar.gz d8201f438135d2dc50302de5e6b7febc | |
| 41 | sha1 linux-4.19.325.tar.gz 1a882796a187bbb2145d0e091ed370eed3d7f31b | |
| 42 | -sha256 linux-4.19.325.tar.gz 8f360bb8ba9fb692507f27596422c7ceddec5f7fed4d8f3df2b7656b6042cfee | |
| 43 | +sha256 linux-4.19.325.tar.gz 8753443636e475b506e08abd40059ec9b84904a115d206014f0c856dfe13a25e | |
| 44 | sha512 linux-4.19.325.tar.gz 4e8cbfed3211b1c53122905ce588c421aedb05138581cd64986ddcba89b10ffcea8a3b1c63ec273abc02eac7c31f0f901e17677f4c3ed749b26fc47b75bce5f1 | |
| 45 | diff --git a/packages/linux/4.20.17/chksum b/packages/linux/4.20.17/chksum | |
| 46 | index 0d77f052..d64edcfd 100644 | |
| 47 | --- a/packages/linux/4.20.17/chksum | |
| 48 | +++ b/packages/linux/4.20.17/chksum | |
| 49 | @@ -4,5 +4,5 @@ sha256 linux-4.20.17.tar.xz d011245629b980d4c15febf080b54804aaf215167b514a3577fe | |
| 50 | sha512 linux-4.20.17.tar.xz d048b2e1e88be90c1983acbe71931fc0e716919b433990bd42ab1bb635fc4fc5953667966432b2bc1256fcd5afc211c12ca3e41b7feccdb39b4ced05e6e4071d | |
| 51 | md5 linux-4.20.17.tar.gz 6b9d049ddeb6cb54ecd2bd3d5931ecda | |
| 52 | sha1 linux-4.20.17.tar.gz 4743162961123c9c475628ecc31cfa80d822992a | |
| 53 | -sha256 linux-4.20.17.tar.gz 830c472e5c0b4394936c347d70564dd661d8bed4ceb07f79dc8e8efdefd9bf73 | |
| 54 | +sha256 linux-4.20.17.tar.gz 313b7bebb46084efbfcaf75f4ea6faf2e14c8cbc1711fcba483dc0a036c9acc1 | |
| 55 | sha512 linux-4.20.17.tar.gz 8d4ff845e500e42908a3103a5c08ae3fa76265716cc0c4f37c4712a4d1f0721bd4adbac275136213ee40f490a5650de6e9d5e246e8c700ac11d65ad3ebb74425 | |
| 56 | diff --git a/packages/linux/4.4.302/chksum b/packages/linux/4.4.302/chksum | |
| 57 | index 9d2b041b..8dadd2f1 100644 | |
| 58 | --- a/packages/linux/4.4.302/chksum | |
| 59 | +++ b/packages/linux/4.4.302/chksum | |
| 60 | @@ -4,5 +4,5 @@ sha256 linux-4.4.302.tar.xz 35017bb40b604e0b577fc2b87e727632b46608a2ba3a4f5858b9 | |
| 61 | sha512 linux-4.4.302.tar.xz 2eb03f08bd0a8ee1630b20bc01bfe28f3ff396aca8c88247cc4db3a5c41bcabb6d8385dff90040480f4990f51b538415dedf283a5bc3807ef85e3d982b369570 | |
| 62 | md5 linux-4.4.302.tar.gz 81f7f97ebc94e89311bb20e22b0e6004 | |
| 63 | sha1 linux-4.4.302.tar.gz 2160955ff98a3694ae0574d247cea293d91292af | |
| 64 | -sha256 linux-4.4.302.tar.gz 66271f9d9fce8596622e8154ca0ea160e46b78a5a6c967a15b55855f744d1b0b | |
| 65 | +sha256 linux-4.4.302.tar.gz a22ceab143d40f511203265e5a70d6cc5ec39163cd54fa281346d19176f64451 | |
| 66 | sha512 linux-4.4.302.tar.gz de6ad09783be1faf422e0b476d67768fff8bf1fcdc1e2ab27f915a26f7acdbecaa4a1a2385f78d3001e28ad83b3b55150eb2b996d1b64c6376f5f1d68af019f4 | |
| 67 | diff --git a/packages/linux/5.19.16/chksum b/packages/linux/5.19.16/chksum | |
| 68 | index c16d312c..64ee13fa 100644 | |
| 69 | --- a/packages/linux/5.19.16/chksum | |
| 70 | +++ b/packages/linux/5.19.16/chksum | |
| 71 | @@ -4,5 +4,5 @@ sha256 linux-5.19.16.tar.xz a1ebaf667e1059ae2d72aa6374a4d6e2febc0b8ccda6a124687a | |
| 72 | sha512 linux-5.19.16.tar.xz 1ff662424830fbd48ac1d8c1aabd4d11a8eabc284c4fe3fdf803064d4f56d9c1b631a0fb60679bac40a4e05b77d5e6706a8fd52a5e025ef4f1231a6cc84bbbde | |
| 73 | md5 linux-5.19.16.tar.gz 15c43c56b85175aacafaaa4ef1983298 | |
| 74 | sha1 linux-5.19.16.tar.gz cd7fb09335a4814a88fedf7ed064e6f10fd1c8db | |
| 75 | -sha256 linux-5.19.16.tar.gz 9b835ea04b0210ad0748829367acd84e09357c3dd6d0f48e31737a7f21e990ff | |
| 76 | +sha256 linux-5.19.16.tar.gz bbf0ead65559250e0784c13d4f9716b7f917a1d3a4e00f671f3994cc6990bb02 | |
| 77 | sha512 linux-5.19.16.tar.gz 9b0330c7257aecba3f6f97566014c03d8012e1b2c5c1ee2c3b5ea1b7a2ca01addf346b5235d772b26e4312b0fc1bb529689390445668606ed96e66174cf93341 |
src/ci/docker/scripts/crosstool-ng.sh+8| ... | ... | @@ -1,6 +1,8 @@ |
| 1 | 1 | #!/bin/sh |
| 2 | 2 | set -ex |
| 3 | 3 | |
| 4 | # ignore-tidy-linelength | |
| 5 | ||
| 4 | 6 | CT_NG=1.28.0 |
| 5 | 7 | |
| 6 | 8 | url="https://github.com/crosstool-ng/crosstool-ng/archive/crosstool-ng-$CT_NG.tar.gz" |
| ... | ... | @@ -11,6 +13,12 @@ cd crosstool-ng-crosstool-ng-$CT_NG |
| 11 | 13 | # "download source of zlib is invalid now" |
| 12 | 14 | sed -e "s|zlib.net/'|zlib.net/fossils'|" -i packages/zlib/package.desc |
| 13 | 15 | |
| 16 | # FIXME(#158718): patch crosstools-ng known-good kernel artifact SHA256 | |
| 17 | # checksums to the artifacts we mirror in `ci-mirrors`. | |
| 18 | # See | |
| 19 | # <https://github.com/rust-lang/ci-mirrors/blob/b474b4bb35108dab668907172c858854f209c809/files/rustc/kernel.toml>. | |
| 20 | patch -p1 </scripts/crosstool-ng-sha256-20260705.diff | |
| 21 | ||
| 14 | 22 | ./bootstrap |
| 15 | 23 | ./configure --prefix=/usr/local |
| 16 | 24 | make -j$(nproc) |