Сравнение rust-1.71.1 с rust-1.72.0-r1
/usr/portage/dev-lang/rust/rust-1.72.0-r1.ebuild 2023-10-09 14:52:29.476368350 +0300 | ||
---|---|---|
19 | 19 |
SLOT="stable/${ABI_VER}" |
20 | 20 |
MY_P="rustc-${PV}" |
21 | 21 |
SRC="${MY_P}-src.tar.xz" |
22 |
KEYWORDS="amd64 ~arm arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc x86" |
|
22 |
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" |
|
23 | 23 |
fi |
24 | 24 | |
25 |
RUST_STAGE0_VERSION="1.$(($(ver_cut 2) - 1)).0" |
|
25 |
# Temporarily set to 1.72.0 since it fixed issues in the stdlib that prevented bootstrapping on musl 1.2.4. Set back to |
|
26 |
# normal in 1.73.0. |
|
27 |
RUST_STAGE0_VERSION="${PV}" |
|
26 | 28 | |
27 | 29 |
DESCRIPTION="Systems programming language from Mozilla" |
28 | 30 |
HOMEPAGE="https://www.rust-lang.org/" |
... | ... | |
162 | 164 |
VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/rust.asc |
163 | 165 | |
164 | 166 |
PATCHES=( |
165 |
"${FILESDIR}"/1.71.1-fix-bootstrap-version-comparison.patch |
|
167 |
"${FILESDIR}"/1.72.0-bump-libc-deps-to-0.2.146.patch |
|
166 | 168 |
"${FILESDIR}"/1.70.0-ignore-broken-and-non-applicable-tests.patch |
167 | 169 |
"${FILESDIR}"/1.62.1-musl-dynamic-linking.patch |
168 | 170 |
"${FILESDIR}"/1.67.0-doc-wasm.patch |
... | ... | |
170 | 172 | |
171 | 173 |
S="${WORKDIR}/${MY_P}-src" |
172 | 174 | |
175 |
clear_vendor_checksums() { |
|
176 |
sed -i 's/\("files":{\)[^}]*/\1/' "vendor/${1}/.cargo-checksum.json" || die |
|
177 |
} |
|
178 | ||
173 | 179 |
toml_usex() { |
174 | 180 |
usex "${1}" true false |
175 | 181 |
} |
... | ... | |
283 | 289 |
} |
284 | 290 | |
285 | 291 |
src_prepare() { |
292 |
# Clear vendor checksums for crates that we patched to bump libc. |
|
293 |
for i in addr2line-0.20.0 bstr cranelift-jit crossbeam-channel elasticlunr-rs handlebars icu_locid libffi \ |
|
294 |
terminal_size tracing-tree; do |
|
295 |
clear_vendor_checksums "${i}" |
|
296 |
done |
|
297 | ||
286 | 298 |
if ! use system-bootstrap; then |
287 | 299 |
has_version sys-devel/gcc || esetup_unwind_hack |
288 | 300 |
local rust_stage0_root="${WORKDIR}"/rust-stage0 |