Diff rust-1.65.0 with a rust-1.66.1
/usr/portage/dev-lang/rust/rust-1.66.1.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 ~mips ~ppc ppc64 ~riscv sparc x86" |
|
22 |
KEYWORDS="amd64 arm arm64 ~mips ppc ppc64 ~riscv sparc x86" |
|
23 | 23 |
fi |
24 | 24 | |
25 | 25 |
RUST_STAGE0_VERSION="1.$(($(ver_cut 2) - 1)).0" |
... | ... | |
39 | 39 |
ALL_LLVM_TARGETS=( "${ALL_LLVM_TARGETS[@]/#/llvm_targets_}" ) |
40 | 40 |
LLVM_TARGET_USEDEPS=${ALL_LLVM_TARGETS[@]/%/(-)?} |
41 | 41 | |
42 |
LICENSE="|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA" |
|
42 |
LICENSE="|| ( MIT Apache-2.0 ) BSD BSD-1 BSD-2 BSD-4 UoI-NCSA" |
|
43 | 43 | |
44 | 44 |
IUSE="big-endian clippy cpu_flags_x86_sse2 debug dist doc llvm-libunwind miri nightly parallel-compiler profiler rustfmt rust-analyzer rust-src system-bootstrap system-llvm test wasm ${ALL_LLVM_TARGETS[*]}" |
45 | 45 | |
... | ... | |
121 | 121 |
sys-apps/lsb-release |
122 | 122 |
" |
123 | 123 | |
124 |
# FIXME: https://bugs.gentoo.org/874885 |
|
125 |
# rust-analyzer should work with wasm, but currently does not |
|
126 | 124 |
REQUIRED_USE="|| ( ${ALL_LLVM_TARGETS[*]} ) |
127 | 125 |
miri? ( nightly ) |
128 | 126 |
parallel-compiler? ( nightly ) |
129 |
rust-analyzer? ( !wasm rust-src ) |
|
127 |
rust-analyzer? ( rust-src ) |
|
130 | 128 |
test? ( ${ALL_LLVM_TARGETS[*]} ) |
131 | 129 |
wasm? ( llvm_targets_WebAssembly ) |
132 | 130 |
x86? ( cpu_flags_x86_sse2 ) |
... | ... | |
286 | 284 |
src_prepare() { |
287 | 285 |
# this supidity is needed because patch is too large to be in filesdir |
288 | 286 |
# and if we move it to devspace - it lacks checksum for sig verification |
289 |
if [[ "${PV}" == 1.65.0 ]]; then |
|
287 |
if [[ "${PV}" == 1.66.1 ]]; then |
|
290 | 288 |
sed -i \ |
291 | 289 |
-e 's/516ba32a547b46a8e80ad20d4a17bf24a00bff0b69b74f56df119f770f3dfff6/fc7eb88c2f5104865379128b76767d36ce5b5fdb9f3483e683d150e514ebc3a3/' \ |
292 | 290 |
-e 's/fba10dc8ca9eaf4d481cb82bd1540cf5c05620533c44f917c09a22ea55ef408c/9cc4d1b4511a1f0d91231eb0f11c67ae5e8e38e4becd0bf5eb9e26d043796056/' \ |