Gentoo Archives: gentoo-commits

From: Jory Pratt <anarchy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/musl:master commit in: dev-lang/rust/, dev-lang/rust/files/
Date: Wed, 03 Aug 2022 11:59:27
Message-Id: 1659527926.480a5a3e7993af0f29de1609d2f5ffdeb815e1a7.anarchy@gentoo
1 commit: 480a5a3e7993af0f29de1609d2f5ffdeb815e1a7
2 Author: Jory Pratt <anarchy <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 3 11:58:46 2022 +0000
4 Commit: Jory Pratt <anarchy <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 3 11:58:46 2022 +0000
6 URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=480a5a3e
7
8 dev-lang/rust: update dynamic linking patch
9
10 Package-Manager: Portage-3.0.30, Repoman-3.0.3
11 Signed-off-by: Jory Pratt <anarchy <AT> gentoo.org>
12
13 dev-lang/rust/Manifest | 102 +--
14 .../rust/files/1.62.1-musl-dynamic-linking.patch | 25 +
15 dev-lang/rust/rust-1.58.1.ebuild | 704 ---------------------
16 .../{rust-1.59.0.ebuild => rust-1.62.1.ebuild} | 62 +-
17 4 files changed, 106 insertions(+), 787 deletions(-)
18
19 diff --git a/dev-lang/rust/Manifest b/dev-lang/rust/Manifest
20 index 69aba147..49a67bbe 100644
21 --- a/dev-lang/rust/Manifest
22 +++ b/dev-lang/rust/Manifest
23 @@ -1,67 +1,3 @@
24 -DIST rust-1.57.0-aarch64-unknown-linux-gnu.tar.xz 228665060 BLAKE2B 98fe268d060a7f19c284bf02fec148550807b6c75fad042b85f07b22c127f911e4e7e6d9738b4bef42b5a46cc888e5a0df79307cc84e39adf3ed9da3fd531188 SHA512 71d32e1ed3fc4a2eaf3594112b3b43ab82bd28b35e547542f6c1ed006175d7cf805be373a4da8b962762962dd32fe951c8ca7c0a424addad5d4e828441d5386c
25 -DIST rust-1.57.0-aarch64-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B fc832ff510b498a5763a26b420a6cdcf6b2b5fa8ce655f01ab23190f527cfaac144ac68378c6af3d3048440330f94b5d213d049c65ad87f0701b0555ebfa2b6f SHA512 a225f1db92c6e57b977873a3e5dbd07fa1288d2f8d79a879cc72dfc0dff66e70ce56619198cf36376b2774272c85363b8e8abf14efe8404f4cc038410c648ad3
26 -DIST rust-1.57.0-aarch64-unknown-linux-musl.tar.xz 224700500 BLAKE2B 2eb3122af42c499bf92b93946b20b6414d51ba895a77a8e9c53dc437a20093605b2e9f22d8f88b4fc3ca7f7b75d425a2442b36fcea54b583692c32f728f23bfc SHA512 0850861d9d2c22d76b1550e7d6b64c746c3cc24b51a68949948528bdd93621f74e6c07d23428fcdb280e884e469f2e4f2d3f9a7f81ccfa61d41265e31af3a9cb
27 -DIST rust-1.57.0-aarch64-unknown-linux-musl.tar.xz.asc 801 BLAKE2B f594a31b48af2ee7835f89660a13e336f3cb2a01d99a5d48d280c06698d69712de190b35ddc682a9ac7bb6bad1edac9c3bde7262fc5a9732ea471984e1bb99a7 SHA512 aee3fd35c8e7c6b9ce651d940f8fbb17a2bd2a58d8b85421ecfb4a72d5c56878a5d129166896ea717c5b3e5b9c7f61376801d766af1c9a4d1a090327424e93db
28 -DIST rust-1.57.0-arm-unknown-linux-gnueabi.tar.xz 206890752 BLAKE2B 5d314766d333708158df7ef01d740e0cf0e71044edbdeb180f491c78a39dbf9460b62a1eb70076787e33a3199821b18734da59f892c0c251effed8e68c0eb22a SHA512 c01a6a408bf334474b2060ef70ed7c6c53e5f3a7453de74e36e59013292584a129b50530259327ae410830852173601dd9bccd1cd801d9f916d1a3e93820e481
29 -DIST rust-1.57.0-arm-unknown-linux-gnueabi.tar.xz.asc 801 BLAKE2B 494d4eec9795de0150da9a7f5ba6cfbabd8da99dc65e5e02360ed4961e42cc3761f147ca8f7155badf61ec85d2898ec866aa5dde53e555ab34ead6b4d32c737e SHA512 31e9f00de8252e905d4de279860ab7eb287237d7d5330122b989ef2199fa8d209ef7a0cc71b83db82b78ea632d4d3b9c00b8f49a272dafd6e1f78f62055fdf4c
30 -DIST rust-1.57.0-arm-unknown-linux-gnueabihf.tar.xz 206580040 BLAKE2B 3ff02d3308cc27e2422609055a82ed36dcfb3ed2180091653d7ec21ccbb07f3685c58dc5d20f4abf4e342ce18d1d98e47c0a82180b5dccd57d09d215984e6b3d SHA512 9351db6cbc029c1051da277292bd7c3728b6ef250da20a20ee619b45938ccdcd8da1ecfec143734cc692ca3a39690f2f8cd6c332e04d0fd048943a8203eb48fc
31 -DIST rust-1.57.0-arm-unknown-linux-gnueabihf.tar.xz.asc 801 BLAKE2B e5495533d128a99505c7856b27eeae22f85b3f0783cc0c9d52e8e8e9fbcebee6b909fd3465a7b49d1e1da2477c1864fdd048f01f7ba684ed55133c925522aad2 SHA512 bf06cd5c1f6731b02351136c7682d05e6a7114702124768b5cde1935cae4dd1147352352ad9b8dded575b90a57a6cab7c09dbe179404da0e378e992e1a67f47f
32 -DIST rust-1.57.0-armv7-unknown-linux-gnueabihf.tar.xz 211614620 BLAKE2B e8c1f68d4e0846ee9425bd1747a423e1ab6161216a3cd276fd5afc13229dad33e3993d31305e3e38b4d3f6b21bb01fcdc9612d2217778a7f91915c65f1aa91d9 SHA512 667d8f6fb56408782c7a9e0c5086013d0350d6161d52ca4cd948ea39a02ebdf657dd45cb0a135ade8bc1e856c0962040969416fa1762e3bb55a03574fff3b1d1
33 -DIST rust-1.57.0-armv7-unknown-linux-gnueabihf.tar.xz.asc 801 BLAKE2B 6bcb5e7c700a53d8420baa8747c06b291988b806aca6da447c283979f7324f31087482df5606c49d287c355e31b2952d7ed9f40713bce819ab8c02d1863413ce SHA512 164ae760f53820dddf93ce7432553d1698bcfb1af53dd6054d408db87f42b6ac2d7c71da375f8486675b2c6104fef295faff481e5167288e0df782ef74cc3006
34 -DIST rust-1.57.0-i686-unknown-linux-gnu.tar.xz 223062024 BLAKE2B d0e1d3aef1764403dcaa2b1d2a5ee887562f0b59b05b2f984e848da60f772c58bdd8a6073692c6b71dc741ff3d25a784c04478260104962d308529516a56cae3 SHA512 9dc7d650bbe35d3967a883e91bfd2a3dcad633c41c00a41d9ca78bc336b1e3262bbb4100a76d42169700dc3b15d4066fa065e785aed1c0a46df4736dfd00d7c6
35 -DIST rust-1.57.0-i686-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 5d6f4d31e1418124cbd10a7cdb5ecbfe3334256d238e058e5524120438cebe85af68a8dfd604dc311d38e553a559b471dc71ef2870f89ed2cf05f6291e65ac0b SHA512 4957bef14da4bfc34f19d69cc64b2e06fd329566fc941e399105eea6fe4de0de90cd50c72baeaea6490f93bc4b0af14c9591584d97d84873d9c87fe7c177c6ea
36 -DIST rust-1.57.0-mips-unknown-linux-gnu.tar.xz 165094616 BLAKE2B ca5965c40ad81c24ee00f895e00e26cab1a2c0322e2517e4793872707facf03430a92934b79a3d59f349bfb7513be4d1914073fc3b20300d5fd5c332bcb08224 SHA512 1fbd2aeb8e24d236f97c81a4136917cc8c705724c72567be095323a878ee18ed646fc2f4bec446a9a505fc4c88a708efa901970fdb00a67179c34cf97906a3b4
37 -DIST rust-1.57.0-mips-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 230ccb3a534515c9ecd1ca2a3fced2e3688547a3ce42967eb06d7a04b79695eca74f1cf13583631139801a7ad60a31c7f6a1b2821dd13aceabc95386122034a0 SHA512 91313f0ed942d23bb490dffbc4b7eb9a441a09ff5925323df68a38c15aa4e3f5c1bad15c2700ccba8625fb35588135a9ba5f09c7bc5ba7d4f8486fed268a8000
38 -DIST rust-1.57.0-mips64-unknown-linux-gnuabi64.tar.xz 170276060 BLAKE2B 0c6defb288bdb11a8c81ab082944196c767424b8bab6997a51279c7c6ef6c1163c9715493b274420bca9d3f5e7fe7422d403a24162effc3cd880633641d23995 SHA512 339d1dc24e1227195b1fa1a72ceddf592026b4edf234141567e8b8c33c80e07aea71dd73962182783b60271829db8544e1ca6172aaf5ed5ae1cade848355508c
39 -DIST rust-1.57.0-mips64-unknown-linux-gnuabi64.tar.xz.asc 801 BLAKE2B 3b6ebc9e8678946f57e30452a880be3bf5a5a949683e7230cbda776511fd68a7278ecfc741c823d2d1362f200af19cbc25db7d67ab4ade8561a3d9224fd0313e SHA512 0a161f676162684da557d010de4833a6ef229592b6cb9cf55938cb85d12685e28fb0e4e204688b9c9f203b34095831de06c25a4fea48a8ef17226b15a214af0f
40 -DIST rust-1.57.0-mipsel-unknown-linux-gnu.tar.xz 168175700 BLAKE2B d544173e64d81b5cf74f16810f0c00fab0e2b628f90a554a33596b1b3140ef5183db5123f956ff71269761915469a7d51bdb945c02217f47529ae45f1200edc5 SHA512 7963364478ca613ca8670cc71b72e8423febe3062269ea1e5e82358d54c6d5e5006f85c69ae5c746bec296bd3e97883358ab27a9aaf59703984fa4186c5e01c7
41 -DIST rust-1.57.0-mipsel-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B a4056c8006cc5f3d7a548b55ff85f42003d19a7323bd3829c79ba370837c1982a0ca6d15e5d2dac9a4c75251662b375c8243ba0d2682b684b6fe258b25c32fbb SHA512 3db703e462c5c2e974e039c986094ae2bcbdf5e4b2163bbca4d20062be2e54b39f04d72d3f5929886f65e79f19a041e01cb17ec73db4611c3208b51efa2b7e89
42 -DIST rust-1.57.0-powerpc-unknown-linux-gnu.tar.xz 183173668 BLAKE2B 8d897751ce518f0e7fac16fa67645b73337cf2aeca20ffc8ceeace6591043a1b69cae9ba8af6271ad2b7b4448a64e4b5063a2efcb2cebc72c1d0a95c576dc07a SHA512 10ca7a769b53453c503d8da2ebd5da49e016d31a92e898c4aea4129cf1225330b2e1b4ac1893860741efd9ddc9ce409ff9d9fc00536b960efc928562f2e169a3
43 -DIST rust-1.57.0-powerpc-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B b7cfe911745b76e8b2a7090db19a6cc973ff361b0fc23c1d3d104c08554d7818866a6832c89cd8e1dbb519de72618ab362c9e6b1971a2babd0af607c9db9b0e0 SHA512 385c022053f6e102aa9c96c49703bd441b466129bffc5fb3c233f432edf2f2adad5e9979e0b657016eec33cf4b6c7bf31131a0e831c990d071d7da758f5e03d8
44 -DIST rust-1.57.0-powerpc64-unknown-linux-gnu.tar.xz 193868872 BLAKE2B f60c9d320fa6ca0d3b52dc27b22efb50115a1338ce12ea1071499d3abbd60e17c4866a59495fbca725eafef3675b9ca9417c87cad0262541955d2e308eb79f2e SHA512 4b5b2d461cd093f176c1624b29d4174bf9558e8760f7be84b9f9e353e09b622d89548e5bdc91305cf76a072ed2b64f4692b1864b90c86ba7e1a7a9e5df205adb
45 -DIST rust-1.57.0-powerpc64-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 26ea554afaca2e453130d400d3315d0c857e4ab92d5c0cfd21035548160a3c00f801adcbc24387aa6f56bc2907e3aaa3712b4bf35abc10128e3e712b3a451043 SHA512 90ff52af04044b073855c2a91bfe2bdb8fb8397a2d59ca50e38e5e235bd3379d993917546d1dacf3c25db6ec386f967cb8c9c5c7a1b76b06fa60d50a5c066176
46 -DIST rust-1.57.0-powerpc64le-unknown-linux-gnu.tar.xz 203489092 BLAKE2B 5174c149bd6565ed2b709356caf940f7c051a1933a35f9801a31331358277e80d5262a73ea47d484abb2c12ad26c52bbeea5d2ee30f4c8b45e163d5fc788d848 SHA512 7e0809b66086f1c9dde14df5bd9f08757e32bb58041b74150415f798d81cb4ca01a6d69d529efe8a93026f251aa8f1711520defa8d86de64f20d9055ee1568e5
47 -DIST rust-1.57.0-powerpc64le-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 0ed205cf7d3712e3501c228ad7d116331eb3c831437040dc7d4cbfa86de80372db1b116bd2c88ef9c05c57279499dc7cb6a394c216e89a69a6b033d56e4108b0 SHA512 2a3fd37e32382c747227f35e144966bbd241d57b9e06acdb444ed0ac68cf174dd21c565448d9e7ec032d14dbf6de580ca37e6d10b66446dcbef35b0dd35a2c1d
48 -DIST rust-1.57.0-riscv64gc-unknown-linux-gnu.tar.xz 196918164 BLAKE2B b41e958b690a5f6f46744dd38a464a0de0b80d9b4974f1fea46bbce8b26c37b88ffeb3b42e9cd6a3006e8ad8b89a990945dcf1e814041399f6fa8831089c074f SHA512 43c11df8b6621c4e3ccbbb81c043cc3b2f8c897f5d80b03a39ec73d0d73f1a3fafa1a8a607fcf6e16204eb424ead7b9dee0ffd401c185440c4a7b80e84921f5a
49 -DIST rust-1.57.0-riscv64gc-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B c55cc1c7c3e80bdb0527fcfe9b3a0bcb7edf84bea85e842ea425b5498247aaa8ffe19f05f1a2d8c93801dbf1d5e308760e8222311914179deb01f910aae279fe SHA512 df0d218a78eda0d005bb88e18a314f326165776449f28d4cd1aa014efa0e6870bacd2580f5958250e9a00de75c7327b20b4586606a8b120a7d658641759be61e
50 -DIST rust-1.57.0-s390x-unknown-linux-gnu.tar.xz 198621068 BLAKE2B 92af932e06c529ef27e389d35532cb7eed482c36bcc196d6c6934a442cc180815862ad7ee92c4ed97f69963ef6cfd617cab2bc254a81ffd35d88de267fb5d084 SHA512 4cc63e93bbafcbba2122a862200bf1dd241fe84f526778e1877c14237984fdeccdd3d2b3dfe73428b1b97bd253c1ddf98f4302f40709abbdd52ec721d5ccdb6e
51 -DIST rust-1.57.0-s390x-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B c088d5904ecaadcad09d21dcffcbe1856ea2165cb45fcdce31ebad6edddfeb292bb644548537219ec301c4f5e417091d879093a627ea5efb4409e1db36771431 SHA512 c1c2f43033ba1a2ed28e8c60a18cc0de1dfdc7f5361c101cb8318f0f2c3be911784e7d1cc3a61456f1b2c39a5b6df2915b9e56e20dbfdfeb959addf4dc93f01e
52 -DIST rust-1.57.0-x86_64-unknown-linux-gnu.tar.xz 151033748 BLAKE2B 61ecece6a8aa31a2cdf8dcf22514c19a54fcfda3a1248797a6a98e9bc42cf4f4278be21369270a6418b7c416875394055fceb49b5b1d21625e2759b97b2447e8 SHA512 54016b58fe85208c0d98e61cb52f2549bbb9731d7d631b4964663c91c91b7ea0ff4c224c3d29a770de433e6a0bcd92d2fe757563bf68e224a20c1cec6d031a7e
53 -DIST rust-1.57.0-x86_64-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B ea41b27fd25cc75efac73203688ee0882767fc76a2fe09b5e424c42467d3e332463c5560cc58f3b20f6e4b44289a25cfb0d36e38a7a9a7b3950ef875a59dc9ae SHA512 8b955bfce6c130e4b95054b98646f7f9b89e621256759ee1ff533df5f777312dd7adbb192ee0076c9b9baa6883a74a9def50ef598ba8c707762290d465c9a8b7
54 -DIST rust-1.57.0-x86_64-unknown-linux-musl.tar.xz 260333980 BLAKE2B 75342ae8637355e714d5217d78604cfa6a601d3f9bc0ed4667ff0ca57c6521567b19b9bdb10f79761e2e5fd21ca10e12f3fae0c65791118fdb0c35f8f88349f4 SHA512 204ed493528757b8e3e8df13d062c9ae74c75c3e3adc1a2efc0dfc33d2525629168a558dd32653f44a4365191bf203a4415a77152276288a8e122e6bd587394a
55 -DIST rust-1.57.0-x86_64-unknown-linux-musl.tar.xz.asc 801 BLAKE2B 506400c3ea70469cbda0e492e85d41b7f94fba790ec19d1c3491bf4a00d283f97c8fb37319ad6c4a43b22a2195c21d1b9e3c16a5b2a9a82833ff61ad49bdc793 SHA512 793369dc7a854c48a72d81446a0c8eb9d83a071af77758e0bcbb8e4d518fb87c5a23c085202b9b427a02bdd772ad9c82724b34295b851f26f384c3e801bf9a04
56 -DIST rust-1.58.1-aarch64-unknown-linux-gnu.tar.xz 229585460 BLAKE2B 301b201cb40249005a1a8adf34ffdb0bacd22e1d919a24dec9bb8331c2243de1b7cc312c91a87fc9e11091cd9ad517347ff09143000d9de051b3c9a6e0780f9d SHA512 04e2cf2116e16fa293c7f2d29816012520b41df44b54657e289e7affbb91af5a5001d140a49aab1286451b93e93b0171edea77f61f01085136d1be1a3baac4a2
57 -DIST rust-1.58.1-aarch64-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 6da55597fddd643350c73f28a15dcfa935529c0878a199819b9bad6f3ea2542f9021e24bc1a6c8724ff14d36007c00f8906dd1aeaff33b0a99ef6982e8f711b3 SHA512 57debe0afe52c3af3eb53e4efe70ba194ddad449d9952174f8a775531b83f8ab0d66462e7bdd06712547e8f675d330a151d20d183daefe1dda2f0e3805695714
58 -DIST rust-1.58.1-aarch64-unknown-linux-musl.tar.xz 226068748 BLAKE2B 7f9680b0ad3f9a8349f3032f63d23b6d96ab43245d3025d0e4307a29b4353fd2408e7de572a10a77b261634b8fd4e9e6054ba9955b2440b608fdad2c88c12bfa SHA512 6400221a8ae04aea91f9df0f8d82585bcd380f22e80fe813eaa1cadbf592c5207665ad008d938b399e34fc2cb0485b16f993f94d431c290a69a696a4faf89e05
59 -DIST rust-1.58.1-aarch64-unknown-linux-musl.tar.xz.asc 801 BLAKE2B fd22d8a3157a11df45e166b8c961a435bedb079254c1d7f0a738adc1065169a03c897a32bf8781802ca48bcb983c761e6985e532c0d76e90c3684752d8cff9d1 SHA512 54fffa8120fc6b86c57faffdc7857adb89e5fd217b0e753e76e6fadc54aa086243cb7ba3c2c49ec4f44ea8538223312469908d24add2d28203f41c16e9224204
60 -DIST rust-1.58.1-arm-unknown-linux-gnueabi.tar.xz 206480968 BLAKE2B 32ab78a1567d31bb1b5ca36fcb14fd1b002675baab0f688f931cef6524ffcee4257e00fa25a848f73f25656ae0b58beb0e862f1a36d4d5fad016316af3d1ab2a SHA512 94e7cf238235e845761e53fb5802ef0ce3a02c4675001cf67d05bc565403ec1d54293557d73dce7396147381c331ebfb0313e473289c05b65541f836dd8b4e6b
61 -DIST rust-1.58.1-arm-unknown-linux-gnueabi.tar.xz.asc 801 BLAKE2B db3275db531d78d728b33678be3869738009b65985aa3ad4f38aaa853cc1b84a1d2a89f98e203f697c457425547b80ad5826e7c820d49c767b5cd1df2db93bdd SHA512 fcca26b6b0dd2e7529efc93d1c4fdfcdf55c85f40bc247b3af9741403a085bc6808cd304ba535786dd2debbf4952c9d9fab62eaa61f1d3d8e59ce78bda992eb0
62 -DIST rust-1.58.1-arm-unknown-linux-gnueabihf.tar.xz 206545444 BLAKE2B 203a562ac448e7efc4fd519d98937f2deeb70c931611a6f0efc87947f5c48cf0c0cb85358fb9ce1dce49bdcde015fd2d5fd5f3b149d7370c05649579522d228c SHA512 5c0404d878300c1a47597bdadff7fe93c3b0a115320dbf5299dfb4fd06ad322217f4b630429a9db3a5ef54c56706c1ebdf512fcd663f379f1c2df0cf3612459e
63 -DIST rust-1.58.1-arm-unknown-linux-gnueabihf.tar.xz.asc 801 BLAKE2B bf26f6540d96d124bb503b6e38acd87dc16ad16c5214559edd26f4f4f94f1f06a7059a09a7ee504721130576d6ddc5c7b2550f7bc0edffcef37bae3c0abb618c SHA512 1fa1e533adb1e355411cfb706b7c47712454547966bdf07687d9b563cf5dba9b4419d646227719a9362eb923c597f8461c194e56efcbed699610faa209985df2
64 -DIST rust-1.58.1-armv7-unknown-linux-gnueabihf.tar.xz 212381428 BLAKE2B 0cbc4ace0b7693de1898f160d5e76c7ff993aa8e8135a094b23dff736326ff7616471068f02a064d2b88c816fbf6f943fdaf82629dcda0e0e07b6a4a3941fcef SHA512 c1dabf7281c754d3c89044b1277618b0e928efbecde47ed98133d3f8664722d5b3dfb5fbf485cfb4c98c53d3101b192070c5c41e4395cd8563b0e8415abdf2a1
65 -DIST rust-1.58.1-armv7-unknown-linux-gnueabihf.tar.xz.asc 801 BLAKE2B 85f3892a41dd381250219cb0c0c8e70b3902e5356ad34066a6db319193dd580e609975e38356097b7ca0907d62d188459c5a72783c95e77f1d08a50ae8673458 SHA512 70a2269b8326ed8b5e53dbd6698237c4d843086a139c4f4ddd6e04625f0defbcaff46149981e5a1502d56da1393b01bc0c6f74fa8e6ff407f6eb45cc5638ed41
66 -DIST rust-1.58.1-i686-unknown-linux-gnu.tar.xz 224773372 BLAKE2B d90db8b20611f6430759399bbccd0359f2b64ba9b9aa50312ce51dd4a43728897ab5c31d3c6bbee892db8e6e500a19184eb325a312231458cf99bad7c6f04b58 SHA512 0cfccc77cf62002ad99751744ae5a910d48c142d596eb88e187fc061c4b3a8cc1d99634802bc06b0302c41bb3462a17453af1beab6ca694a1535a1b20e10fa47
67 -DIST rust-1.58.1-i686-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 1fc809defcfeb240f756b3e7158d3e747b2e21ea81f3029618c58c4070070a2068603a4e93f7928a9ec3d120d7b2c7cd944d1ae03ebff1b9d5baea823dba54b7 SHA512 aba1f533227794755ca81c2bd8a3bd35fd9ad4affe5bd39430e0329310fe6c6f813fa7d95790958c61c6b22a4e4fea3488e406f05fa30c27eb6871f71e2e6e5d
68 -DIST rust-1.58.1-mips-unknown-linux-gnu.tar.xz 164572088 BLAKE2B 117dcc6483652c3f18436e185b44d605e64b9b31634484ead2d86c1caf6ec47a53eeded5dd766e2410ce59dfcd3f7e71ccf924afab0f34988e00e4c9324a5f13 SHA512 08df5ca03f786aae814b7a22a7d05e18107a1f185338880ea1b58df23d6b1d5c9f2359650ad38c30058a2d2d6f8ae32dffc3926ff47fd3342049c2251eb48463
69 -DIST rust-1.58.1-mips-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 275a43c158a444c3ab27f1e45a9de294a059c21edf7280482303b83f6b0eb65d309021a82c49410b5b24828b88f65888529e95b01886ad20f2f4c187f595b788 SHA512 c70800d0629f92e4640a64a276575b5d6c1e92c2f1b6c7ca025c98a93a2665cbd7192d2fb697c421adc34fe397297c4cb78e21b38f27fa4261483cbf423f933d
70 -DIST rust-1.58.1-mips64-unknown-linux-gnuabi64.tar.xz 170025876 BLAKE2B 05cac890ccb9e37faeb3d995555b6f7f52281619101f033038ef056e7ee75b0c5eb2bd14357c1f8b0f5e96b9e2877514ee870bd75be1b28dce4906be95e6e3b9 SHA512 7d2fc1f0787f828fed72b1681f2668bce7cf25a87a01a818dfec18eda0fb63fb4a5e4aad8115e93dc4c8398641db4a476dfcaea07e6826fdcea727118c64e286
71 -DIST rust-1.58.1-mips64-unknown-linux-gnuabi64.tar.xz.asc 801 BLAKE2B fc25396963178a21a5b0a999e8dd3c9520b3056483ddde1f8a284747a078db0dfb0e808f2292704680e37c5cb2db990ad8311efdc0b32e2a65fd93d389c2a09c SHA512 32ab00c666c33ab53a975e9abffb7645d2101e8f508ea67d2e63b1ec01b4785e384bfe2966ca237b5494e34c2abd15e509835fa161709ddbe1c69845f26a6f43
72 -DIST rust-1.58.1-mipsel-unknown-linux-gnu.tar.xz 169136184 BLAKE2B ae698d08e2592b32b5a0927536e1c2a506c2782f9449fe20242d2ebbc5cbccb2d3a53874b973d88898157b233a88ed80987e2e83a316c05c0d478b1021c49c41 SHA512 ccb13dbb41c92956a437d0879fe9d3ad0a2aac88fa1b761e3b68a6536e389ed4997d1682730b2078fe01e68df0ef64bbe43dd2d64595dbb4ed388fe59e1d6dec
73 -DIST rust-1.58.1-mipsel-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 6b14cb176bb33207aed7a01de755390df0f71163940fa8121b51dccefb018cb4dd1cfe9efc359f6bb941104b8b08db0cb5a94c3af880058e59904884c5dff3e4 SHA512 1e30495303f9c6289223a2970d419a70885a866468717254b3efa5124e21cb06830692cfadca33ced94a383d1b9af43b70c08235e935ee491a1de50eafba96b1
74 -DIST rust-1.58.1-powerpc-unknown-linux-gnu.tar.xz 183853716 BLAKE2B a2b98d2c55b5bda8647301536bc8e95b72f98f41018f9b7574f85756d2cd2980fc3a3e995bdd0ed5226b7f18357c5aa3c2f8a05b1679d3dceeae6dfac7484f15 SHA512 5b9010bc3685889411fab6a06727a320123029c037a01cbd5b69f037a87ed595362b698264954b2d3dc2adbaf422fd54d7b56d81512b62147c1922aae77afa22
75 -DIST rust-1.58.1-powerpc-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B c428bb51fdc740ea9499a1a853f4be93a53c23e59d5142d33bf103ac46e32716505eea3e45174ac3b88ffa12caa4dc010dc2d02093f397ce45b4af27f5c4191a SHA512 b3ac66cc88c75f77f7f9632c2104f45a6a730a83b75bd7b531dab833e8e5b512ef06bfea433111302f64321b688f0817b95c5eac9fddd8ff44bb49934a616eea
76 -DIST rust-1.58.1-powerpc64-unknown-linux-gnu.tar.xz 194177236 BLAKE2B bb0c23288014207123345deb06e40a45221d0149e8563c374810892b68cc2b5838b5c3f8c630522723daa633c5fbf72aed16e977313a6d1ce27697c22552681e SHA512 8a089c44d2f50d4677a6aa82e6308d47451ca588243e0df3fbbfd13768002f0caaabeca0d6a7f113b8f63477565296e5cb89f27760621a327cf9cb5b4999eeb5
77 -DIST rust-1.58.1-powerpc64-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B b94fe36ab1896bfee3d7e7f2b17dad05d33c672407955fe45758d167bb1fb4df4d33040e6d18dfa966d33133e181ef9a0e7dd04784ed80e30b38175a901859e5 SHA512 6edd981ded134e0c2e6198014ff37868d7e71d0d2185284c28a35450ab226ffd460faeb29e8aea6d5e75a2fa94874e01c9987f1f1470efe061859d06f3d3e605
78 -DIST rust-1.58.1-powerpc64le-unknown-linux-gnu.tar.xz 203175404 BLAKE2B 53ebdad5859fa7a5e2cd79ea31595aef65a8cc54e11d887f04385500aeac6dd886273f7736271aeb71c70e0d512fd986f09b54ed1a9c744432688eb71c74edb0 SHA512 abaa2b749987b4a1dbc20cc3dfdccc694bce0d1e126d8e9c03dfdcaf85c5be2a2d28f9877ccdaec847c499d7044f955a70f454dafb24dc59ecb5854807eb2289
79 -DIST rust-1.58.1-powerpc64le-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B d5cdf7cfca4d881931a08bf67ca1c08fafda621746b01b8e12e41cd88f5ba8107c1bc86b70f84eed4e6137f6d92ae712740b57505705c7bfd3454d8ca1131eb7 SHA512 39a9649ac0645ea6df93cef59baa6d197b9cfdf88f0c1b3846e52369c8e3e293ecf9327cfa6b5457be65896380c13445ad05c3a0cc213da0ed9bba3c12ae9b8a
80 -DIST rust-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz 196828436 BLAKE2B 9b38c585146f0832d9bc1bebbdab086f351bc88c27817e44ff251c1566b80ee5e573b59764a22802d246023ade332f861096f2e68504c7b64400754ed2676695 SHA512 d268e5a45542f7684d52b694baf5c9b504837fa43d2f5a298e3fb4e335bc6789cdb868651614fbcc1d55c13ded1b2134d57103f46b098d0a8d4a7fd58fb10b03
81 -DIST rust-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 7b234a9fe76cf39177ebc6ad54799bce80fef97151c257b58ae08321c5fe427dd5b5a70627b5a4011e32560f63f6f7b6fddb42e58728004406aec6a9e7597eed SHA512 ee4a1c52cc623dd1858ce8d363f0aaccd58b8bed27a0838f399f1b5cc51f0c123d98056147a266f45724b6a25b09b11c7224c4bc01f208ff7d77e906c850aebf
82 -DIST rust-1.58.1-s390x-unknown-linux-gnu.tar.xz 198204996 BLAKE2B f6f325a10aa9c16510b77b7729410d08d09b83dadff3b8ef7e06642d8c6a50a153eb17cef338fe3e3b7efa3a48ae0e318414aea794f2f488d6f59852310bbbf0 SHA512 31ce8b53c50063c9409191beab28f67ab804549b5eb4d6bfaf42a3342ccb2f4dc039e3afffe22d87664917481e943018c0d1239e7dd0a62af34c44a975f69303
83 -DIST rust-1.58.1-s390x-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 995a6ce146b758bcad983fc8d7a8613b0da172c7e62a0b73d206cfd461e1046d024a8431ac287b5c267b215128542bf20d796b072ab1aed348787f50013a1118 SHA512 d7af25ef9bb92952949e7f91a13d5e910f32134b962e6432bd10ed885be451eb99c518213d9dd4c425c40ea43fa2722d6ea7c357ab0ec63b8ca4f7d020412979
84 -DIST rust-1.58.1-x86_64-unknown-linux-gnu.tar.xz 150229600 BLAKE2B 056e5a646d6758ac88e2b2b9309dbe0e9d23a285be31ba009eed936c82923ad9615874b8689ef926b14335d6c5255df41b5879794e6f0982b90553273487853d SHA512 7a61ecc8ff49769847ed4021c57279c16f261aa21469da426023fadab3820d0d962edc0fb04861ae23c8dcf821fc3ab99c2d469ba827dad30c1acc995732605c
85 -DIST rust-1.58.1-x86_64-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B b86d3d2cbf27594dfe55fe2ff52523a9dff08d08ddd30526172f9e07760c2f854698eb8153cb9894588d75759a3d0bb7887756d005a2c69aa9cfeec8e7dee678 SHA512 82dcb22efb94bb19f2338e9cb46e3f6da3d189fe6bff12bf1ec870197d395c2ad58bd15705aa7f3cde38e5ec0266e20eb2e45761e0f55b13261d3e6b14dce60f
86 -DIST rust-1.58.1-x86_64-unknown-linux-musl.tar.xz 262511608 BLAKE2B f2ca664fe1ab0614f13ce9d7764eed935b107b393830ad14b64d8b05e032feeec57dd04cdc963ad3eea2cb23558beeb1975722be93412d4ff8fd3a75d2bbb896 SHA512 d064464333a64f91b8a30f267ecfe2b4dc5be6d639bc9f064efa86a54478c8de7156166236b7ff8d96bf8fc8cbbeebf7ac17d8b5dabf24d72e189dbbd8ae0819
87 -DIST rust-1.58.1-x86_64-unknown-linux-musl.tar.xz.asc 801 BLAKE2B 9c58a08b4e5d609230b5aae52fe7eec2dd6a0cc0eb8c257068ac2585918aba6cbe3263a6480860d34a117d3e2ee835fc8d8b1702296369c3a4e0f660f46bd62e SHA512 6c294cbbbf22940e36278e92d5095dbfee0df741694188ef1e6df7740bbe770ffb5b2467bab12825045ebf7d6fb12eebb1ce7edbb32d0afcb114c57e814fe5d7
88 DIST rust-1.59.0-aarch64-unknown-linux-gnu.tar.xz 217126920 BLAKE2B 87fd1910d76a133624ff860fd3932527b3ce3775db9e03c6d2ab9ad06534e9e63ff7d1eed0c81e3574d676c192495e0f175b2ae0fa706b722ead9a852296b3f4 SHA512 6f5b6fb325ac226bf5f308463a54f59570d9ba5efe4329d6116d79cda1f8572b2e4584d005586759ac60e1e7a10782d8ef8ebf30c980220b4780a9846895fcb0
89 DIST rust-1.59.0-aarch64-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 2b75d91a060376bd0711c18b1b04f7d0c7ded0a64b0b086e7799898db7fe24ff49dc09c76695a151e54bd205aa040775c6a36d10fb21ecb2d89d23398b02dc34 SHA512 a04cb7b03e3b963002357d48ecf92d0aef20464f9da38081411832c07df0a7c9ce3755a7b89c86394933446fc18e83a55a7cc01f3739ddddb19dafcbb7b43960
90 DIST rust-1.59.0-aarch64-unknown-linux-musl.tar.xz 212064268 BLAKE2B 4636001103fc058c2c14a34449846c0378c26ac4dc29588615c5216bb4759b0e92ec97be25e106a5aaaa07059f404c615272e359b0f3b1e9164437e63d863bd0 SHA512 2ec97a48cdac3fb1f7411fdf3a34aac6f64a09991d25174dff97efab0ee724d4dce2bbe29046d243a72b06d406990adf5d1f3f24286fdfb0e658326e28cf5363
91 @@ -94,9 +30,39 @@ DIST rust-1.59.0-x86_64-unknown-linux-gnu.tar.xz 151858140 BLAKE2B 80eda8c19361b
92 DIST rust-1.59.0-x86_64-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B cd4387ad25b7f000395e336cdc92916ee7260cbf98a397ce02514444c8d2b35c653012ae6a9f1d5598155c06db573e1fe1a3f0bde1693863855dc17c18b478f5 SHA512 0b6790f0aa531a8251e1a19e0adfdb16bfd39fcec40b83094c26b7169f833114cc8679e2955fcc5359b05cd67564827aa231c521f81d4c41d561e9ef44eea713
93 DIST rust-1.59.0-x86_64-unknown-linux-musl.tar.xz 246630236 BLAKE2B c9fe24e92055b2e765a8d96181c7c14a0db329f98e006ea2ade285078cad64fa2ef3419d26f30339685cfbcee672bb5e263dd183c960aa0067a27a0b36fe6fbd SHA512 40a711c015fa8eb07aaa11b0698f20886928230a8441cc7523572c7c2768a52557daf5c02bdf61430dcb9a912b8eeda499794af28f269b319ca7fef848ae4cdd
94 DIST rust-1.59.0-x86_64-unknown-linux-musl.tar.xz.asc 801 BLAKE2B 1a96c49754b8670d243d1ad43478d4df8b4f4997490fa9691e3947260d469c7dc9bab192a20fd2ee0592e15785fb059644404d77d716d86b54038d0a76feaf6e SHA512 0c67f2be31fae00a318b5a6184c60f10f80ca5275a5d9dad4459d94aef2fe65624dd7789987d506b691666ac8f7357143fa6bb8207cd5b13b28692aa909a1636
95 -DIST rustc-1.58.1-src.tar.xz 124353160 BLAKE2B 686c7272db544ad46f7fb01b4e05f24f4e08ff959a000cadfaef5d8fc413b93f5ed839077bc9715defc7a0a179af091f65c7a5d7104b0b3153f0654c237c094b SHA512 eff3279d2e519343cea542a9ae2daab592e44f35af344e33ff43ed55fc7c824511790d1991dd36a603d12465de8c3688e7194c2b9557f288c587ffa04738c2ce
96 -DIST rustc-1.58.1-src.tar.xz.asc 801 BLAKE2B f0b600a503b0ca777dd5d690dca7252ecc6d7d49ca4a9cc8edc0647038f727e9052a861f9868292f837d78d6b02efe9ed5efa85843262c44cf6f73254cc7c9b0 SHA512 983c1ffdc4febf8bce6efc123c76b13f233772bc0a152ffaeb7ebf8f1f7b82a6b5d653407a4d293953d6fbf62c0df4ff4d398a1133061b53ae0f85317a14380b
97 -DIST rustc-1.59.0-src.tar.xz 128942756 BLAKE2B b28114f14c9a0fec7db56fde79a985360fd8438c3b14eede49ed12e540c2636be960d0fd800c569af193886ac76fe8bf604d5dae59214ae08cb0cc6cc0ca404e SHA512 acace866871d13a55d365f65d7e15c192c3cd33096862571df6317e066b7474d668b95ae281e0244967778c05f1e33966c3c55616218bd25d3770a2b2d4f0365
98 -DIST rustc-1.59.0-src.tar.xz.asc 801 BLAKE2B 061701c4fdbde930798f9f938ca3642204ae4a2ad9396937ca7d604268813d6d68f4979f20d35abdbbfeec0bb389acd86c9d3d84256db85861f6b11e3dbef80e SHA512 1b90bc01f9d68ba1f70591c4ae707295d7727b790d170a0b757d654684e59d3c26c45b66a21f9ac762debb6867494660c73daaf10be9bd567a38be44c0009f72
99 +DIST rust-1.61.0-aarch64-unknown-linux-gnu.tar.xz 226403096 BLAKE2B b9927e6d364fe791bef49cea5f0904629a2f01e6a71325c1769c67b845725ae6f54a1a8c0530fa5048591dd0ecfd50a40224243f935b38ad269e35ce2e1c59d9 SHA512 1c00830f67b75eaf23ab759e8218fca48e424cad0ede02e737e341d105f6f8b8113e4d4181cde1b43f9369af9c2f238fbdcac27ccad3dd02db878e2f4e6ba35b
100 +DIST rust-1.61.0-aarch64-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 697df0294d01a19eca2f9b7597df3826e79ea790766c5c5a7b73f5a04919cf64f1489f34c9d2c397523432243e7f3f29f42440ba9aee127753868529196810cf SHA512 78cbc7eeb552965a1b6c4cfc9c8404017fe195acefbda1aa203d1c2ba969b3ac28388930bb4f3ca5dda7ecac5e61163ae0a5d06967eab9f0a7cada87c6b2dc58
101 +DIST rust-1.61.0-aarch64-unknown-linux-musl.tar.xz 220966060 BLAKE2B e03c6418fed773d1028363979726648d1ffa0e04d6879688efefc15f95fbeff3ff9c0dc7c16a53fedb18c4e0b16e060cee9f3566b0f96027e5dc68820fda149f SHA512 e806f78ecc9edd12bb991533c6bfc95da30c8eaacbfc54f0f4dbf3a95a011da82fca13cf3ef23594a9d1d9d8c79c8186fe98b60658a2cd5c0ed2c6e3984468d0
102 +DIST rust-1.61.0-aarch64-unknown-linux-musl.tar.xz.asc 801 BLAKE2B 426c4c8dac07269d184f61bf2447957cdbdacafdf27fac5ab5a0eea958e15fb3eeed0753dadb1d1bb157322ca5e8c6b7c10d946c4bd3a089ccd8275d0a310014 SHA512 b231afc0c3604aba64277c4f018f1f4b30417bd2fd113919b8b584d5482523b961071a50394a4906d8ba8536685fcff4710b51fee7832a7a041dcb902f1c5ff1
103 +DIST rust-1.61.0-arm-unknown-linux-gnueabi.tar.xz 200226676 BLAKE2B c55c36524249eaf9ab1e040b6742e1ada46b32bf0511338d23536663050b46103b1765aeb2a145be9cdc0b602d83526fe902fc431e0793d1a307ab0d4b61a356 SHA512 3a9f52b9f4f2a972477a48b629b8345f151d32d491be0cbf3692b76f05ddbd3319de1da7b10959d37fffc08e12b3196a6f4462cc2476ad80d2f9750e0b189cad
104 +DIST rust-1.61.0-arm-unknown-linux-gnueabi.tar.xz.asc 801 BLAKE2B 34f251ee19ace45c411f161b383dcda35b8dea62e135cdeceddd73ca029920b0f0ea0484fb79c9680d9b4403c5c01d76d4fd2fb47fd65a2fbcb0375e56a1586b SHA512 641ce73107609d55f98ae00a03a9efd58985539e46a834ceffe5af79822309a40a4eac59e5cec3b1654da733f463f3bca438f42ecbaf5fce5d276466317a7e54
105 +DIST rust-1.61.0-arm-unknown-linux-gnueabihf.tar.xz 200078864 BLAKE2B 02403c024bf02b9ec42fd0baf52856fbcce2a10477d19e68e4ad06110aaabb90496543fc3de5f385428396979fbb80cdb27f28b4cef8af9266c18fa87a995c30 SHA512 155b2f0c341280bfb7db066b639dc50580a07b21ad6f9f6255a8645d5d944d58fbaff505f1de0c3f51ed92ca0d4dc75d9b92e2aab7e8b64f8c42d3af0a714fe6
106 +DIST rust-1.61.0-arm-unknown-linux-gnueabihf.tar.xz.asc 801 BLAKE2B 6b4875ac242f11f47518f17a0a039539e56cf3cef78f1e3cb4bc2174e60d6d0f0d444b4c0cfa007643202b5ce92a4cb979e92b5f6f559eb90fd78fdd5f870e57 SHA512 f2618ba9f076c10d0ddd23129e6e8e7050fd1126d7767c8b74c53be209ca87f9bebbc09069f6aed55e14de64b1478fd93b370be7e60858b5226fcfc1e8ed87c0
107 +DIST rust-1.61.0-armv7-unknown-linux-gnueabihf.tar.xz 206757912 BLAKE2B c702e17e225becc681713a3e819cc38c727377d280a1963efd4e6b1d27e0dbbb71ad0bec4d7add8319417846cf54bb7b5901af0f633b180ca9a5f169c709e43a SHA512 88dbb7a35a8424e5b197566515c21122c1da71df146abb304d7dbb50380b4771a741910abefc9d79831146b28b657ffe53cae07f0392e83a7279a7795aadf0e6
108 +DIST rust-1.61.0-armv7-unknown-linux-gnueabihf.tar.xz.asc 801 BLAKE2B f4b93feba557d81638ead6c3ad72f2e5c321c1103b473096e312d8a3191e98aac65aff0ebcb6f2c23701de17f2602ba18a6462c24a678c2bc2a13e1003189271 SHA512 72d8152d206c1ca9d69ed4704b8638c32b5f136ad985fd4790961935f1b44f08df0960e03066de2dd1cc9f7a140e8070f0a6e671f59c751506847d9e247c5ecd
109 +DIST rust-1.61.0-i686-unknown-linux-gnu.tar.xz 218220208 BLAKE2B da47b131676258747e27704e2a1abb844567e2ac9ccffdd1c87edaa677e04b1fe73227f7b6afa437d8fe2f2690352623343b8318906038206b5b684fa8eafcc7 SHA512 f19e1a5253c57d250d4de7f0f54b70a296d92bba2e22d8b842bcbb311e393e3bf24c28621f490584497c586c6fdbc41f5af55d86a074b93efaa62d313121cc4a
110 +DIST rust-1.61.0-i686-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 3b154ab9d414ec6d7dea13c6b2d2def9613544b3d8f6464385fa390bb6228d73826032ed6e536a9a2dd379499ec500788b149c838d5ad1a50f545a47b19a2cbd SHA512 f06ab7e865bf56c153586e146438079ff3ee3de86c610e463cd0ce67c090349b9dd4fa587d9eab0dea4b908770bca0dab955f797ebcc5aee2617a981ff23eb23
111 +DIST rust-1.61.0-mips-unknown-linux-gnu.tar.xz 157918296 BLAKE2B 0551ab0898491129828be9cd7d6fd22a56c329f85ae9767c8ca216cac16ae3f93d30913c50c8cea8daa2f98878147e2f15f587e38e9e0fca7c8c4b6d3ead6870 SHA512 02cf5d1ed8c28bd52b7c27ba696de30ee23322ddd1e2ef953cd95a6d0b31c63ea66071bfb22c4d11a780243e62e21407d7ada2592b08caac67d7d79e7d9ee0f2
112 +DIST rust-1.61.0-mips-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 2d050374431b8d48b6a0a3e171d4d2f62cfd8a2df70ddbf0d374bb9351e684d15d3ade7f6717e6abba1de47c4899f0f7575a4ca537d1a39a57e03ea4b0ae281e SHA512 6e2d01d3b8218cae46008328226286abe3f4323891ab41129f9af94b4526d5b21700fa84c880b4efe38d39c57b2a0946eb82e3ac58950761b20f4def1d8b82f2
113 +DIST rust-1.61.0-mips64-unknown-linux-gnuabi64.tar.xz 162321252 BLAKE2B d49ec8d3a5eec2085a26b4da22a31e5631e3665333a030e4683446cfe3f71e86e466b827942d6a62d32f469ff7fe9208aa51ba9d47822a54d40d89bef45636e5 SHA512 1e6003127963b836c343ae06586b152b1f227529d05b555aefa0bd7d4b92124215cfa1038aba1236c0c42ecd8e429253db4faa13ed388c16a8659e71b0008fe7
114 +DIST rust-1.61.0-mips64-unknown-linux-gnuabi64.tar.xz.asc 801 BLAKE2B b031019589b12cdf45f0a938c7479ad219c257643b88108d0c524088530df783338d64c1b356055e34a38df8908653c25fc286949826bb7e3539d63c78c36a66 SHA512 ee9178251f5a79803871fa76a22395e4b43958582930f92cf1f5e76970c1583f9b0403da7c05bd8a7cdd83839b319a6640adcaaa5475e9ab5bffb43146116b09
115 +DIST rust-1.61.0-mipsel-unknown-linux-gnu.tar.xz 162148648 BLAKE2B 492e0c811c9fae9d0052fcdfffe6d96d43674e1775edaf31d63024e56763d44c02763fd70e768ac0987d260665b86d78aa55a0652f5acbf097a3e9a472aa4d9f SHA512 637b081d8357d46030ca206c8feb54a38d9696a0bdbbad9a892ee4a472f29976c82b814f14cc987ad9e473e70d22347e7e01e81f0f59e82dbaad62153c1ec32f
116 +DIST rust-1.61.0-mipsel-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 9323f7488fdf603e81018c4b6afa11da952eb6051e9480fee027326ebccd15befed97c75c981f621d7eda3daf2d082c5fb12af426e48cb4c0c733ab55c46af6e SHA512 9d1e6062c4a7714aa754ea586f9bbe3a988e5e6d1e6309316bde89fa83ccddb837e96a8de13fbd4b932c8fc37be89de06802f12f689e17b1ae6cd97b5e2db561
117 +DIST rust-1.61.0-powerpc-unknown-linux-gnu.tar.xz 180802408 BLAKE2B 41ecab76e35d9ee2b9658730f46ece4191e706714b3b90b6021b4bd9ed2c4f0d563e0c0b39bdc7e633237d55c5375379565d7932e7ffb4896851831f64f61559 SHA512 ed19698f32c1af73ba8c402395b6ee30381d1fff6026d2c94e45ad89ef197cffc1529dc21402e2b463deb47aba0ed4d63d69c62908cdc099da463835757f3fe3
118 +DIST rust-1.61.0-powerpc-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 438143b3474d0cb9e1a19b93de28544f02672e245bba7855da286fb15c58db93021e44d432fbe4a0949592b57cb23b373abd5c0a3f960f6975a0cf433352462e SHA512 7a570c64a79adf78c8c28342d9ab39e8ed953cd44b8038e03beb888b5611625bae95e88220c9c88236ff1672f20ad61976d116da7689cf29f53112deb9b75858
119 +DIST rust-1.61.0-powerpc64-unknown-linux-gnu.tar.xz 187335836 BLAKE2B 6feca68e47f7e19355ba623cda1d1cd15351017d388d94e2b9d6821493b8a77a09c95148a8fcf7124e3b0c9a9ee205c9f5c14af04172e2d02ea239355755b364 SHA512 b8afcb47653877dd47a808b4aecd95bca715a96311652e0616125e75bc5a457364b0caba2918e2e3e8df2d1fe0afb6fb384bbfa44fde25ebe0dd368414984acb
120 +DIST rust-1.61.0-powerpc64-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 20bc76dea5484d2a6bf60ffdacc1dacb8d3f7abdb428fee3b1d3e6e19d499f18afbe667a5de96a28005661bd0b4f5e4c8429df917a31b86d72b9aaa9ec56c7e0 SHA512 cf10c0f1ca50894deba5f02a4e3491fe61ea8def4b0f76fe790eb52ff66295d2570ae50acea66a51e710822d6109a2ab3c8f1e703388ae0ee19fcfc5657d4f38
121 +DIST rust-1.61.0-powerpc64le-unknown-linux-gnu.tar.xz 196945316 BLAKE2B 23ac372f7bbeac3eb757adcb6ca93187ad01492992327533452ab348ec899cb97f5ac9335b32039a62ccf4c34125de3c4b6c1d7829839c95f638b6531be59c57 SHA512 6cf969cef60d2b70db17902ceb71d2616de0df1ff4fda15578347372bf5a349fc8f4377eb1d003abb84a93a122ab0e54aac52c95568813148d3c0113d663a07f
122 +DIST rust-1.61.0-powerpc64le-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 6b4bdcba7c5b681512b98b39f8035788f612ee1c8f44d98d58f8a29bc71e470d57ae587a6ea2e02a22263d40bb452054d03483a3922db6c131d3947e65da23bb SHA512 cd102d958ad3ca62f534033473664e867892dce0ca8a2f96271ecfabe34e0afbd63d8281086c5cd692fdb961894313e7430ce2e1d14c3a686b40d8a514c124e3
123 +DIST rust-1.61.0-riscv64gc-unknown-linux-gnu.tar.xz 190408604 BLAKE2B 1f37d88201f0e3517194d810f99ce3167fa132c72f8580704750b926b838956157b1ccd303ccf5de15615733383d1009cc135ede7dd8dc7c1e39b4246a8ed604 SHA512 8f6f469484ff9c10af2b1a822a8193f313ac244783921c68dc1feee4d6897e7083cfb90d19384a266d41b97aeb845ef073ed955fb7beaf7e1810d682185c2d42
124 +DIST rust-1.61.0-riscv64gc-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B c413b2f55e3d45dbfccf193f5cb9f6866abf895d23c850e3744a0bd897c2c812f57457211efaab7416c0d8fc079cc4feaa35de879ad76356a961e704e711be46 SHA512 0155b4e0ba86cc190b85f2f82e8ee75c14825e52e05ab3446283512f0b42f113d85ef89d72e0929382637dc0a44ef72f06552957285463c2edd7f83d9c8234ff
125 +DIST rust-1.61.0-s390x-unknown-linux-gnu.tar.xz 214196912 BLAKE2B 31eeaabdbca2fa837610179eafd0cb6cde2ce8d4feb57e86cd1fc8962e1f8b84bf067d7782414380616d5b56fef5db19c91c54c89f5dd935debf6ed2d3841466 SHA512 7de0ea08c4834e60d12098d92d4366689c0b959f58667bc68e35ad3c976011e8d9375566cebd9260933e13bd74105d297dabf40a0d09b34f83905d4cb9995f7f
126 +DIST rust-1.61.0-s390x-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 617bfd93b883cc36c8504ac326813511bee205a508489be168060863d967efe9a2e8276c3834d872f419317047ba83624c996be9d6f913be58f9feab66f292b2 SHA512 933689de3c1fabc31dd1910844479b3505e1a8b8474fdaeb4936df118a6da4f9597c45f0a0056d5c1efc33ae8ffb2910f5aa07b91afbd231ad7c20f0c79ceeb4
127 +DIST rust-1.61.0-x86_64-unknown-linux-gnu.tar.xz 157592468 BLAKE2B 0877c0794280a5ab7e74553c02cebad67e36148a3f34a709973310d89d7ea65dc8ecfa8b9c461e4f96939ed2ff09b7bacbef0b4fcf409758a0429bc431f87ebe SHA512 365191453f37775cf8bed66e12224294d4d99f3bacc635c3c13f05bf8585838a04b602c2fef7964f26a6cc35ab432a5c0a9745e9ffad0a83b0c761ec02de3484
128 +DIST rust-1.61.0-x86_64-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 5296a8df210a4cf2fd7dffcba1ae6bd8cda9e408ff4c55d997199c2890b9faab9e8d6d22a3c0961786bb80231836047929621edf9043d474b352fe28bd9192e8 SHA512 cb97e84cd793aa8676c41297d8da14125855c008815e65d8191868eb88241ccb408c6f9ae85b7ba8de1a02ea8923f5e042f4fea662fa593e5ec03505b41ee52d
129 +DIST rust-1.61.0-x86_64-unknown-linux-musl.tar.xz 259724324 BLAKE2B d005bd2794d196136c42842fbb7bc64d827898b5713f768cf0e88be5a40e3906139027ee58571cfccd8d2c864f672d1986da28c72f0d1c4a7f78d18efe14385e SHA512 96d09ac3a48bb2956dd6bf219e605c68327a94d09e72290ee74781c4886dce93b217163fb08dac0ce69bfaa2e3ab8cccd4a26d10b9df4c3162822a38e355bdb6
130 +DIST rust-1.61.0-x86_64-unknown-linux-musl.tar.xz.asc 801 BLAKE2B e1c8061c80cd5445f7df9c44044ccb47731704b93d4e86cf95bd3b1b08a3c3cdb61e21349088cd0127632c63a0f7c22f0fa209809450dd81607bf7353d61a7b4 SHA512 587f487a3c8159a4b102f15a484a0ffa4f32c2abd2fb4ca078c27d36f6ff365c95015a99494e852631e9f92bfc9f33a0266c5f62b7edfce823c34993ff6a836b
131 DIST rustc-1.60.0-src.tar.xz 136183048 BLAKE2B 8030f32c21f81af6abc7a282aab1189cb7d680c6bce58c119a1beaad71a3eeb36a696eef46a22d366e2c41a2f9182a9a5aa527426f2c8db05278184c37297dd0 SHA512 d0c113e8c2c67bf10773c9403dc4c4700c4deb2fb287bfec51e565d3473d2b481d8ae2c90b272cd67b3a87d7443ea25a34c7b40ba8cd7106bf5d71126ab141c3
132 DIST rustc-1.60.0-src.tar.xz.asc 801 BLAKE2B 02a2c140e091ea6913a760daa93aa57ba6a7631d0b99867669ce68641d562d436f13ed1f1578713184f06c9307d46e19dfd7c8d74a516b04293bc65c02b90707 SHA512 8136d19d4f3f4c45249b59b689f01d4edf108535ffe1f813771bd244cde1c66184a0bde5a0acfed4fb01015812458204244bbb54e6f5fa86e9b1ef5e92e805e3
133 +DIST rustc-1.62.1-src.tar.xz 135644156 BLAKE2B ff8428362153770c57d53cb7eef07b75944d47ec747d9c337cc7ba9f38dfd749415c9a00acf9d9d8743874ba1c51da7915315bd25e011eeb8a2aaa8812773850 SHA512 6f7fa855acdf20525e907a6fc8c7aa8b206603e3bcbd532d3bdce165380f0019f45dba2b2b06d20b541381accf67ca0d256fbddfcb1642a2e60e1237807d5410
134 +DIST rustc-1.62.1-src.tar.xz.asc 801 BLAKE2B dd0e917f8b587eb8318a9c820df5ee9a052f14e7dea05d8afcb3cf687fa2e362e6d2f4d20fa94a19bdf97227c9ef29548a6e267ffd9113bfdc36cc42f341d8b8 SHA512 698bfd419c218a6cccce04869279708cf6084adc464a64d7dd1c981c0577249cd06b4de132634085c792c838aa1e1beaa11a5a06ea0e5f4c1a6f4e28afe65a3c
135
136 diff --git a/dev-lang/rust/files/1.62.1-musl-dynamic-linking.patch b/dev-lang/rust/files/1.62.1-musl-dynamic-linking.patch
137 new file mode 100644
138 index 00000000..6d53487a
139 --- /dev/null
140 +++ b/dev-lang/rust/files/1.62.1-musl-dynamic-linking.patch
141 @@ -0,0 +1,25 @@
142 +From e42709c46647dab342b826d30324f3e6e5590e00 Mon Sep 17 00:00:00 2001
143 +From: Jory Pratt <anarchy@g.o>
144 +Date: Tue, 2 Aug 2022 18:32:53 -0500
145 +Subject: [PATCH] Enable dynamic linking by default for musl
146 +
147 +Signed-off-by: Jory Pratt <anarchy@g.o>
148 +---
149 + compiler/rustc_target/src/spec/linux_musl_base.rs | 2 +-
150 + 1 file changed, 1 insertion(+), 1 deletion(-)
151 +
152 +diff --git a/compiler/rustc_target/src/spec/linux_musl_base.rs b/compiler/rustc_target/src/spec/linux_musl_base.rs
153 +index 207a87ab0..8a5a43363 100644
154 +--- a/compiler/rustc_target/src/spec/linux_musl_base.rs
155 ++++ b/compiler/rustc_target/src/spec/linux_musl_base.rs
156 +@@ -10,7 +10,7 @@ pub fn opts() -> TargetOptions {
157 + base.crt_objects_fallback = Some(CrtObjectsFallback::Musl);
158 +
159 + // These targets statically link libc by default
160 +- base.crt_static_default = true;
161 ++ base.crt_static_default = false;
162 +
163 + base
164 + }
165 +--
166 +2.35.1
167 \ No newline at end of file
168
169 diff --git a/dev-lang/rust/rust-1.58.1.ebuild b/dev-lang/rust/rust-1.58.1.ebuild
170 deleted file mode 100644
171 index f663a781..00000000
172 --- a/dev-lang/rust/rust-1.58.1.ebuild
173 +++ /dev/null
174 @@ -1,704 +0,0 @@
175 -# Copyright 1999-2022 Gentoo Authors
176 -# Distributed under the terms of the GNU General Public License v2
177 -
178 -EAPI=7
179 -
180 -PYTHON_COMPAT=( python3_{7..10} )
181 -
182 -inherit bash-completion-r1 check-reqs estack flag-o-matic llvm multiprocessing \
183 - multilib multilib-build python-any-r1 rust-toolchain toolchain-funcs verify-sig
184 -
185 -if [[ ${PV} = *beta* ]]; then
186 - betaver=${PV//*beta}
187 - BETA_SNAPSHOT="${betaver:0:4}-${betaver:4:2}-${betaver:6:2}"
188 - MY_P="rustc-beta"
189 - SLOT="beta/${PV}"
190 - SRC="${BETA_SNAPSHOT}/rustc-beta-src.tar.xz -> rustc-${PV}-src.tar.xz"
191 -else
192 - ABI_VER="$(ver_cut 1-2)"
193 - SLOT="stable/${ABI_VER}"
194 - MY_P="rustc-${PV}"
195 - SRC="${MY_P}-src.tar.xz"
196 - KEYWORDS="amd64 arm64"
197 -fi
198 -
199 -RUST_STAGE0_VERSION="1.$(($(ver_cut 2) - 1)).0"
200 -
201 -DESCRIPTION="Systems programming language from Mozilla"
202 -HOMEPAGE="https://www.rust-lang.org/"
203 -
204 -SRC_URI="
205 - https://static.rust-lang.org/dist/${SRC}
206 - verify-sig? ( https://static.rust-lang.org/dist/${SRC}.asc )
207 - !system-bootstrap? ( $(rust_all_arch_uris rust-${RUST_STAGE0_VERSION}) )
208 -"
209 -
210 -# keep in sync with llvm ebuild of the same version as bundled one.
211 -ALL_LLVM_TARGETS=( AArch64 AMDGPU ARM AVR BPF Hexagon Lanai Mips MSP430
212 - NVPTX PowerPC RISCV Sparc SystemZ WebAssembly X86 XCore )
213 -ALL_LLVM_TARGETS=( "${ALL_LLVM_TARGETS[@]/#/llvm_targets_}" )
214 -LLVM_TARGET_USEDEPS=${ALL_LLVM_TARGETS[@]/%/(-)?}
215 -
216 -LICENSE="|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA"
217 -
218 -IUSE="clippy cpu_flags_x86_sse2 debug dist doc miri nightly parallel-compiler rls rustfmt rust-src system-bootstrap system-llvm test wasm ${ALL_LLVM_TARGETS[*]}"
219 -
220 -# Please keep the LLVM dependency block separate. Since LLVM is slotted,
221 -# we need to *really* make sure we're not pulling more than one slot
222 -# simultaneously.
223 -
224 -# How to use it:
225 -# List all the working slots in LLVM_VALID_SLOTS, newest first.
226 -LLVM_VALID_SLOTS=( 13 )
227 -LLVM_MAX_SLOT="${LLVM_VALID_SLOTS[0]}"
228 -
229 -# splitting usedeps needed to avoid CI/pkgcheck's UncheckableDep limitation
230 -# (-) usedep needed because we may build with older llvm without that target
231 -LLVM_DEPEND="|| ( "
232 -for _s in ${LLVM_VALID_SLOTS[@]}; do
233 - LLVM_DEPEND+=" ( "
234 - for _x in ${ALL_LLVM_TARGETS[@]}; do
235 - LLVM_DEPEND+="
236 - ${_x}? ( sys-devel/llvm:${_s}[${_x}(-)] )"
237 - done
238 - LLVM_DEPEND+=" )"
239 -done
240 -unset _s _x
241 -LLVM_DEPEND+=" )
242 - <sys-devel/llvm-$(( LLVM_MAX_SLOT + 1 )):=
243 - wasm? ( sys-devel/lld )
244 -"
245 -
246 -# to bootstrap we need at least exactly previous version, or same.
247 -# most of the time previous versions fail to bootstrap with newer
248 -# for example 1.47.x, requires at least 1.46.x, 1.47.x is ok,
249 -# but it fails to bootstrap with 1.48.x
250 -# https://github.com/rust-lang/rust/blob/${PV}/src/stage0.txt
251 -RUST_DEP_PREV="$(ver_cut 1).$(($(ver_cut 2) - 1))*"
252 -RUST_DEP_CURR="$(ver_cut 1).$(ver_cut 2)*"
253 -BOOTSTRAP_DEPEND="||
254 - (
255 - =dev-lang/rust-"${RUST_DEP_PREV}"
256 - =dev-lang/rust-bin-"${RUST_DEP_PREV}"
257 - =dev-lang/rust-"${RUST_DEP_CURR}"
258 - =dev-lang/rust-bin-"${RUST_DEP_CURR}"
259 - )
260 -"
261 -
262 -BDEPEND="${PYTHON_DEPS}
263 - app-eselect/eselect-rust
264 - || (
265 - >=sys-devel/gcc-4.7
266 - >=sys-devel/clang-3.5
267 - )
268 - system-bootstrap? ( ${BOOTSTRAP_DEPEND} )
269 - !system-llvm? (
270 - >=dev-util/cmake-3.13.4
271 - dev-util/ninja
272 - )
273 - test? ( sys-devel/gdb )
274 - verify-sig? ( sec-keys/openpgp-keys-rust )
275 -"
276 -
277 -DEPEND="
278 - >=app-arch/xz-utils-5.2
279 - net-misc/curl:=[http2,ssl]
280 - sys-libs/zlib:=
281 - dev-libs/openssl:0=
282 - elibc_musl? ( sys-libs/libunwind:= )
283 - system-llvm? ( ${LLVM_DEPEND} )
284 -"
285 -
286 -# we need to block older versions due to layout changes.
287 -RDEPEND="${DEPEND}
288 - app-eselect/eselect-rust
289 - !<dev-lang/rust-1.47.0-r1
290 - !<dev-lang/rust-bin-1.47.0-r1
291 -"
292 -
293 -REQUIRED_USE="|| ( ${ALL_LLVM_TARGETS[*]} )
294 - miri? ( nightly )
295 - parallel-compiler? ( nightly )
296 - rls? ( rust-src )
297 - test? ( ${ALL_LLVM_TARGETS[*]} )
298 - wasm? ( llvm_targets_WebAssembly )
299 - x86? ( cpu_flags_x86_sse2 )
300 -"
301 -
302 -# we don't use cmake.eclass, but can get a warning
303 -CMAKE_WARN_UNUSED_CLI=no
304 -
305 -QA_FLAGS_IGNORED="
306 - usr/lib/${PN}/${PV}/bin/.*
307 - usr/lib/${PN}/${PV}/libexec/.*
308 - usr/lib/${PN}/${PV}/lib/lib.*.so
309 - usr/lib/${PN}/${PV}/lib/rustlib/.*/bin/.*
310 - usr/lib/${PN}/${PV}/lib/rustlib/.*/lib/lib.*.so
311 -"
312 -
313 -QA_SONAME="
314 - usr/lib/${PN}/${PV}/lib/lib.*.so.*
315 - usr/lib/${PN}/${PV}/lib/rustlib/.*/lib/lib.*.so
316 -"
317 -
318 -QA_PRESTRIPPED="
319 - usr/lib/rust/${PV}/lib/rustlib/.*/bin/rust-llvm-dwp
320 -"
321 -# An rmeta file is custom binary format that contains the metadata for the crate.
322 -# rmeta files do not support linking, since they do not contain compiled object files.
323 -# so we can safely silence the warning for this QA check.
324 -QA_EXECSTACK="usr/lib/${PN}/${PV}/lib/rustlib/*/lib*.rlib:lib.rmeta"
325 -
326 -# causes double bootstrap
327 -RESTRICT="test"
328 -
329 -VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/rust.asc
330 -
331 -PATCHES=(
332 - "${FILESDIR}"/1.55.0-ignore-broken-and-non-applicable-tests.patch
333 - "${FILESDIR}"/1.56.1-musl-dynamic-linking.patch
334 -)
335 -
336 -S="${WORKDIR}/${MY_P}-src"
337 -
338 -toml_usex() {
339 - usex "${1}" true false
340 -}
341 -
342 -bootstrap_rust_version_check() {
343 - # never call from pkg_pretend. eselect-rust may be not installed yet.
344 - [[ ${MERGE_TYPE} == binary ]] && return
345 - local rustc_wanted="$(ver_cut 1).$(($(ver_cut 2) - 1))"
346 - local rustc_toonew="$(ver_cut 1).$(($(ver_cut 2) + 1))"
347 - local rustc_version=( $(eselect --brief rust show 2>/dev/null) )
348 - rustc_version=${rustc_version[0]#rust-bin-}
349 - rustc_version=${rustc_version#rust-}
350 -
351 - [[ -z "${rustc_version}" ]] && die "Failed to determine rust version, check 'eselect rust' output"
352 -
353 - if ver_test "${rustc_version}" -lt "${rustc_wanted}" ; then
354 - eerror "Rust >=${rustc_wanted} is required"
355 - eerror "please run 'eselect rust' and set correct rust version"
356 - die "selected rust version is too old"
357 - elif ver_test "${rustc_version}" -ge "${rustc_toonew}" ; then
358 - eerror "Rust <${rustc_toonew} is required"
359 - eerror "please run 'eselect rust' and set correct rust version"
360 - die "selected rust version is too new"
361 - else
362 - einfo "Using rust ${rustc_version} to build"
363 - fi
364 -}
365 -
366 -pre_build_checks() {
367 - local M=4096
368 - # multiply requirements by 1.5 if we are doing x86-multilib
369 - if use amd64; then
370 - M=$(( $(usex abi_x86_32 15 10) * ${M} / 10 ))
371 - fi
372 - M=$(( $(usex clippy 128 0) + ${M} ))
373 - M=$(( $(usex miri 128 0) + ${M} ))
374 - M=$(( $(usex rls 512 0) + ${M} ))
375 - M=$(( $(usex rustfmt 256 0) + ${M} ))
376 - # add 2G if we compile llvm and 256M per llvm_target
377 - if ! use system-llvm; then
378 - M=$(( 2048 + ${M} ))
379 - local ltarget
380 - for ltarget in ${ALL_LLVM_TARGETS[@]}; do
381 - M=$(( $(usex ${ltarget} 256 0) + ${M} ))
382 - done
383 - fi
384 - M=$(( $(usex wasm 256 0) + ${M} ))
385 - M=$(( $(usex debug 2 1) * ${M} ))
386 - eshopts_push -s extglob
387 - if is-flagq '-g?(gdb)?([1-9])'; then
388 - M=$(( 15 * ${M} / 10 ))
389 - fi
390 - eshopts_pop
391 - M=$(( $(usex system-bootstrap 0 1024) + ${M} ))
392 - M=$(( $(usex doc 256 0) + ${M} ))
393 - CHECKREQS_DISK_BUILD=${M}M check-reqs_pkg_${EBUILD_PHASE}
394 -}
395 -
396 -llvm_check_deps() {
397 - has_version -r "sys-devel/llvm:${LLVM_SLOT}[${LLVM_TARGET_USEDEPS// /,}]"
398 -}
399 -
400 -pkg_pretend() {
401 - pre_build_checks
402 -}
403 -
404 -pkg_setup() {
405 - pre_build_checks
406 - python-any-r1_pkg_setup
407 -
408 - export LIBGIT2_NO_PKG_CONFIG=1 #749381
409 -
410 - use system-bootstrap && bootstrap_rust_version_check
411 -
412 - if use system-llvm; then
413 - llvm_pkg_setup
414 -
415 - local llvm_config="$(get_llvm_prefix "${LLVM_MAX_SLOT}")/bin/llvm-config"
416 - export LLVM_LINK_SHARED=1
417 - export RUSTFLAGS="${RUSTFLAGS} -Lnative=$("${llvm_config}" --libdir)"
418 - fi
419 -}
420 -
421 -src_prepare() {
422 - if ! use system-bootstrap; then
423 - local rust_stage0_root="${WORKDIR}"/rust-stage0
424 - local rust_stage0="rust-${RUST_STAGE0_VERSION}-$(rust_abi)"
425 -
426 - "${WORKDIR}/${rust_stage0}"/install.sh --disable-ldconfig \
427 - --without=rust-docs --destdir="${rust_stage0_root}" --prefix=/ || die
428 - fi
429 -
430 - default
431 -}
432 -
433 -src_configure() {
434 - local rust_target="" rust_targets="" arch_cflags
435 -
436 - # Collect rust target names to compile standard libs for all ABIs.
437 - for v in $(multilib_get_enabled_abi_pairs); do
438 - rust_targets="${rust_targets},\"$(rust_abi $(get_abi_CHOST ${v##*.}))\""
439 - done
440 - if use wasm; then
441 - rust_targets="${rust_targets},\"wasm32-unknown-unknown\""
442 - if use system-llvm; then
443 - # un-hardcode rust-lld linker for this target
444 - # https://bugs.gentoo.org/715348
445 - sed -i '/linker:/ s/rust-lld/wasm-ld/' compiler/rustc_target/src/spec/wasm_base.rs || die
446 - fi
447 - fi
448 - rust_targets="${rust_targets#,}"
449 -
450 - local tools="\"cargo\","
451 - if use clippy; then
452 - tools="\"clippy\",$tools"
453 - fi
454 - if use miri; then
455 - tools="\"miri\",$tools"
456 - fi
457 - if use rls; then
458 - tools="\"rls\",\"analysis\",$tools"
459 - fi
460 - if use rustfmt; then
461 - tools="\"rustfmt\",$tools"
462 - fi
463 - if use rust-src; then
464 - tools="\"src\",$tools"
465 - fi
466 -
467 - local rust_stage0_root
468 - if use system-bootstrap; then
469 - local printsysroot
470 - printsysroot="$(rustc --print sysroot || die "Can't determine rust's sysroot")"
471 - rust_stage0_root="${printsysroot}"
472 - else
473 - rust_stage0_root="${WORKDIR}"/rust-stage0
474 - fi
475 - # in case of prefix it will be already prefixed, as --print sysroot returns full path
476 - [[ -d ${rust_stage0_root} ]] || die "${rust_stage0_root} is not a directory"
477 -
478 - rust_target="$(rust_abi)"
479 -
480 - cat <<- _EOF_ > "${S}"/config.toml
481 - changelog-seen = 2
482 - [llvm]
483 - download-ci-llvm = false
484 - optimize = $(toml_usex !debug)
485 - release-debuginfo = $(toml_usex debug)
486 - assertions = $(toml_usex debug)
487 - ninja = true
488 - targets = "${LLVM_TARGETS// /;}"
489 - experimental-targets = ""
490 - link-shared = $(toml_usex system-llvm)
491 - $(case "${rust_target}" in
492 - i586-*-linux-*)
493 - # https://github.com/rust-lang/rust/issues/93059
494 - echo 'cflags = "-fcf-protection=none"'
495 - echo 'cxxflags = "-fcf-protection=none"'
496 - echo 'ldflags = "-fcf-protection=none"'
497 - ;;
498 - esac)
499 - [build]
500 - build-stage = 2
501 - test-stage = 2
502 - doc-stage = 2
503 - build = "${rust_target}"
504 - host = ["${rust_target}"]
505 - target = [${rust_targets}]
506 - cargo = "${rust_stage0_root}/bin/cargo"
507 - rustc = "${rust_stage0_root}/bin/rustc"
508 - rustfmt = "${rust_stage0_root}/bin/rustfmt"
509 - docs = $(toml_usex doc)
510 - compiler-docs = false
511 - submodules = false
512 - python = "${EPYTHON}"
513 - locked-deps = true
514 - vendor = true
515 - extended = true
516 - tools = [${tools}]
517 - verbose = 2
518 - sanitizers = false
519 - profiler = false
520 - cargo-native-static = false
521 - [install]
522 - prefix = "${EPREFIX}/usr/lib/${PN}/${PV}"
523 - sysconfdir = "etc"
524 - docdir = "share/doc/rust"
525 - bindir = "bin"
526 - libdir = "lib"
527 - mandir = "share/man"
528 - [rust]
529 - # https://github.com/rust-lang/rust/issues/54872
530 - codegen-units-std = 1
531 - optimize = true
532 - debug = $(toml_usex debug)
533 - debug-assertions = $(toml_usex debug)
534 - debug-assertions-std = $(toml_usex debug)
535 - debuginfo-level = $(usex debug 2 0)
536 - debuginfo-level-rustc = $(usex debug 2 0)
537 - debuginfo-level-std = $(usex debug 2 0)
538 - debuginfo-level-tools = $(usex debug 2 0)
539 - debuginfo-level-tests = 0
540 - backtrace = true
541 - incremental = false
542 - default-linker = "$(tc-getCC)"
543 - parallel-compiler = $(toml_usex parallel-compiler)
544 - channel = "$(usex nightly nightly stable)"
545 - description = "gentoo"
546 - rpath = false
547 - verbose-tests = true
548 - optimize-tests = $(toml_usex !debug)
549 - codegen-tests = true
550 - dist-src = false
551 - remap-debuginfo = true
552 - lld = $(usex system-llvm false $(toml_usex wasm))
553 - # only deny warnings if doc+wasm are NOT requested, documenting stage0 wasm std fails without it
554 - # https://github.com/rust-lang/rust/issues/74976
555 - # https://github.com/rust-lang/rust/issues/76526
556 - deny-warnings = $(usex wasm $(usex doc false true) true)
557 - backtrace-on-ice = true
558 - jemalloc = false
559 - [dist]
560 - src-tarball = false
561 - compression-formats = ["xz"]
562 - _EOF_
563 -
564 - for v in $(multilib_get_enabled_abi_pairs); do
565 - rust_target=$(rust_abi $(get_abi_CHOST ${v##*.}))
566 - arch_cflags="$(get_abi_CFLAGS ${v##*.})"
567 -
568 - cat <<- _EOF_ >> "${S}"/config.env
569 - CFLAGS_${rust_target}=${arch_cflags}
570 - _EOF_
571 -
572 - cat <<- _EOF_ >> "${S}"/config.toml
573 - [target.${rust_target}]
574 - ar = "$(tc-getAR)"
575 - cc = "$(tc-getCC)"
576 - cxx = "$(tc-getCXX)"
577 - linker = "$(tc-getCC)"
578 - ranlib = "$(tc-getRANLIB)"
579 - _EOF_
580 - # librustc_target/spec/linux_musl_base.rs sets base.crt_static_default = true;
581 - if use elibc_musl; then
582 - cat <<- _EOF_ >> "${S}"/config.toml
583 - crt-static = false
584 - _EOF_
585 - fi
586 - if use system-llvm; then
587 - cat <<- _EOF_ >> "${S}"/config.toml
588 - llvm-config = "$(get_llvm_prefix "${LLVM_MAX_SLOT}")/bin/llvm-config"
589 - _EOF_
590 - fi
591 - done
592 - if use wasm; then
593 - cat <<- _EOF_ >> "${S}"/config.toml
594 - [target.wasm32-unknown-unknown]
595 - linker = "$(usex system-llvm lld rust-lld)"
596 - _EOF_
597 - fi
598 -
599 - if [[ -n ${I_KNOW_WHAT_I_AM_DOING_CROSS} ]]; then # whitespace intentionally shifted below
600 - # experimental cross support
601 - # discussion: https://bugs.gentoo.org/679878
602 - # TODO: c*flags, clang, system-llvm, cargo.eclass target support
603 - # it would be much better if we could split out stdlib
604 - # complilation to separate ebuild and abuse CATEGORY to
605 - # just install to /usr/lib/rustlib/<target>
606 -
607 - # extra targets defined as a bash array
608 - # spec format: <LLVM target>:<rust-target>:<CTARGET>
609 - # best place would be /etc/portage/env/dev-lang/rust
610 - # Example:
611 - # RUST_CROSS_TARGETS=(
612 - # "AArch64:aarch64-unknown-linux-gnu:aarch64-unknown-linux-gnu"
613 - # )
614 - # no extra hand holding is done, no target transformations, all
615 - # values are passed as-is with just basic checks, so it's up to user to supply correct values
616 - # valid rust targets can be obtained with
617 - # rustc --print target-list
618 - # matching cross toolchain has to be installed
619 - # matching LLVM_TARGET has to be enabled for both rust and llvm (if using system one)
620 - # only gcc toolchains installed with crossdev are checked for now.
621 -
622 - # BUG: we can't pass host flags to cross compiler, so just filter for now
623 - # BUG: this should be more fine-grained.
624 - filter-flags '-mcpu=*' '-march=*' '-mtune=*'
625 -
626 - local cross_target_spec
627 - for cross_target_spec in "${RUST_CROSS_TARGETS[@]}";do
628 - # extracts first element form <LLVM target>:<rust-target>:<CTARGET>
629 - local cross_llvm_target="${cross_target_spec%%:*}"
630 - # extracts toolchain triples, <rust-target>:<CTARGET>
631 - local cross_triples="${cross_target_spec#*:}"
632 - # extracts first element after before : separator
633 - local cross_rust_target="${cross_triples%%:*}"
634 - # extracts last element after : separator
635 - local cross_toolchain="${cross_triples##*:}"
636 - use llvm_targets_${cross_llvm_target} || die "need llvm_targets_${cross_llvm_target} target enabled"
637 - command -v ${cross_toolchain}-gcc > /dev/null 2>&1 || die "need ${cross_toolchain} cross toolchain"
638 -
639 - cat <<- _EOF_ >> "${S}"/config.toml
640 - [target.${cross_rust_target}]
641 - ar = "${cross_toolchain}-ar"
642 - cc = "${cross_toolchain}-gcc"
643 - cxx = "${cross_toolchain}-g++"
644 - linker = "${cross_toolchain}-gcc"
645 - ranlib = "${cross_toolchain}-ranlib"
646 - _EOF_
647 - if use system-llvm; then
648 - cat <<- _EOF_ >> "${S}"/config.toml
649 - llvm-config = "$(get_llvm_prefix "${LLVM_MAX_SLOT}")/bin/llvm-config"
650 - _EOF_
651 - fi
652 - if [[ "${cross_toolchain}" == *-musl* ]]; then
653 - cat <<- _EOF_ >> "${S}"/config.toml
654 - musl-root = "$(${cross_toolchain}-gcc -print-sysroot)/usr"
655 - _EOF_
656 - fi
657 -
658 - # append cross target to "normal" target list
659 - # example 'target = ["powerpc64le-unknown-linux-gnu"]'
660 - # becomes 'target = ["powerpc64le-unknown-linux-gnu","aarch64-unknown-linux-gnu"]'
661 -
662 - rust_targets="${rust_targets},\"${cross_rust_target}\""
663 - sed -i "/^target = \[/ s#\[.*\]#\[${rust_targets}\]#" config.toml || die
664 -
665 - ewarn
666 - ewarn "Enabled ${cross_rust_target} rust target"
667 - ewarn "Using ${cross_toolchain} cross toolchain"
668 - ewarn
669 - if ! has_version -b 'sys-devel/binutils[multitarget]' ; then
670 - ewarn "'sys-devel/binutils[multitarget]' is not installed"
671 - ewarn "'strip' will be unable to strip cross libraries"
672 - ewarn "cross targets will be installed with full debug information"
673 - ewarn "enable 'multitarget' USE flag for binutils to be able to strip object files"
674 - ewarn
675 - ewarn "Alternatively llvm-strip can be used, it supports stripping any target"
676 - ewarn "define STRIP=\"llvm-strip\" to use it (experimental)"
677 - ewarn
678 - fi
679 - done
680 - fi # I_KNOW_WHAT_I_AM_DOING_CROSS
681 -
682 - einfo "Rust configured with the following flags:"
683 - echo
684 - echo RUSTFLAGS="${RUSTFLAGS:-}"
685 - echo RUSTFLAGS_BOOTSTRAP="${RUSTFLAGS_BOOTSTRAP:-}"
686 - echo RUSTFLAGS_NOT_BOOTSTRAP="${RUSTFLAGS_NOT_BOOTSTRAP:-}"
687 - env | grep "CARGO_TARGET_.*_RUSTFLAGS="
688 - cat "${S}"/config.env || die
689 - echo
690 - einfo "config.toml contents:"
691 - cat "${S}"/config.toml || die
692 - echo
693 -}
694 -
695 -src_compile() {
696 - # we need \n IFS to have config.env with spaces loaded properly. #734018
697 - (
698 - IFS=$'\n'
699 - env $(cat "${S}"/config.env) RUST_BACKTRACE=1\
700 - "${EPYTHON}" ./x.py build -vv --config="${S}"/config.toml -j$(makeopts_jobs) || die
701 - )
702 -}
703 -
704 -src_test() {
705 - # https://rustc-dev-guide.rust-lang.org/tests/intro.html
706 -
707 - # those are basic and codegen tests.
708 - local tests=(
709 - codegen
710 - codegen-units
711 - compile-fail
712 - incremental
713 - mir-opt
714 - pretty
715 - run-make
716 - )
717 -
718 - # fails if llvm is not built with ALL targets.
719 - # and known to fail with system llvm sometimes.
720 - use system-llvm || tests+=( assembly )
721 -
722 - # fragile/expensive/less important tests
723 - # or tests that require extra builds
724 - # TODO: instead of skipping, just make some nonfatal.
725 - if [[ ${ERUST_RUN_EXTRA_TESTS:-no} != no ]]; then
726 - tests+=(
727 - rustdoc
728 - rustdoc-js
729 - rustdoc-js-std
730 - rustdoc-ui
731 - run-make-fulldeps
732 - ui
733 - ui-fulldeps
734 - )
735 - fi
736 -
737 - local i failed=()
738 - einfo "rust_src_test: enabled tests ${tests[@]/#/src/test/}"
739 - for i in "${tests[@]}"; do
740 - local t="src/test/${i}"
741 - einfo "rust_src_test: running ${t}"
742 - if ! (
743 - IFS=$'\n'
744 - env $(cat "${S}"/config.env) RUST_BACKTRACE=1 \
745 - "${EPYTHON}" ./x.py test -vv --config="${S}"/config.toml \
746 - -j$(makeopts_jobs) --no-doc --no-fail-fast "${t}"
747 - )
748 - then
749 - failed+=( "${t}" )
750 - eerror "rust_src_test: ${t} failed"
751 - fi
752 - done
753 -
754 - if [[ ${#failed[@]} -ne 0 ]]; then
755 - eerror "rust_src_test: failure summary: ${failed[@]}"
756 - die "aborting due to test failures"
757 - fi
758 -}
759 -
760 -src_install() {
761 - (
762 - IFS=$'\n'
763 - env $(cat "${S}"/config.env) DESTDIR="${D}" \
764 - "${EPYTHON}" ./x.py install -vv --config="${S}"/config.toml -j$(makeopts_jobs) || die
765 - )
766 -
767 - # bug #689562, #689160
768 - rm -v "${ED}/usr/lib/${PN}/${PV}/etc/bash_completion.d/cargo" || die
769 - rmdir -v "${ED}/usr/lib/${PN}/${PV}"/etc{/bash_completion.d,} || die
770 - newbashcomp src/tools/cargo/src/etc/cargo.bashcomp.sh cargo
771 -
772 - local symlinks=(
773 - cargo
774 - rustc
775 - rustdoc
776 - rust-gdb
777 - rust-gdbgui
778 - rust-lldb
779 - )
780 -
781 - use clippy && symlinks+=( clippy-driver cargo-clippy )
782 - use miri && symlinks+=( miri cargo-miri )
783 - use rls && symlinks+=( rls )
784 - use rustfmt && symlinks+=( rustfmt cargo-fmt )
785 -
786 - einfo "installing eselect-rust symlinks and paths: ${symlinks[@]}"
787 - local i
788 - for i in "${symlinks[@]}"; do
789 - # we need realpath on /usr/bin/* symlink return version-appended binary path.
790 - # so /usr/bin/rustc should point to /usr/lib/rust/<ver>/bin/rustc-<ver>
791 - # need to fix eselect-rust to remove this hack.
792 - local ver_i="${i}-${PV}"
793 - if [[ -f "${ED}/usr/lib/${PN}/${PV}/bin/${i}" ]]; then
794 - einfo "Installing ${i} symlink"
795 - ln -v "${ED}/usr/lib/${PN}/${PV}/bin/${i}" "${ED}/usr/lib/${PN}/${PV}/bin/${ver_i}" || die
796 - else
797 - ewarn "${i} symlink requested, but source file not found"
798 - ewarn "please report this"
799 - fi
800 - dosym "../lib/${PN}/${PV}/bin/${ver_i}" "/usr/bin/${ver_i}"
801 - done
802 -
803 - # symlinks to switch components to active rust in eselect
804 - dosym "${PV}/lib" "/usr/lib/${PN}/lib-${PV}"
805 - dosym "${PV}/libexec" "/usr/lib/${PN}/libexec-${PV}"
806 - dosym "${PV}/share/man" "/usr/lib/${PN}/man-${PV}"
807 - dosym "rust/${PV}/lib/rustlib" "/usr/lib/rustlib-${PV}"
808 - dosym "../../lib/${PN}/${PV}/share/doc/rust" "/usr/share/doc/${P}"
809 -
810 - newenvd - "50${P}" <<-_EOF_
811 - LDPATH="${EPREFIX}/usr/lib/rust/lib"
812 - MANPATH="${EPREFIX}/usr/lib/rust/man"
813 - $(use amd64 && usex elibc_musl 'CARGO_TARGET_X86_64_UNKNOWN_LINUX_MUSL_RUSTFLAGS="-C target-feature=-crt-static"' '')
814 - $(use arm64 && usex elibc_musl 'CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_RUSTFLAGS="-C target-feature=-crt-static"' '')
815 - _EOF_
816 -
817 - rm -rf "${ED}/usr/lib/${PN}/${PV}"/*.old || die
818 - rm -rf "${ED}/usr/lib/${PN}/${PV}/doc"/*.old || die
819 -
820 - # note: eselect-rust adds EROOT to all paths below
821 - cat <<-_EOF_ > "${T}/provider-${P}"
822 - /usr/bin/cargo
823 - /usr/bin/rustdoc
824 - /usr/bin/rust-gdb
825 - /usr/bin/rust-gdbgui
826 - /usr/bin/rust-lldb
827 - /usr/lib/rustlib
828 - /usr/lib/rust/lib
829 - /usr/lib/rust/libexec
830 - /usr/lib/rust/man
831 - /usr/share/doc/rust
832 - _EOF_
833 -
834 - if use clippy; then
835 - echo /usr/bin/clippy-driver >> "${T}/provider-${P}"
836 - echo /usr/bin/cargo-clippy >> "${T}/provider-${P}"
837 - fi
838 - if use miri; then
839 - echo /usr/bin/miri >> "${T}/provider-${P}"
840 - echo /usr/bin/cargo-miri >> "${T}/provider-${P}"
841 - fi
842 - if use rls; then
843 - echo /usr/bin/rls >> "${T}/provider-${P}"
844 - fi
845 - if use rustfmt; then
846 - echo /usr/bin/rustfmt >> "${T}/provider-${P}"
847 - echo /usr/bin/cargo-fmt >> "${T}/provider-${P}"
848 - fi
849 -
850 - insinto /etc/env.d/rust
851 - doins "${T}/provider-${P}"
852 -
853 - if use dist; then
854 - insinto "/usr/lib/${PN}/${PV}/dist"
855 - doins -r "${S}/build/dist/."
856 - fi
857 -}
858 -
859 -pkg_postinst() {
860 - eselect rust update
861 -
862 - if has_version sys-devel/gdb || has_version dev-util/lldb; then
863 - elog "Rust installs a helper script for calling GDB and LLDB,"
864 - elog "for your convenience it is installed under /usr/bin/rust-{gdb,lldb}-${PV}."
865 - fi
866 -
867 - if has_version app-editors/emacs; then
868 - elog "install app-emacs/rust-mode to get emacs support for rust."
869 - fi
870 -
871 - if has_version app-editors/gvim || has_version app-editors/vim; then
872 - elog "install app-vim/rust-vim to get vim support for rust."
873 - fi
874 -}
875 -
876 -pkg_postrm() {
877 - eselect rust cleanup
878 -}
879
880 diff --git a/dev-lang/rust/rust-1.59.0.ebuild b/dev-lang/rust/rust-1.62.1.ebuild
881 similarity index 92%
882 rename from dev-lang/rust/rust-1.59.0.ebuild
883 rename to dev-lang/rust/rust-1.62.1.ebuild
884 index b686bc82..96528b5e 100644
885 --- a/dev-lang/rust/rust-1.59.0.ebuild
886 +++ b/dev-lang/rust/rust-1.62.1.ebuild
887 @@ -1,9 +1,9 @@
888 # Copyright 1999-2022 Gentoo Authors
889 # Distributed under the terms of the GNU General Public License v2
890
891 -EAPI=7
892 +EAPI=8
893
894 -PYTHON_COMPAT=( python3_{7..10} )
895 +PYTHON_COMPAT=( python3_{8..11} )
896
897 inherit bash-completion-r1 check-reqs estack flag-o-matic llvm multiprocessing \
898 multilib multilib-build python-any-r1 rust-toolchain toolchain-funcs verify-sig
899 @@ -19,10 +19,10 @@ else
900 SLOT="stable/${ABI_VER}"
901 MY_P="rustc-${PV}"
902 SRC="${MY_P}-src.tar.xz"
903 - KEYWORDS="amd64 ~arm arm64 ppc64 x86"
904 + KEYWORDS="amd64 arm arm64 ppc64 ~x86"
905 fi
906
907 -RUST_STAGE0_VERSION="1.$(($(ver_cut 2) - 1)).1"
908 +RUST_STAGE0_VERSION="1.$(($(ver_cut 2) - 1)).0"
909
910 DESCRIPTION="Systems programming language from Mozilla"
911 HOMEPAGE="https://www.rust-lang.org/"
912 @@ -41,7 +41,7 @@ LLVM_TARGET_USEDEPS=${ALL_LLVM_TARGETS[@]/%/(-)?}
913
914 LICENSE="|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA"
915
916 -IUSE="clippy cpu_flags_x86_sse2 debug dist doc miri nightly parallel-compiler rls rustfmt rust-src system-bootstrap system-llvm test wasm ${ALL_LLVM_TARGETS[*]}"
917 +IUSE="clippy cpu_flags_x86_sse2 debug dist doc miri nightly parallel-compiler profiler rls rustfmt rust-src system-bootstrap system-llvm test wasm ${ALL_LLVM_TARGETS[*]}"
918
919 # Please keep the LLVM dependency block separate. Since LLVM is slotted,
920 # we need to *really* make sure we're not pulling more than one slot
921 @@ -49,7 +49,7 @@ IUSE="clippy cpu_flags_x86_sse2 debug dist doc miri nightly parallel-compiler rl
922
923 # How to use it:
924 # List all the working slots in LLVM_VALID_SLOTS, newest first.
925 -LLVM_VALID_SLOTS=( 13 )
926 +LLVM_VALID_SLOTS=( 14 )
927 LLVM_MAX_SLOT="${LLVM_VALID_SLOTS[0]}"
928
929 # splitting usedeps needed to avoid CI/pkgcheck's UncheckableDep limitation
930 @@ -109,11 +109,9 @@ DEPEND="
931 system-llvm? ( ${LLVM_DEPEND} )
932 "
933
934 -# we need to block older versions due to layout changes.
935 RDEPEND="${DEPEND}
936 app-eselect/eselect-rust
937 - !<dev-lang/rust-1.47.0-r1
938 - !<dev-lang/rust-bin-1.47.0-r1
939 + sys-apps/lsb-release
940 "
941
942 REQUIRED_USE="|| ( ${ALL_LLVM_TARGETS[*]} )
943 @@ -157,7 +155,7 @@ VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/rust.asc
944
945 PATCHES=(
946 "${FILESDIR}"/1.55.0-ignore-broken-and-non-applicable-tests.patch
947 - "${FILESDIR}"/1.56.1-musl-dynamic-linking.patch
948 + "${FILESDIR}"/1.62.1-musl-dynamic-linking.patch
949 )
950
951 S="${WORKDIR}/${MY_P}-src"
952 @@ -191,10 +189,10 @@ bootstrap_rust_version_check() {
953 }
954
955 pre_build_checks() {
956 - local M=4096
957 - # multiply requirements by 1.5 if we are doing x86-multilib
958 + local M=8192
959 + # multiply requirements by 1.3 if we are doing x86-multilib
960 if use amd64; then
961 - M=$(( $(usex abi_x86_32 15 10) * ${M} / 10 ))
962 + M=$(( $(usex abi_x86_32 13 10) * ${M} / 10 ))
963 fi
964 M=$(( $(usex clippy 128 0) + ${M} ))
965 M=$(( $(usex miri 128 0) + ${M} ))
966 @@ -258,7 +256,9 @@ src_prepare() {
967 }
968
969 src_configure() {
970 - local rust_target="" rust_targets="" arch_cflags
971 + use system-llvm && filter-flags '-flto*' # https://bugs.gentoo.org/862109
972 +
973 + local rust_target="" rust_targets="" arch_cflags use_libcxx="false"
974
975 # Collect rust target names to compile standard libs for all ABIs.
976 for v in $(multilib_get_enabled_abi_pairs); do
977 @@ -281,6 +281,9 @@ src_configure() {
978 if use miri; then
979 tools="\"miri\",$tools"
980 fi
981 + if use profiler; then
982 + tools="\"rust-demangler\",$tools"
983 + fi
984 if use rls; then
985 tools="\"rls\",\"analysis\",$tools"
986 fi
987 @@ -304,6 +307,15 @@ src_configure() {
988
989 rust_target="$(rust_abi)"
990
991 + # https://bugs.gentoo.org/732632
992 + if tc-is-clang; then
993 + local clang_slot="$(clang-major-version)"
994 + if { has_version "sys-devel/clang:${clang_slot}[default-libcxx]" || is-flagq -stdlib=libc++; }; then
995 + use_libcxx="true"
996 + fi
997 + fi
998 +
999 + local cm_btype="$(usex debug DEBUG RELEASE)"
1000 cat <<- _EOF_ > "${S}"/config.toml
1001 changelog-seen = 2
1002 [llvm]
1003 @@ -315,6 +327,10 @@ src_configure() {
1004 targets = "${LLVM_TARGETS// /;}"
1005 experimental-targets = ""
1006 link-shared = $(toml_usex system-llvm)
1007 + $(if [[ ${use_libcxx} == true ]]; then
1008 + echo "use-libcxx = true"
1009 + echo "static-libstdcpp = false"
1010 + fi)
1011 $(case "${rust_target}" in
1012 i586-*-linux-*)
1013 # https://github.com/rust-lang/rust/issues/93059
1014 @@ -322,7 +338,17 @@ src_configure() {
1015 echo 'cxxflags = "-fcf-protection=none"'
1016 echo 'ldflags = "-fcf-protection=none"'
1017 ;;
1018 + *)
1019 + ;;
1020 esac)
1021 + [llvm.build-config]
1022 + CMAKE_VERBOSE_MAKEFILE = "ON"
1023 + CMAKE_C_FLAGS_${cm_btype} = "${CFLAGS}"
1024 + CMAKE_CXX_FLAGS_${cm_btype} = "${CXXFLAGS}"
1025 + CMAKE_EXE_LINKER_FLAGS_${cm_btype} = "${LDFLAGS}"
1026 + CMAKE_MODULE_LINKER_FLAGS_${cm_btype} = "${LDFLAGS}"
1027 + CMAKE_SHARED_LINKER_FLAGS_${cm_btype} = "${LDFLAGS}"
1028 + CMAKE_STATIC_LINKER_FLAGS_${cm_btype} = "${ARFLAGS}"
1029 [build]
1030 build-stage = 2
1031 test-stage = 2
1032 @@ -343,7 +369,7 @@ src_configure() {
1033 tools = [${tools}]
1034 verbose = 2
1035 sanitizers = false
1036 - profiler = false
1037 + profiler = $(toml_usex profiler)
1038 cargo-native-static = false
1039 [install]
1040 prefix = "${EPREFIX}/usr/lib/${PN}/${PV}"
1041 @@ -420,6 +446,8 @@ src_configure() {
1042 cat <<- _EOF_ >> "${S}"/config.toml
1043 [target.wasm32-unknown-unknown]
1044 linker = "$(usex system-llvm lld rust-lld)"
1045 + # wasm target does not have profiler_builtins https://bugs.gentoo.org/848483
1046 + profiler = false
1047 _EOF_
1048 fi
1049
1050 @@ -607,6 +635,7 @@ src_install() {
1051
1052 use clippy && symlinks+=( clippy-driver cargo-clippy )
1053 use miri && symlinks+=( miri cargo-miri )
1054 + use profiler && symlinks+=( rust-demangler )
1055 use rls && symlinks+=( rls )
1056 use rustfmt && symlinks+=( rustfmt cargo-fmt )
1057
1058 @@ -666,6 +695,9 @@ src_install() {
1059 echo /usr/bin/miri >> "${T}/provider-${P}"
1060 echo /usr/bin/cargo-miri >> "${T}/provider-${P}"
1061 fi
1062 + if use profiler; then
1063 + echo /usr/bin/rust-demangler >> "${T}/provider-${P}"
1064 + fi
1065 if use rls; then
1066 echo /usr/bin/rls >> "${T}/provider-${P}"
1067 fi