summaryrefslogtreecommitdiff
path: root/dev-lang
diff options
context:
space:
mode:
authormirror@stealer.net <mirror@stealer.net>2025-07-29 10:00:31 +0000
committermirror@stealer.net <mirror@stealer.net>2025-07-29 10:00:31 +0000
commit9c742e669e4799b3dbe9209dc3dc66b1788f41f4 (patch)
treefc05a44f10b9f487827a0e43613c42a5807de2a8 /dev-lang
parentddfe1a09b466bbe967f7967cc542c86e73725744 (diff)
2025-07-29 09:42:22+00:00
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/Manifest.gzbin22487 -> 22478 bytes
-rw-r--r--dev-lang/rust-bin/Manifest30
-rw-r--r--dev-lang/rust-bin/rust-bin-1.89.0_beta20250726.ebuild314
-rw-r--r--dev-lang/rust-common/Manifest3
-rw-r--r--dev-lang/rust-common/rust-common-1.89.0_beta20250726.ebuild73
-rw-r--r--dev-lang/rust/Manifest46
-rw-r--r--dev-lang/rust/files/rust-1.86.0-issue-139372-bgo-953956-fix-hardcoded-gnu-linker-flags.patch18
-rw-r--r--dev-lang/rust/files/rust-1.87.0-issue-139372-bgo-953956-fix-hardcoded-gnu-linker-flags.patch29
-rw-r--r--dev-lang/rust/rust-1.74.1-r101.ebuild2
-rw-r--r--dev-lang/rust/rust-1.75.0-r101.ebuild2
-rw-r--r--dev-lang/rust/rust-1.76.0-r101.ebuild2
-rw-r--r--dev-lang/rust/rust-1.77.1-r101.ebuild2
-rw-r--r--dev-lang/rust/rust-1.78.0-r101.ebuild2
-rw-r--r--dev-lang/rust/rust-1.79.0-r101.ebuild2
-rw-r--r--dev-lang/rust/rust-1.80.1-r101.ebuild2
-rw-r--r--dev-lang/rust/rust-1.81.0-r101.ebuild2
-rw-r--r--dev-lang/rust/rust-1.82.0-r103.ebuild2
-rw-r--r--dev-lang/rust/rust-1.83.0-r3.ebuild2
-rw-r--r--dev-lang/rust/rust-1.84.0-r2.ebuild2
-rw-r--r--dev-lang/rust/rust-1.84.1-r2.ebuild2
-rw-r--r--dev-lang/rust/rust-1.85.0-r2.ebuild2
-rw-r--r--dev-lang/rust/rust-1.85.1-r1.ebuild2
-rw-r--r--dev-lang/rust/rust-1.86.0-r2.ebuild6
-rw-r--r--dev-lang/rust/rust-1.87.0-r1.ebuild8
-rw-r--r--dev-lang/rust/rust-1.88.0.ebuild4
-rw-r--r--dev-lang/rust/rust-1.89.0_beta20250726.ebuild837
-rw-r--r--dev-lang/rust/rust-9999.ebuild6
27 files changed, 1323 insertions, 79 deletions
diff --git a/dev-lang/Manifest.gz b/dev-lang/Manifest.gz
index 596bc82b1399f..d99dc21415f25 100644
--- a/dev-lang/Manifest.gz
+++ b/dev-lang/Manifest.gz
Binary files differ
diff --git a/dev-lang/rust-bin/Manifest b/dev-lang/rust-bin/Manifest
index 4ae7c9a23987e..e966bd4ef828c 100644
--- a/dev-lang/rust-bin/Manifest
+++ b/dev-lang/rust-bin/Manifest
@@ -579,6 +579,34 @@ DIST rust-1.88.0-x86_64-unknown-linux-gnu.tar.xz 197237052 BLAKE2B 5ce55a2b5faa4
DIST rust-1.88.0-x86_64-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B d3bd096b1d1c7fce42f60cbd5f3b3a459c0063430366adc78c026a0159f379d2537d74d4f1fd768ea5b666a33cc28aa185a867aeed04ef1ae735a3eb794baa47 SHA512 62a5a9ffac0e95fbb547c504336b3aa160698e20b8ba322769c2233972c6ace48b2afdc42e84559b244099f9d8115cb96ba3c8f0923806559c53f80d3e248d04
DIST rust-1.88.0-x86_64-unknown-linux-musl.tar.xz 291407088 BLAKE2B 17c8144b9acf12f190ed8bd3367a9602535ecea365a402e1248b26457f263103680b3d55d4b670aa381de816db76d263fa1c3d9715f60a3100c96765dac4d61d SHA512 d4da2f9cfeb50377616a48437ddab836717de94fc0362e6b8f4afcd7b4ca939be1c902db54b7204fb35863189e1f8b8d9b7bd4713e4e4729e42db9db2d249711
DIST rust-1.88.0-x86_64-unknown-linux-musl.tar.xz.asc 801 BLAKE2B 31f344b4f8cb6beb58e2cbd62d7891abe764bb6a8a473b805ad55a7ef2b0952677e32481c22a2ec81146b61f74dafcbd384f629bdb7f7799ee642ce926f80953 SHA512 64824b1f927080e8272d29e4fee56e2237621a48b3178c2b4a5ae580519d1c954a85ce383232d0fcd98468a6530579353ae65f84b4205f90c4fc144188f3adb0
+DIST rust-1.89.0_beta20250726-aarch64-unknown-linux-gnu.tar.xz 167750184 BLAKE2B 6a8f0bd431bf450b11d40cfec22f71a03a4222ac2f699e6b5c4d86728e759ef4ed14b9b63c0ac1cb151ddaefe9c7d309771cf97b76e43d11ff879cc02422d842 SHA512 e83c523ecaf27708305fcd18f1657e64644839185e2297a42c5f68469dc7cd61b077c289a06bac393c11ac2a53c5579b49117e8aa2ec66a132c413c4ce3eaebf
+DIST rust-1.89.0_beta20250726-aarch64-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B cb049080cd23d7d963fe7b1a82379773560185252a4943444ebbaf3d5ded39c725b2544968e0cea8d59b91dfc8e6d769f82370c2fa54131bfd6d5fa71e99f06f SHA512 605c5d18eac8c5396bdba39c3df578f12bda9a8cb616af70e0c17d10a2bb38b805446875eed0c3c3413cf6b717046e38ac4f79a7a71c74bb5f8adce78bb8fa43
+DIST rust-1.89.0_beta20250726-aarch64-unknown-linux-musl.tar.xz 245112752 BLAKE2B 4ba7ca5dc911d46cb1dbeffaa0eaf1fe622783d8f69fbfb9ab80ed797d3d9a63eb6db0ae1510b8a02e85fcfbc8006e9d4a1b84375ce47be97466db7e7f06032d SHA512 dcdd7a6f880f2da7ddef26abffca16a24646eca350162c4edd1ccd0505188aa99b02b7cb42caccaf2112988ab5947bdd91d334e9061b868ab6ae0fa97ea04f3e
+DIST rust-1.89.0_beta20250726-aarch64-unknown-linux-musl.tar.xz.asc 801 BLAKE2B 924ed752d03da5fb38ea99c2948a7ce0b82125671280dba779ec5c830a3c58a2222ec76aac7ae2576a97b9f5089e766fc9041d0ff1e266f33e60797225d51349 SHA512 05be35cf66bb1d5c6be44db79f6dddc37cbc5f6342c355b5d0127977004a68b4e538dba1ef8a401e4cc02a11fa573fadd570545376ef3fbebc43b5044dd0f384
+DIST rust-1.89.0_beta20250726-arm-unknown-linux-gnueabi.tar.xz 230178744 BLAKE2B 7f5a7a1ec5fc1c801ac3ad916edb6477eb608da560076a12df14f3609800378b1409ccd601f7fac8c8969bb7d6d8f6094bbcf42fef8b285c07d2712c953f58d4 SHA512 01d20497d7d8cb57a96677cda82a8a7144bee4fd9f025d7f216110c9480fb2bfbe65b962d1ddbd35536a1e975b312c22c07b17c62a2482dbcaf3ff9bd30e573d
+DIST rust-1.89.0_beta20250726-arm-unknown-linux-gnueabi.tar.xz.asc 801 BLAKE2B 852fe0e47f3ec5463366057847329b399b9b18181ea714b01d0eec6f42d9e9bc79deea2969a3ded6470aca2827f10d23e392dcbd6bfa8c12d486504c77ffd632 SHA512 763663754024596a6f99262ed56a9f828fdb6edb64623cdd6e32ae81859985d8f0d8856b8429fa24fa4f147650d9e0b30360db824c72a48f1ab1cd6ace4785e4
+DIST rust-1.89.0_beta20250726-arm-unknown-linux-gnueabihf.tar.xz 230323744 BLAKE2B d7d23644ea80e7f424ce9c65aef9093c753af646c99c8a782c6006cf2ea3169133ed50b88a91f7739d850bbbd294ffa702cc7e873282d0ef2216bc8ddb54fe42 SHA512 65eb18b3657d3123721ccfa535025c4c8b1ac15c175b8986908127dfb9ebe4b19cc8227acc030711c0d4c6e822cbf2d81cff95efc7e664661c600bdab7a2f08b
+DIST rust-1.89.0_beta20250726-arm-unknown-linux-gnueabihf.tar.xz.asc 801 BLAKE2B 973495a0399a12b5e1ca3613739c9cb249d253653d68638b9f5fba3a515fd45c8f9bd603248e2d26008d2884fd5e9ed2a266a5d0814ba1edbd2c486aa01909b6 SHA512 dca55570f91e9f19ead7b5ac072b1ec27092825e10849718046ff86306bd0ed6c255eab4d2c6b128b362c53bf35eb43914b28e6ddeab2b383e517589716ac43e
+DIST rust-1.89.0_beta20250726-armv7-unknown-linux-gnueabihf.tar.xz 236351996 BLAKE2B e56154f24fff297f08194a688874b2f2adfd61a2d1f8e407abe57fb71f8640b29999da67360eb4b8da9cf51e01f3f016952f46e324b8951f310aa1aaf81462e8 SHA512 4074222610f9e53704fe05b4d2aec2a4f2e7bdc3a2337145f56fd20a5da68da2d22225b8e805ab73aa2a8714e61896e46f3de01edde39c8419b6890d534379d7
+DIST rust-1.89.0_beta20250726-armv7-unknown-linux-gnueabihf.tar.xz.asc 801 BLAKE2B f793230b5930baff24a2a8b99e91de5646ada1db92e174e6054fe132e37013ecb43036425044aad9a0cb5cde72cc35702d5f61e735f5a8c640d461e09fc09a03 SHA512 158dcc558c87afa93bc6996684c4e2756c20df797b434e825211872d4813eadbf10df0c4a5af102c07d6c32b7d3459c26497e1cf5b41700b8587c532bdfa5d2d
+DIST rust-1.89.0_beta20250726-i686-unknown-linux-gnu.tar.xz 263024872 BLAKE2B 2d2cf62a62ddc4fef5dfd981e3420107b854671089eff0e8d3467c064ac3bcac3e4fe359aa28e3e48a3e797108b310ebfff9abbddfeefcab2b6725d3d2fcb49b SHA512 339b580fc26531e621ea1d34e42df13bd5faee2a7f17f297ad25c10b6fa893dc3d501e43bff31dc601c1bd58a783ae688a4b8093506bdeebe00a982a7ff5d795
+DIST rust-1.89.0_beta20250726-i686-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B ec8b26c5732bc900179bcc6c4bc567b77551295f962fee2a1e6fd312a7691778f98649ff3912ebbe30732f2ddc7119c0026391122d91f3ca3ae6d5b4a0a53c70 SHA512 7211ce1757ac84b417d75f83474d8d8f72f7e3452c88ce7155f17469240b57c6075235a305cce661c85318ad0d5bd8e6f170b4fe35163090859e0641f503d84f
+DIST rust-1.89.0_beta20250726-loongarch64-unknown-linux-gnu.tar.xz 262373800 BLAKE2B 2d94374b6a7998a865e23a259b513e28613d25e47ea69bef31a56060f370656fb79dbf87a618cff23214aa126774bd6a0333d338471721c22d29b8210270bdc1 SHA512 324bf90d43ecfee851bcacec733b7300c58df9189e35a4b36799c9db84761fad137b0cd4bfe20f83fb7d816c63ffb541b1d97998e9b2ff41143d786238de2259
+DIST rust-1.89.0_beta20250726-loongarch64-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B d29631a452729cdbef09529e5af3a6c9d370efec8c84c81e401ca6d171651d3dded9501f1faf755ccb550926ccfc947d7f080157ee64ff937606288e14c19444 SHA512 23e16e235d8271fd6885b4603f999decf01ae09ffc0d605a26b5be37fa9c2c51f11d5960ef38b175a114911f377d0818c3d95cf7c35f0fc69efbe3541b4e4d9b
+DIST rust-1.89.0_beta20250726-powerpc-unknown-linux-gnu.tar.xz 257000228 BLAKE2B d20cd3beb74f77df28a4799632ac33c8bfcbce203469bad19b8393b1b0f480ac70f4bca060214b3ded94de3f909311d8511def175de579a6ed8e651d3dbd76ee SHA512 bb1ecdc43e2972c3738f249526459d653187a48f9ef3d63add1813ff5164348c83bc1c0d60444138f52a4afa6e433379421ba0540f8c725c039792e758f4ef8b
+DIST rust-1.89.0_beta20250726-powerpc-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 0cda4de341ef7b0f81bbb7c0b6f55ec132f808618071c2e17ab6f512db2f2203e6f843e992a773935ba8b2561ae05e238ba51d2974826171be5db7db1cbfcc0e SHA512 c53f9bf64d851e5ac1840ccd819a7d749a5de4c9d13ae254a8aa7711e2d4a2edd236230587c3d45e3d567798449efcb40809f28412e65643e284c5a30eb556a2
+DIST rust-1.89.0_beta20250726-powerpc64-unknown-linux-gnu.tar.xz 256532660 BLAKE2B 26b90a154b7513d742527c028c7d15f271e38cee45c51ce9a89ee474ff76abae74812d0aa9356567bb2457d8c868f4a0c1de88bcb5ac028a08a494fb69d6ed28 SHA512 2a116c13ee400deca150a3bd0e526d2a5d424b7ec7fb747a7e164b187cf686ec87ba41bb41359d3707d0c0b07c00fed6b502cfc93be03389426d6ec9d8280d0f
+DIST rust-1.89.0_beta20250726-powerpc64-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B eb4687af032f07091359f34d8c5ed23cdd207e8188ad5484e7b5d920003b1518c2fa46d90695a79f9954c693edc0df92551555ea64fe96c02991248b4b9e5cc8 SHA512 4a7d2dd63198e76f0db4a299eabd3fad3bea3fe6da101f298ffea2c024dd39d8b9c47f8ef181f8f5fb08962c3ca5c1581b393334b2ef19ab615c661bf144a37f
+DIST rust-1.89.0_beta20250726-powerpc64le-unknown-linux-gnu.tar.xz 271780768 BLAKE2B 9060e42f96b5f08b9755fac2bfa5e3d655f87454b884172c83f2450a73370e1dc220aa1ff248d015c4e5a06e8fd02b92076a699f1b9454ec2d25aa38943304d2 SHA512 aa0c6dc8ab2e23c694d3f0fbd56e1941d442ea019883c0aa9cd53db0ff84b33abf119f9aa653236494a4ed3a3f8f058b33fc5918ddb9d9fab10baa530437711a
+DIST rust-1.89.0_beta20250726-powerpc64le-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 2a0d6e846ad156f5dc6bc437cf4b064f1d6b5a0fe5f062f15351d84f399a45ebb9f6d8c900eecb12a38557e73a0de38773d604c2b18a345c1e5dfde7c138e6e5 SHA512 7588c40e9987c301c1de4aac49d985646e16fff42b0d028efe300ea07d9bbd8ab565f1093fa6052a0f432e3216664a6d0876d1f176abab05573828bad5a1e0a6
+DIST rust-1.89.0_beta20250726-riscv64gc-unknown-linux-gnu.tar.xz 251392712 BLAKE2B 6b848beffe5504c2f5e08cc58fd95ff5183c3aef4b3c1832ba53af1b679e9ced8bf647c90ae1c3373634e2916572493edad3f58bc72d14465a08abfcbaea7036 SHA512 462af06b6cc210c945c3bb484396d56fb894cd3090b4ed8b9457c165ea07f333294cb3b78fd4ccf2acd92fa0e3bb924be507ecaf994229c8811790955ef8c065
+DIST rust-1.89.0_beta20250726-riscv64gc-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B d5f54505f6a36a76bd0e65fed39a133251789b11d3a83352140d47c34db9c3aed4296a1a1e625584dc064af5ef944ca13468348a8c3c0381a84b7c6ad82870fa SHA512 4e0edd6d9c7f892dd7cc9d92159634b0671dde82d22faabd67b4c368dcb60dc37fc0d9186f85ea9793ea42d7ab56d8b38e0826873ffa2f47e49d1485f5c43077
+DIST rust-1.89.0_beta20250726-s390x-unknown-linux-gnu.tar.xz 240818916 BLAKE2B d5565269505b017c66a75f12010e29b8c7aa15fa926b97125297d5643b8bee53db3e10193e143f3194dc9d88e1546df4a8ffc5c4279a29ef8bc269c979135681 SHA512 8b669ea7a7655573a7f38af7f78fc9fc870a11e2cc1d743b845d7434186f75029912ef30bfa71aa89c531a4d3ac74696780f22605518a85b6bdbcf19afea86ef
+DIST rust-1.89.0_beta20250726-s390x-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 44316c9604adaa00a656bccc5b8eb1340fc4b1ef81ed3865e7652f03ad979729111db6f7bb364ad2fe574a123d8cf256f42659405816911f5cc1c25c79d3e0d8 SHA512 0e0e8ad9d98cdba11874d4347841fba7064cd6f1250615d5a79650d9d571af4561e8e0bc329b003d69c48a4acfacc34d9e46b8fd93e8b29019b8077479de510d
+DIST rust-1.89.0_beta20250726-x86_64-unknown-linux-gnu.tar.xz 201173284 BLAKE2B 515fc10b703f5fd3507e0cd2b5b48afbda932c965dc653c53dbbc9422f8f60789d081c65dd01e4a7b82cf16d85835f37877eab7ca9c7b33ac698c9adf34e4eff SHA512 f3142453b80c4a535b0c09c50b66a943abe4dbf0f88de7dd96524679b4c1982f3ff1632c587a055cbf0d41cb3d0234c87615a3ec30e70497235eb12af8f09d80
+DIST rust-1.89.0_beta20250726-x86_64-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 3b6c0f7b371532114f5e8a86199c52c104289877e6863e9a83c3221f2cb141d20e82b73bc7653967c70031eca0b27f74642d799a32848d84db6c9ca6506c172a SHA512 e715f78366ce7695456ea538e37d9f7764926267f580ce93990ae039eccce8ad5dbea90744c95ec1ac1064f2af026fd1fd9488002227072438d40cc90b160129
+DIST rust-1.89.0_beta20250726-x86_64-unknown-linux-musl.tar.xz 291959320 BLAKE2B 3bc4fb7c1dc618bfb80ec977ac278a30cc116df79af90720c14ab9ca23a2ddf04484d7d8b06e2dce522fecd48e3c3e383a28e8fb8f77bb2b5bde88344f872647 SHA512 1e0aebb8f73699811934eb9cfd20570c3073b35d64bb500f7f6f7e9b7ba08c55f7cece48656610317f5862f19cf13ec71087a47b579d450ef81bd979cfe63c3b
+DIST rust-1.89.0_beta20250726-x86_64-unknown-linux-musl.tar.xz.asc 801 BLAKE2B 098065ba6b0f08dde98694af2832edf3d2b73033052ea6a793526a6d6f081287f2513288f774d066bff64fd56c680289681ace612d1dee343777ae85f63124ea SHA512 0b800f74e74c3c0e89ca61b50174548c8cf34b5438e36062d355be08caefcd46c23f530e99714cec73a172441f27093bcbc4b439572215128fc4834048010562
DIST rust-src-1.74.1.tar.xz 2544036 BLAKE2B d95431b69f102782f51878ff73ce8802cac6dab7909497c3231d1c479b95dc2a618cc6efd8bac9c6bd59a2b10dc6be05199f1e1bd74e45cc640ee52352c29268 SHA512 11467d0936193c5a5be8c2eba1aefe2b7028af48494698863de2c4057d68ce33dcee1fc66dc2d68b1d32f0202ce49e9b906727849de8f8d904dd07930e76d5a4
DIST rust-src-1.75.0.tar.xz 2570256 BLAKE2B 9db7ccff07ffe6991233e9f530321fd6ba48c561dcf1226537afa70c7d045421d8e83c5300b0866ec6fccfaae96dd67b9f204e9e0e12108c0c766d467cd78909 SHA512 e7565cea2f1658a05237a698e38880df2544319b41b6d8b0805db5f1f94fd3bb4f986967d0440fcdfe3a135e33246f3c747665b964f57ff5942f56133af78cdd
DIST rust-src-1.76.0.tar.xz 2590884 BLAKE2B d1a6215dab34d7b10c3177d2b248f997d3a846388f3442567572880aa5c5bc51b56398f5d4dc32727cee7c9dbef494430d6534a76b66c4ae5ac4fed07266644d SHA512 39d2fe58fae8c8c5a6cb3fb1ef2a1c7548c018fef6ccea531659fdfecd68a4aa77125299d2cbe5b58e500337b4d074928318fa9ebce358af500d0ef27260e3ca
@@ -596,6 +624,7 @@ DIST rust-src-1.85.1.tar.xz 3036412 BLAKE2B f137ffcebd2d231d8b3dc5c9072f6afe39a0
DIST rust-src-1.86.0.tar.xz 3053544 BLAKE2B 2d1d8a4be4f9dc9355ce9a2d1599e0a57c5d1cb32f7b2eb413f6009dbce7d63db2533dc038cf50f5277a2d7bf4434f2076632c12a6fd33335ccf3a9f2ab685d1 SHA512 2818d94412bb0766ce53383932cd8ce96275a8e923f916c4bf7116fbcb7c2053cfb9714667add1a9d50b18366c973ba3ab4fe55d49c8abc8cc57656635c59f63
DIST rust-src-1.87.0.tar.xz 3119800 BLAKE2B 6429eb419f17109537a2a5463b0c68f504b3cb0f55766e18f73cf053883b06eedc934ab4598756790cec147ff41c4eb30a807d2ce0b7e6af33310710fdc5a8c1 SHA512 9747c60268d772b7c6e7694260c0808d2b8a42028f5606499c81595d76f5bc32c9acf6b4b9aad168235f8fd77d980c56bc4afc3d40f5d0374b23d3e66e3de390
DIST rust-src-1.88.0.tar.xz 3155272 BLAKE2B bca923d2264337366b8013c45f3a40cbdfc1e1b746775161eaa66a1db653aa4ccb2a55980368ecf9808d6f4885194e2dfbf1f678d0500a43f7b2fcc0f79d27c8 SHA512 6dfe1fc3565927a9ac2ff9821ef3222cca170ff538833e1969ebe662af2cad5257c1ab3d82f5ca10aeaab40f54916a25dd96fd16449cd59e4d104b631911931b
+DIST rust-src-1.89.0_beta20250726.tar.xz 3461328 BLAKE2B e1f79c83dd84d603f22cdbea1edaff8aa2fd8cc4718da86e323feb95ff552b2c567ec9c311565100085ef9922a4167f532a06231e45eda0f41978f4e9c0909e0 SHA512 887eba04133d5b6f5f2a672819c2dd830161aaccaf90ecfb8f9b50a8cb60b6a4a4a5a55c87945adc12fc6f9e2dac36a1b6f64b6e018941ea2f840f0ffe71dc04
EBUILD rust-bin-1.74.1-r102.ebuild 7269 BLAKE2B 3a9cb52a2d71e828a7b63c9f8b391554f4e2ab2ebee0d54c8970c3ffffbaf717f24a11285637d579293a41f725af667080f0d2b1f01c9ac326ed1561b5750aaf SHA512 df0dd36ef335dc9f8d1b80c0c4fb83f1686bb44ec5cd4c1e093c2b22efab073a6512176c5e2290bb849aa8d5a48ce52dca11639e523d29abb9a5d099b2490c37
EBUILD rust-bin-1.75.0-r102.ebuild 7269 BLAKE2B 0613e52f80808ab78751e67836b9683cb391516f803ba029a74b0f73041dd1216759d1d9b7ba0ecbdbd013f680ec9f1576b642986255c6f27a1a0415e2534715 SHA512 67d96345d9d172802601fcfc64c8c54a4ea3a09721887aa68c7288343769884a88b073b2559955f35bffa3369c8f7c65af6e81a9ed7a75f796ab262221966cd5
EBUILD rust-bin-1.76.0-r101.ebuild 6642 BLAKE2B c11116afd8b3b8bfaed532b6399c09a6f4919a738b68fa17a589cf2b75a4dc9a959665ab5989492cd2fae3b914ff29ec032a7d9695252698ef8433a43000a26e SHA512 1b4410135545b3e02f6747a2ac0d9330ec8b2668e84c4b6fee5ebbb18bef9cb6549460a40a6441d8966d3d82903a47a2804a894e1a1b8f7564663461d2fa151b
@@ -613,5 +642,6 @@ EBUILD rust-bin-1.85.1.ebuild 10649 BLAKE2B 8bb0e54e323b953c0608fa597248fd79302c
EBUILD rust-bin-1.86.0-r1.ebuild 10674 BLAKE2B ae68a7a3166b91089cd940f7d6a68901488cfeafbb2d10c3e8362658a7a3980375a3f81e0626cdc21c5476b04e59fce4612ae6c0981d63b914b5b998c855c689 SHA512 a5e0d476a8c868401437e18e9eed4daae14ce843e4f0dc36b2ff8db806df27832659744f15b66cb04e96f1c21588bd0ed27f4a9ee1b146d7387defa9c37cc562
EBUILD rust-bin-1.87.0.ebuild 10626 BLAKE2B 553bc6c7a40436c11dd3184ebe5f1e051fedc66f066391e487aebad1e926ca5adcad897d1e2e4c57c079da58faed3acdd700e5e087ef3f5330f7a21d93755d95 SHA512 c6659090dcf2a1d0e61eb021f47b1846a09aa8c6d7645f4949e6dc361a09f7bad24df14d907bd23410e6a9f4ed058f659675dda9f933a13b5317034a988c5ab0
EBUILD rust-bin-1.88.0.ebuild 10642 BLAKE2B 26c4c48b39b87be159a81f51f244de5d869aecabfc0ea65fd321d313b0e75640aa7b7e14633c87ae5175040973a6b252a2e7855af12d9b4f25ad03c97f577e09 SHA512 7b58b6a32f4694855cbbe651b4171f859d26fe853625fd6f925d41b10a3cc3bc1d3a43dc75517c290b13ca14b436be4b9c97d787bda4b9eee95929dec60e8ff1
+EBUILD rust-bin-1.89.0_beta20250726.ebuild 10642 BLAKE2B 26c4c48b39b87be159a81f51f244de5d869aecabfc0ea65fd321d313b0e75640aa7b7e14633c87ae5175040973a6b252a2e7855af12d9b4f25ad03c97f577e09 SHA512 7b58b6a32f4694855cbbe651b4171f859d26fe853625fd6f925d41b10a3cc3bc1d3a43dc75517c290b13ca14b436be4b9c97d787bda4b9eee95929dec60e8ff1
EBUILD rust-bin-9999.ebuild 10641 BLAKE2B dfd39d11ac7de522889c73c5e9d07382f06c48b72d54c4c0d346055c7a9f473967bbc876bcaa7f5a54e8c1f888f8136ee916f9fef768008de7505e6eff9600dd SHA512 987b572b7f5578d001194ef8d24d033ae7548ee13d633647ffa56e85d5eb60f459abda3ca0c6c5dc9f4c5ac910d89d4747378c20613387f6ef97f3c5fd1101e1
MISC metadata.xml 867 BLAKE2B f66fe4ce9aa374553a833b7fcb2275ba16e8fea543f6ade7c176da06347374712ce0c8f323987c44c70f2fe0b460cb9a87d60bf6ae7586a128a5e438cd6d7e74 SHA512 607250034b6345258540bfec6510fa803eb95463a3815ac0979422d80f92e0b8a4c65ce913c406d5197ec427e8ba87d323b1adc7bfd2f9a6bf2b053999d26bd3
diff --git a/dev-lang/rust-bin/rust-bin-1.89.0_beta20250726.ebuild b/dev-lang/rust-bin/rust-bin-1.89.0_beta20250726.ebuild
new file mode 100644
index 0000000000000..5132ee797ad48
--- /dev/null
+++ b/dev-lang/rust-bin/rust-bin-1.89.0_beta20250726.ebuild
@@ -0,0 +1,314 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LLVM_COMPAT=( 20 )
+LLVM_OPTIONAL="yes"
+
+inherit edo llvm-r1 multilib prefix rust-toolchain verify-sig multilib-minimal optfeature
+
+if [[ ${PV} == *9999* ]]; then
+ # We need to fetch a tarball in src_unpack
+ PROPERTIES+=" live"
+elif [[ ${PV} == *beta* ]]; then
+ # curl -Ls static.rust-lang.org/dist/channel-rust-beta.toml | grep "xz_url.*rust-src"
+ betaver=${PV//*beta}
+ BETA_SNAPSHOT="${betaver:0:4}-${betaver:4:2}-${betaver:6:2}"
+ RUST_TOOLCHAIN_BASEURL=https://static.rust-lang.org/dist/${BETA_SNAPSHOT}/
+ SRC_URI="$(rust_all_arch_uris rust-beta rust-${PV})
+ rust-src? ( ${RUST_TOOLCHAIN_BASEURL%/}/rust-src-beta.tar.xz -> rust-src-${PV}.tar.xz )
+ "
+else
+ # curl -Ls static.rust-lang.org/dist/channel-rust-${PV}.toml | grep "xz_url.*rust-src"
+ SRC_URI="$(rust_all_arch_uris "rust-${PV}")
+ rust-src? ( ${RUST_TOOLCHAIN_BASEURL%/}/2025-06-26/rust-src-${PV}.tar.xz )
+ "
+ KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~x86"
+fi
+
+GENTOO_BIN_BASEURI="https://github.com/projg2/rust-bootstrap/releases/download/${PVR}" # omit trailing slash
+
+DESCRIPTION="Systems programming language from Mozilla"
+HOMEPAGE="https://www.rust-lang.org/"
+
+if [[ ${PV} != *9999* && ${PV} != *beta* ]] && false ; then
+ # Keep this separate to allow easy commenting out if not yet built
+ SRC_URI+=" sparc? ( ${GENTOO_BIN_BASEURI}/rust-${PVR}-sparc64-unknown-linux-gnu.tar.xz ) "
+ SRC_URI+=" mips? (
+ abi_mips_o32? (
+ big-endian? ( ${GENTOO_BIN_BASEURI}/rust-${PVR}-mips-unknown-linux-gnu.tar.xz )
+ !big-endian? ( ${GENTOO_BIN_BASEURI}/rust-${PVR}-mipsel-unknown-linux-gnu.tar.xz )
+ )
+ abi_mips_n64? (
+ big-endian? ( ${GENTOO_BIN_BASEURI}/rust-${PVR}-mips64-unknown-linux-gnuabi64.tar.xz )
+ !big-endian? ( ${GENTOO_BIN_BASEURI}/rust-${PVR}-mips64el-unknown-linux-gnuabi64.tar.xz )
+ )
+ )"
+ SRC_URI+=" riscv? (
+ elibc_musl? ( ${GENTOO_BIN_BASEURI}/rust-${PVR}-riscv64gc-unknown-linux-musl.tar.xz )
+ )"
+ SRC_URI+=" ppc64? ( elibc_musl? (
+ big-endian? ( ${GENTOO_BIN_BASEURI}/rust-${PVR}-powerpc64-unknown-linux-musl.tar.xz )
+ !big-endian? ( ${GENTOO_BIN_BASEURI}/rust-${PVR}-powerpc64le-unknown-linux-musl.tar.xz )
+ ) )"
+fi
+
+LICENSE="|| ( MIT Apache-2.0 ) BSD BSD-1 BSD-2 BSD-4"
+SLOT="${PV%%_*}" # Beta releases get to share the same SLOT as the eventual stable
+IUSE="big-endian clippy cpu_flags_x86_sse2 doc prefix rust-analyzer rust-src rustfmt"
+
+RDEPEND="
+ >=app-eselect/eselect-rust-20190311
+ dev-libs/openssl
+ sys-apps/lsb-release
+ || (
+ llvm-runtimes/libgcc
+ sys-devel/gcc:*
+ )
+ !dev-lang/rust:stable
+ !dev-lang/rust-bin:stable
+"
+BDEPEND="
+ prefix? ( dev-util/patchelf )
+ verify-sig? ( sec-keys/openpgp-keys-rust )
+"
+[[ ${PV} == *9999* ]] && BDEPEND+=" net-misc/curl"
+
+REQUIRED_USE="x86? ( cpu_flags_x86_sse2 )"
+
+# stripping rust may break it (at least on x86_64)
+# https://github.com/rust-lang/rust/issues/112286
+RESTRICT="strip"
+
+QA_PREBUILT="
+ opt/rust-bin-${SLOT}/bin/.*
+ opt/rust-bin-${SLOT}/lib/.*.so*
+ opt/rust-bin-${SLOT}/libexec/.*
+ opt/rust-bin-${SLOT}/lib/rustlib/.*/bin/.*
+ opt/rust-bin-${SLOT}/lib/rustlib/.*/lib/.*
+"
+
+# An rmeta file is custom binary format that contains the metadata for the crate.
+# rmeta files do not support linking, since they do not contain compiled object files.
+# so we can safely silence the warning for this QA check.
+QA_EXECSTACK="opt/${PN}-${SLOT}/lib/rustlib/*/lib*.rlib:lib.rmeta"
+
+VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/rust.asc"
+
+src_unpack() {
+ if [[ ${PV} == *9999* ]]; then
+ # We need to fetch the latest nightly listing and get the apprapriate src_uri for our arch
+ local rust_bin_url rustc_src_url
+ # Cut down on webrequests by fetching the nightly toml once
+ curl -Ls static.rust-lang.org/dist/channel-rust-nightly.toml > "${WORKDIR}/channel-rust-nightly.toml" ||
+ die "Failed to fetch nightly revision info"
+ rustc_src_url=$(grep 'xz_url.*rust-src' "${WORKDIR}/channel-rust-nightly.toml" | cut -d '"' -f 2)
+ rust_bin_url=$(grep "xz_url.*rust-nightly-$(rust_abi)" "${WORKDIR}/channel-rust-nightly.toml" | cut -d '"' -f 2)
+ einfo "Using nightly Rust from: ${rust_bin_url}"
+
+ if use rust-src; then
+ einfo "Using nightly Rust-src from: ${rustc_src_url}"
+ # We need to fetch the rust-src tarball
+ einfo "Fetching nightly rust-src tarball ..."
+ curl --progress-bar -L "${rustc_src_url}" -o "${WORKDIR}/rust-src-${PV}.tar.xz" ||
+ die "Failed to fetch nightly rust-src tarball."
+ # no verify-sig here, just unpack it
+ tar -xf "${WORKDIR}/rust-src-${PV}.tar.xz" || die "Failed to unpack nightly rust-src tarball"
+ fi
+
+ einfo "Fetching nightly Rust tarball ..."
+ curl --progress-bar -L "${rust_bin_url}" -O || die "Failed to fetch nightly tarball"
+ if use verify-sig; then
+ einfo "Fetching nightly signature ..."
+ curl --progress-bar -L "${rust_bin_url}.asc" -O || die "Failed to fetch nightly signature"
+ verify-sig_verify_detached "${WORKDIR}/rust-nightly-$(rust_abi).tar.xz" \
+ "${WORKDIR}/rust-nightly-$(rust_abi).tar.xz.asc"
+ fi
+ tar -xf "${WORKDIR}/rust-nightly-$(rust_abi).tar.xz" || die "Failed to unpack nightly tarball"
+ else
+ # sadly rust-src tarball does not have corresponding .asc file
+ # so do partial verification
+ if use verify-sig; then
+ for f in ${A}; do
+ if [[ -f ${DISTDIR}/${f}.asc ]]; then
+ verify-sig_verify_detached "${DISTDIR}/${f}" "${DISTDIR}/${f}.asc"
+ fi
+ done
+ fi
+
+ default_src_unpack
+
+ fi
+ case ${PV} in
+ *9999*)
+ mv "${WORKDIR}/rust-nightly-$(rust_abi)" "${S}" || die
+ ;;
+ *beta*)
+ mv "${WORKDIR}/rust-beta-$(rust_abi)" "${S}" || die
+ ;;
+ *)
+ mv "${WORKDIR}/rust-${PV}-$(rust_abi)" "${S}" || die
+ ;;
+ esac
+}
+
+patchelf_for_bin() {
+ local filetype=$(file -b ${1})
+ if [[ ${filetype} == *ELF*interpreter* ]]; then
+ einfo "${1}'s interpreter changed"
+ patchelf ${1} --set-interpreter ${2} || die
+ elif [[ ${filetype} == *script* ]]; then
+ hprefixify ${1}
+ fi
+}
+
+rust_native_abi_install() {
+ pushd "${S}" >/dev/null || die
+ local analysis="$(grep 'analysis' ./components || die "analysis not found in components")"
+ local std="$(grep 'std' ./components || die "std not found in components")"
+ local components=( "rustc" "cargo" "${std}" )
+ use doc && components+=( "rust-docs" )
+ use clippy && components+=( "clippy-preview" )
+ use rustfmt && components+=( "rustfmt-preview" )
+ use rust-analyzer && components+=( "rust-analyzer-preview" "${analysis}" )
+ # Rust component 'rust-src' is extracted from separate archive
+ if use rust-src; then
+ einfo "Combining rust and rust-src installers"
+ case ${PV} in
+ *9999*)
+ mv -v "${WORKDIR}/rust-src-nightly/rust-src" "${S}" || die
+ ;;
+ *beta*)
+ mv -v "${WORKDIR}/rust-src-beta/rust-src" "${S}" || die
+ ;;
+ *)
+ mv -v "${WORKDIR}/rust-src-${PV}/rust-src" "${S}" || die
+ ;;
+ esac
+ echo rust-src >> ./components || die
+ components+=( "rust-src" )
+ fi
+ edo ./install.sh \
+ --components="$(IFS=,; echo "${components[*]}")" \
+ --disable-verify \
+ --prefix="${ED}/opt/rust-bin-${SLOT}" \
+ --mandir="${ED}/opt/rust-bin-${SLOT}/man" \
+ --disable-ldconfig
+
+ docompress /opt/${P}/man/
+
+ if use prefix; then
+ local interpreter=$(patchelf --print-interpreter "${EPREFIX}"/bin/bash)
+ ebegin "Changing interpreter to ${interpreter} for Gentoo prefix at ${ED}/opt/${SLOT}/bin"
+ find "${ED}/opt/${SLOT}/bin" -type f -print0 | \
+ while IFS= read -r -d '' filename; do
+ patchelf_for_bin ${filename} ${interpreter} \; || die
+ done
+ eend $?
+ fi
+
+ local symlinks=(
+ cargo
+ rustc
+ rustdoc
+ rust-gdb
+ rust-gdbgui
+ rust-lldb
+ )
+
+ use clippy && symlinks+=( clippy-driver cargo-clippy )
+ use rustfmt && symlinks+=( rustfmt cargo-fmt )
+ use rust-analyzer && symlinks+=( rust-analyzer )
+
+ einfo "installing eselect-rust symlinks and paths"
+ local i
+ for i in "${symlinks[@]}"; do
+ # we need realpath on /usr/bin/* symlink return version-appended binary path.
+ # so /usr/bin/rustc should point to /opt/rust-bin-<ver>/bin/rustc-<ver>
+ local ver_i="${i}-bin-${SLOT}"
+ ln -v "${ED}/opt/rust-bin-${SLOT}/bin/${i}" "${ED}/opt/rust-bin-${SLOT}/bin/${ver_i}" || die
+ dosym -r "/opt/rust-bin-${SLOT}/bin/${ver_i}" "/usr/bin/${ver_i}"
+ done
+
+ # symlinks to switch components to active rust in eselect
+ dosym -r "/opt/rust-bin-${SLOT}/lib" "/usr/lib/rust/lib-bin-${SLOT}"
+ dosym -r "/opt/rust-bin-${SLOT}/man" "/usr/lib/rust/man-bin-${SLOT}"
+ dosym -r "/opt/rust-bin-${SLOT}/lib/rustlib" "/usr/lib/rustlib-bin-${SLOT}"
+ dosym -r "/opt/rust-bin-${SLOT}/share/doc/rust" "/usr/share/doc/rust-bin-${SLOT}"
+
+ # make all capital underscored variable
+ local CARGO_TRIPLET="$(rust_abi)"
+ CARGO_TRIPLET="${CARGO_TRIPLET//-/_}"
+ CARGO_TRIPLET="${CARGO_TRIPLET^^}"
+ cat <<-_EOF_ > "${T}/50${P}"
+ MANPATH="${EPREFIX}/usr/lib/rust/man-bin-${SLOT}"
+ $(usev elibc_musl "CARGO_TARGET_${CARGO_TRIPLET}_RUSTFLAGS=\"-C target-feature=-crt-static\"")
+ _EOF_
+ doenvd "${T}/50${P}"
+
+ # note: eselect-rust adds EROOT to all paths below
+ cat <<-_EOF_ > "${T}/provider-${PN}-${SLOT}"
+ /usr/bin/cargo
+ /usr/bin/rustdoc
+ /usr/bin/rust-gdb
+ /usr/bin/rust-gdbgui
+ /usr/bin/rust-lldb
+ /usr/lib/rustlib
+ /usr/lib/rust/lib
+ /usr/lib/rust/man
+ /usr/share/doc/rust
+ _EOF_
+
+ if use clippy; then
+ echo /usr/bin/clippy-driver >> "${T}/provider-${PN}-${SLOT}"
+ echo /usr/bin/cargo-clippy >> "${T}/provider-${PN}-${SLOT}"
+ fi
+ if use rustfmt; then
+ echo /usr/bin/rustfmt >> "${T}/provider-${PN}-${SLOT}"
+ echo /usr/bin/cargo-fmt >> "${T}/provider-${PN}-${SLOT}"
+ fi
+ if use rust-analyzer; then
+ echo /usr/bin/rust-analyzer >> "${T}/provider-${PN}-${SLOT}"
+ fi
+
+ insinto /etc/env.d/rust
+ doins "${T}/provider-${PN}-${SLOT}"
+ popd >/dev/null || die
+}
+
+multilib_src_install() {
+ if multilib_is_native_abi; then
+ rust_native_abi_install
+ else
+ local rust_target
+ rust_target="$(rust_abi $(get_abi_CHOST ${v##*.}))"
+ dodir "/opt/${P}/lib/rustlib"
+ cp -vr "${WORKDIR}/rust-${PV}-${rust_target}/rust-std-${rust_target}/lib/rustlib/${rust_target}"\
+ "${ED}/opt/${P}/lib/rustlib" || die
+ fi
+
+ # BUG: installs x86_64 binary on other arches
+ rm -f "${ED}/opt/${P}/lib/rustlib/"*/bin/rust-llvm-dwp || die
+}
+
+pkg_postinst() {
+ eselect rust update
+
+ if has_version dev-debug/gdb || has_version llvm-core/lldb; then
+ elog "Rust installs helper scripts for calling GDB and LLDB,"
+ elog "for convenience they are installed under /usr/bin/rust-{gdb,lldb}-${PV}."
+ fi
+
+ if has_version app-editors/emacs; then
+ optfeature "emacs support for rust" app-emacs/rust-mode
+ fi
+
+ if has_version app-editors/gvim || has_version app-editors/vim; then
+ optfeature "vim support for rust" app-vim/rust-vim
+ fi
+}
+
+pkg_postrm() {
+ eselect rust cleanup
+}
diff --git a/dev-lang/rust-common/Manifest b/dev-lang/rust-common/Manifest
index 3aec9cc7faa03..a326b6c113e49 100644
--- a/dev-lang/rust-common/Manifest
+++ b/dev-lang/rust-common/Manifest
@@ -14,6 +14,8 @@ DIST rustc-1.87.0-src.tar.xz 283604208 BLAKE2B 7ede723121ff8df3908674631ceaec757
DIST rustc-1.87.0-src.tar.xz.asc 801 BLAKE2B c9740c03baedcd70defba3fd37831692adaf0e984ef6b11d259244330d044fcacf935e6dd76caf126848da0c40f38e5368c60e8aabed5d3c2655a61fdbdc7564 SHA512 ebc13374381839a997c63455b733fd2a7960b4fd497f19c29be948cce8bb59a31ddda5da54ca154c16f7de43dd1bacd6c6bd76f3b6b36c5b43f4cfaf1746b952
DIST rustc-1.88.0-src.tar.xz 283294344 BLAKE2B fc17efbc8b2e54f2da61384097dcb3b8f595f27f7853f56cef034913f6b46a718113af0fe66f0e3b0afd184ec506b35f3b74172926cf727ddc061f567d54fa4c SHA512 e6c62af2953f49462b2369e9551b12f2bec114577f90e3e76049636da4279b1e7f4d53bc6896f5d0d4715d90ef6d29dacff529a45690ffac6af62ad64600db40
DIST rustc-1.88.0-src.tar.xz.asc 801 BLAKE2B 858e987ad1fc49c1e1cbc5ea709f835c60fce907e89205e431c843bfad97dc0ccbcf399fc7d87319b8455561cbc24020bd88cb572cbe932cb8b80a8adec39687 SHA512 64ab398dc602fed3ad7bf232249e80cc0a9831aa90c7eb37658f7dc5b2af04ee391f9633aae7a1d90f743d019cec531318384f71384ecbe4f6169e6e88b7ba0e
+DIST rustc-1.89.0_beta20250726-src.tar.xz 267425764 BLAKE2B 2a6802d5458eedb66fa2bd28d1a0d4c2104b1a734d9f7ec35fe989d210496d09a6db1a655a99970d68cbaab395741e3ddab24999c1150e9e64e8e72e1e3d9912 SHA512 f1a7524f46675f574b22ec00d4ce0c42ae272be7265e0665bc81cf3803ce1b286e4f7eb64e1850a7aa7b7e05c1cecae7011ac43964138d3679c19f0008b27fc4
+DIST rustc-1.89.0_beta20250726-src.tar.xz.asc 801 BLAKE2B 9cac60bbe248e5c63e703549efed39cd66978d926ffda52c9578492194df8d7a592d16f606547039222ffb0baa375ac7bce98bda7a5388e4d03cffe8a25c4356 SHA512 49e2e90ee69155d2b28fa2e88a809fb2642ecde72618ce20bb3bbd56afa921fc1e228cdb6ef8bd22346cb5e106945df26a9b5b8acef8f3f8c343fed8694b95e8
EBUILD rust-common-1.81.0.ebuild 1442 BLAKE2B 2fca9110584bab02d27116bb7384ef4cdc0cc42323b469473f76fa09bd15fd4dd24a4597769d453d12c8e06b4305614d50120099feaeb142c2aafe29dd610348 SHA512 b948bc84b48deb6249c61d977dde1489374f5e0df679540a254ce4211f148eb5fff00fa4970bc63a07d4d08328fa821cee1172c388ddd8b48c1c0117a1c0259d
EBUILD rust-common-1.82.0.ebuild 1442 BLAKE2B 04d044c0a244ce4e62fd4a8ae096c29c1972677e61ea3c8dd267817deafcdfc305087dc17b021e82376f96888d2374a9de774dbeb6067ee335a2f41dc87918c3 SHA512 279e84b9fba7fcf68c7b8666882411dff77d056258f8e315c141b736a910377bec28020d11fe09ec42921ddeb746e34cf2b8ef3f0503d4578cd8faeb416f257e
EBUILD rust-common-1.83.0.ebuild 1442 BLAKE2B 04d044c0a244ce4e62fd4a8ae096c29c1972677e61ea3c8dd267817deafcdfc305087dc17b021e82376f96888d2374a9de774dbeb6067ee335a2f41dc87918c3 SHA512 279e84b9fba7fcf68c7b8666882411dff77d056258f8e315c141b736a910377bec28020d11fe09ec42921ddeb746e34cf2b8ef3f0503d4578cd8faeb416f257e
@@ -22,5 +24,6 @@ EBUILD rust-common-1.85.1.ebuild 2241 BLAKE2B dda6413b53ac965d1d9dbad2d6d5dd14d3
EBUILD rust-common-1.86.0.ebuild 2241 BLAKE2B dda6413b53ac965d1d9dbad2d6d5dd14d3deeaf64de5fc1c9d71594dbbb3e0b80c12967f801eaa2502e5a659754245672c360d560ea1b62ee1442a88241f1848 SHA512 8110be18152f54d503f11a22e0569726de2c430ce677ef1b749bf95cab850b1f409f47a461b377df5fb9904d00a462711bd185c18a904fdbbffa03a9cb009c03
EBUILD rust-common-1.87.0.ebuild 2241 BLAKE2B dda6413b53ac965d1d9dbad2d6d5dd14d3deeaf64de5fc1c9d71594dbbb3e0b80c12967f801eaa2502e5a659754245672c360d560ea1b62ee1442a88241f1848 SHA512 8110be18152f54d503f11a22e0569726de2c430ce677ef1b749bf95cab850b1f409f47a461b377df5fb9904d00a462711bd185c18a904fdbbffa03a9cb009c03
EBUILD rust-common-1.88.0.ebuild 2248 BLAKE2B 7da41b3ba969dfea261774cfa77754aaa20a7e74d7e2d7b905f172e37ae70f7f05731d11d59b572eaddf44690ffb6f457f158fa1cfa57aaeebcaec3fce75f5ba SHA512 20086a6be7b0e3ac8b59a5710f4b0f429d854ddef5a000a87b11103befdabf2cb914d5cce281ced33e0eb484263c15ff31801f1f6b21aae93420f7587a97b7c8
+EBUILD rust-common-1.89.0_beta20250726.ebuild 2248 BLAKE2B 7da41b3ba969dfea261774cfa77754aaa20a7e74d7e2d7b905f172e37ae70f7f05731d11d59b572eaddf44690ffb6f457f158fa1cfa57aaeebcaec3fce75f5ba SHA512 20086a6be7b0e3ac8b59a5710f4b0f429d854ddef5a000a87b11103befdabf2cb914d5cce281ced33e0eb484263c15ff31801f1f6b21aae93420f7587a97b7c8
EBUILD rust-common-9999.ebuild 2248 BLAKE2B 7da41b3ba969dfea261774cfa77754aaa20a7e74d7e2d7b905f172e37ae70f7f05731d11d59b572eaddf44690ffb6f457f158fa1cfa57aaeebcaec3fce75f5ba SHA512 20086a6be7b0e3ac8b59a5710f4b0f429d854ddef5a000a87b11103befdabf2cb914d5cce281ced33e0eb484263c15ff31801f1f6b21aae93420f7587a97b7c8
MISC metadata.xml 324 BLAKE2B 25e471eacc689a8af7e0251146bf712b020a10d55e3cb48285f174996ec66db8bbd146d4737db15ac3b2abf3e1f0415277b9bdca84d94f9b08a56e9242a4fcbf SHA512 723c102ec7017eeb72bfd6f37c16e2705e61bb626a93e5127eca2275a9367cefbccdd846fe8a699bc1192ae52cafe236f3fb6261fa6db361564b34880a9db2fb
diff --git a/dev-lang/rust-common/rust-common-1.89.0_beta20250726.ebuild b/dev-lang/rust-common/rust-common-1.89.0_beta20250726.ebuild
new file mode 100644
index 0000000000000..26c4792d0fb57
--- /dev/null
+++ b/dev-lang/rust-common/rust-common-1.89.0_beta20250726.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/rust.asc
+inherit shell-completion verify-sig
+
+DESCRIPTION="Common files shared between multiple slots of Rust"
+HOMEPAGE="https://www.rust-lang.org/"
+
+if [[ ${PV} = *9999* ]]; then
+ inherit git-r3
+ # In case cargo is not in sync we'll fetch it as a submodule
+ # Nightly users will probably already have the repo cloned and up-to-date anyway.
+ EGIT_REPO_URI="https://github.com/rust-lang/rust.git"
+ EGIT_SUBMODULES=( "-*" "src/tools/cargo" )
+elif [[ ${PV} == *beta* ]]; then
+ # Identify the snapshot date of the beta release:
+ # curl -Ls static.rust-lang.org/dist/channel-rust-beta.toml | grep beta-src.tar.xz
+ MY_PV=beta
+ betaver=${PV//*beta}
+ BETA_SNAPSHOT="${betaver:0:4}-${betaver:4:2}-${betaver:6:2}"
+ SRC_URI="https://static.rust-lang.org/dist/${BETA_SNAPSHOT}/rustc-beta-src.tar.xz -> rustc-${PV}-src.tar.xz
+ verify-sig? ( https://static.rust-lang.org/dist/${BETA_SNAPSHOT}/rustc-beta-src.tar.xz.asc
+ -> rustc-${PV}-src.tar.xz.asc )
+ "
+ S="${WORKDIR}/rustc-${MY_PV}-src"
+else
+ MY_PV=${PV}
+ SRC_URI="https://static.rust-lang.org/dist/rustc-${PV}-src.tar.xz
+ verify-sig? ( https://static.rust-lang.org/dist/rustc-${PV}-src.tar.xz.asc )
+ "
+ S="${WORKDIR}/rustc-${MY_PV}-src"
+ KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+fi
+
+LICENSE="|| ( MIT Apache-2.0 ) BSD BSD-1 BSD-2 BSD-4"
+SLOT="0"
+
+# Legacy non-slotted versions bash completions will collide.
+RDEPEND="
+ !dev-lang/rust:stable
+ !dev-lang/rust-bin:stable
+"
+BDEPEND="verify-sig? ( sec-keys/openpgp-keys-rust )"
+
+src_unpack() {
+ if [[ ${PV} == *9999* ]]; then
+ git-r3_src_unpack
+ else
+ if use verify-sig ; then
+ verify-sig_verify_detached "${DISTDIR}"/rustc-${PV}-src.tar.xz "${DISTDIR}"/rustc-${PV}-src.tar.xz.asc
+ fi
+
+ # Avoid unpacking the whole tarball which would need check-reqs
+ tar -xf "${DISTDIR}"/rustc-${PV}-src.tar.xz \
+ "rustc-${MY_PV}-src/src/tools/cargo/src/etc/"{_cargo,cargo.bashcomp.sh} || die
+ fi
+}
+
+src_configure() {
+ :
+}
+
+src_compile() {
+ :
+}
+
+src_install() {
+ newbashcomp src/tools/cargo/src/etc/cargo.bashcomp.sh cargo
+ dozshcomp src/tools/cargo/src/etc/_cargo
+}
diff --git a/dev-lang/rust/Manifest b/dev-lang/rust/Manifest
index 4c7f3ffd45145..0ab653e587aaa 100644
--- a/dev-lang/rust/Manifest
+++ b/dev-lang/rust/Manifest
@@ -1,5 +1,3 @@
-AUX rust-1.86.0-issue-139372-bgo-953956-fix-hardcoded-gnu-linker-flags.patch 1193 BLAKE2B 6e01e2904d8fc432f2dcfc79bf8f6241deb6967367552ec30df6479cc796feee05ccf569bb0d30bcab06edca887d96fe6a27679d9961a9037f31f257294b550c SHA512 1f9b9cc8c225553d877f218e7caa45e65f5692d64e67ffc93b1f6d3085645c2467bc0f4b9ea1610f9c03b882268685384f38a7fb0de574b43ac57055bf5d3fcf
-AUX rust-1.87.0-issue-139372-bgo-953956-fix-hardcoded-gnu-linker-flags.patch 1458 BLAKE2B df8ed0aba166d39684b381eedc94a4c956b1db728eedbf7f2ba3538a7a4d4c04453ad2ac086861da3726f7ec99515494e755ca1959886fcbc0fffef0b26f30cc SHA512 9c10d7e38cd23a45f607d88864b10dc7f7c6918c44523a33758c244b46f4881cf00d39f9a0ad2aeea1afdbbb0d51fcb86a966b648c39f097008909ebfb039bb9
DIST rust-patches-1.74.1-r101.tar.bz2 3887 BLAKE2B 0afb0252fe56ac8c572fe20acd989f9ef3f33cb8134cdb8fbf5cb064156556aedeb226fd50af465f35f656ebd0c0a163ca060490f44811def8535bad70f5f24d SHA512 7253728000d49fd8533182aa8961e70aef41a48e2df03e72d1ea93ca7abb924bbe1689692d874f2b18469e5a54ea572e55ddc18c9f4d81d1e8ec380f2d72095b
DIST rust-patches-1.75.0-r101.tar.bz2 4419 BLAKE2B 389a688a6e92d5f9325bade125b006deb7453d9d7ae0483c8ec0cf580f95eb03a65f600e79ed354029b4b91ab8f66929877bdc6ebf83e7b8d3b1d9451fecd8b6 SHA512 6f36e9e13e590bff72483ea4364c045579858da5db3868048f79e0dd6ac896aaf00a1fb9d156820e742a1f5ec412ddfa897677133669b77a4f219c6d90365775
DIST rust-patches-1.76.0-r101.tar.bz2 5513 BLAKE2B 52816dffac969520e7b73ceaae1201bb7abba129da1021e8e39ccd6e471281c51cf005221589c7b08fc328be54ba2d6134fc8e240cb15f0b877e370009937084 SHA512 a65d306d709e99c688e4febb439a60f9ac8b506a86fdb3021782dfbb8991ddcc07adcd19494a8e76233ad2bec7f23896b6eb80c13929b7c997fdc3fd45f8b63a
@@ -14,9 +12,10 @@ DIST rust-patches-1.84.0-r2.tar.bz2 2507 BLAKE2B ffe4e5fc49deebdb8b8b3022f951dfe
DIST rust-patches-1.84.1-r2.tar.bz2 2982 BLAKE2B 2f7addfa4530f3eab79f55ea44eee6390970874ae5ed40ef8706224024db47c861326dc5a79ed9bffcffbad5b27d44b6a3aebab7987fdb61124be3083fbabd71 SHA512 cc852e1e679827390134b47bfaa68567a75a5e8559a3caa24ab3931955050bac59f4fe6a4c249d83bde0aa25667ea04749f3763ff3566daa2999df8cbf2d0981
DIST rust-patches-1.85.0-r2.tar.bz2 4462 BLAKE2B 61cfde8688fecab1a5c3c80f29b37b691581f3f8be1648f9db34fff15026dab426458cba3b9f06fc5606a0a878b0527698ea6f94c7dff014e4339154ac907d13 SHA512 317ab0bcbb792faa1a761893264a29bd650b0d6c5ab17aa762075daccfda684bc6cdd20c0ef89b51bde1a7384fb1df576b18b5303115a8cf04877b435b2d6491
DIST rust-patches-1.85.1-r1.tar.bz2 4473 BLAKE2B fad2fe3222e2625b5cbc60ea1fb805080ce70f751c930c0e3bde9cf043059e1fc3ba4d8e618166fe99a7fcf12d5cccb684c05d4c2542a89c9794869204cbcb09 SHA512 edf680a1d3a29ae5d8140031dc8b232b747d08494db2f3393ccc286d9197139583bcaf536d5125b8c896a610c075115b9a16a6e6f3f6b5da60e58433f000dba6
-DIST rust-patches-1.86.0-r2.tar.bz2 5980 BLAKE2B 179d6acc8c7006eac4d00e073ec1f5496756ef51d465bc098daf1cfe650f469f4341893c72a65e21d84ecb3ccaeb46f5204ef517ae942482d835f89c0a934391 SHA512 31e902661d5ee2da82858910551393890583d9702303fed5652122c852e9384fb88a42eddd0b968558865e16b5bd4ac2a13a35bd01ec3f8c3adbb673bc465596
-DIST rust-patches-1.87.0-r1.tar.bz2 4635 BLAKE2B d813ec4a602d3bb879927a44a0b9f752aac255e31dfd13c56ab71b3fae7ce46a742c1d2e7494a7e17728f1edb2327ddd6ad6ebabc0c47d66326b766bbd323fbd SHA512 596ffe744a5849b443f077bbd4edbcbb240b9ac51c9d53e0e436e46d7c93a6734477d22eba4a066a0cf474503a6357a72dfa124e594f645be6f50d9bd25bdb10
+DIST rust-patches-1.86.0-r2-1.tar.bz2 6308 BLAKE2B eca644026942bd729a748df57dd67465bbec96b2d18a71c58fe04bb8e2514aabb1ca02cbd3761be5283328a3b728e063b1b85ea78f4f242c182071c44b8cb148 SHA512 1f1edcf76c64b0555366253e21d759e904a752746c2e5d88aba6e31f5ee2a2b0b06275674d2fc3acc42f589905eddc006d788f95b48a5d79a6ab767251d934da
+DIST rust-patches-1.87.0-r1-1.tar.bz2 5116 BLAKE2B 783ad21464a7e393d0aee506119be12b0137a7d360402b74f36b6fde154c2804cc0779da63875977d09f7e9f2d273ff41dd189bbe4eb239a314fea27bbaa704c SHA512 8c67e4e43bf2afb226f70bb2a03aad0abfd525cd484c8c9ff663da06d63b471f4f1b48169d952a6a6c14258c0029dedea14aadaaca2ee75389df65b806188363
DIST rust-patches-1.88.0.tar.bz2 4062 BLAKE2B 64168ffa608f2edf2e0b3d079152c3b5dd59d0cea29078894f286bf91488e2e7769c55ede2d43769368d2147b46699d1bf981190d6800dc3d41c736289122eaf SHA512 b565acfb4d1146e52b1fb66b4a242927407cc34f1b38c2a100135cbbde24c8374af1997bc22069cca25f33cc8d747e56391f3d98a2d4e13dc0abcec0d6f88b0b
+DIST rust-patches-1.89.0_beta20250726.tar.bz2 4126 BLAKE2B 643e6fda1f15d7b9e064d974929fbd97396edafd65f7eaaa3a7f0365e1929746deea800700022111e0e55a2f77a5153e90efd408b5398c34c15d81f2dc147625 SHA512 1021c1836d0a14f064a87e98b95d2a265ea0f8bdacb2cd0d7e08986d011371403faca4bf2d561e48bd089ba9f36aeff9f31f055dfeb9b613921b69eef329ee45
DIST rustc-1.74.1-src.tar.xz 155968724 BLAKE2B e05f2379ac94b286f85791a138e1928e5b5b5a7749f0981d82c40c2a12860f55bf96bb2f0e924e35a0f8b2447b13052d38adea909aaa3199105787bb5a4861b3 SHA512 14c7e7ed2f38ab60299d8c7d41d78f042b6b57ef822d577b5138e60bdde31cf141eccd4332a25bc5da3d58eb5313d63c1448b5dfe9e11b8055bb8ea133a9038d
DIST rustc-1.74.1-src.tar.xz.asc 801 BLAKE2B ddf73175b164233babf31ca3a381b03e20c0f36d017c1d5f85d6ab11f0986d861ab23b11c061e6b2444ced70c3d6a494cc3de4ec86f0deb221a805491bd75420 SHA512 9a96ff9ba9a4e2af4e267b2ec126fc0675c78d0eb767703daa2f28491c3d85c2ab00fbd8584390bf658812ec6c4ab6c57e43b386db59fd505bd3134a8873a09e
DIST rustc-1.75.0-src.tar.xz 159624388 BLAKE2B 8937b80585eddaa3e1f1ef948899d14a170308518c6fef9fe569560cdd870053776956743f796055f2119399b9ca6c0df12fedd789ae46324d071e5126c4e495 SHA512 7b0f25d91b1b5c317980fc88e059200bd43b56a70b445fbc72fb9b96e09775bfd3a98e9bd9d662af80f0ce3aef527c777ee82777e96ca876f47a972d63da8606
@@ -51,22 +50,25 @@ DIST rustc-1.87.0-src.tar.xz 283604208 BLAKE2B 7ede723121ff8df3908674631ceaec757
DIST rustc-1.87.0-src.tar.xz.asc 801 BLAKE2B c9740c03baedcd70defba3fd37831692adaf0e984ef6b11d259244330d044fcacf935e6dd76caf126848da0c40f38e5368c60e8aabed5d3c2655a61fdbdc7564 SHA512 ebc13374381839a997c63455b733fd2a7960b4fd497f19c29be948cce8bb59a31ddda5da54ca154c16f7de43dd1bacd6c6bd76f3b6b36c5b43f4cfaf1746b952
DIST rustc-1.88.0-src.tar.xz 283294344 BLAKE2B fc17efbc8b2e54f2da61384097dcb3b8f595f27f7853f56cef034913f6b46a718113af0fe66f0e3b0afd184ec506b35f3b74172926cf727ddc061f567d54fa4c SHA512 e6c62af2953f49462b2369e9551b12f2bec114577f90e3e76049636da4279b1e7f4d53bc6896f5d0d4715d90ef6d29dacff529a45690ffac6af62ad64600db40
DIST rustc-1.88.0-src.tar.xz.asc 801 BLAKE2B 858e987ad1fc49c1e1cbc5ea709f835c60fce907e89205e431c843bfad97dc0ccbcf399fc7d87319b8455561cbc24020bd88cb572cbe932cb8b80a8adec39687 SHA512 64ab398dc602fed3ad7bf232249e80cc0a9831aa90c7eb37658f7dc5b2af04ee391f9633aae7a1d90f743d019cec531318384f71384ecbe4f6169e6e88b7ba0e
-EBUILD rust-1.74.1-r101.ebuild 38723 BLAKE2B 7ac11be7cdd94419e581062eaea90dbea19ac00330b6deea9600118b1e52015bd19fbefa93cbb906b1c9fe834727e80d46a88be308ba7861c9cd6b8bb2ab0141 SHA512 1c659ca398f5113ac138bea8bf4d01cc66dedad9c95351d69d70271ed255f0c96fb91a8294e2c33e87d0988c8c0679cefc6b1c5e64ce4a7a1329ae9619c0912e
-EBUILD rust-1.75.0-r101.ebuild 24481 BLAKE2B b0a81439a51d49a06c7ec9573723f1a7d3d87c3c043a8e50eb2c5d700af717ddb3110c5aff57319a89e416756e69886bc58e151ddcf6a7ec589bf0bf0737de16 SHA512 af6dcfca873a8b37ceeeb7eedad0ee9c75c8532b2f6bff11c78d4aa72ad9a4b131544e87b3eb4c64c9d58c6fbba7910c13ca3d7d02dd5a405b70d472272816ec
-EBUILD rust-1.76.0-r101.ebuild 21032 BLAKE2B d88684f94ad8d57ffa56a102f69d3f6c410a63bd61ae0884ff1fdd51bc3315dde7dd72e1c29fbfde9852daf7c70fd246f98610e2f71cdc32bead2722a7d99a3d SHA512 7c6a14e61300e970fe5533cf18887af64f2f9165d6dad05a4cfebe74494f1f5f3cc53d26aa598d16ad1167585f621424fb7bf831f999e1badd9b7e60078cc153
-EBUILD rust-1.77.1-r101.ebuild 24540 BLAKE2B 7383c67e2995fb6907ca8464cf49361022731fd286592c5b17a54c756541656b9c49c5c127a22288907028aabd9c4037576c459999cbdee44f6b5c699c3b55fd SHA512 f51f75fdb8a0608bfbf16140c2c17a6ce93feefc860f0b87b5b4ae61a0ecd33af70977e599ba293f83ed205bc7801cc8d4a238716b5803b8de0476a15349b67b
-EBUILD rust-1.78.0-r101.ebuild 24799 BLAKE2B 04c242304418ef163b87957027287f76681bbd5ea106e5a9ad2440d76170712d529a8f6eec4d6ec903ff61c10824831bcecf09dbe585bf94fc8b0c3a91adf8a2 SHA512 452ef8533a94ce8a8a8019d854d2d64a6a3090effa07d5c01299e003b930f52575866bfb7e384542a28e11f7addf1b3889920a072582baf959f50505e9689bf4
-EBUILD rust-1.79.0-r101.ebuild 24799 BLAKE2B 21d564d444f9165d91bc5f1c8e36cee7237c3009d115651dc28fbd71bb00f899d777cad97cc35b98812ca8e4c5b806ac178c15091fe9203529454e78537b005d SHA512 9dc6c7c11b6ae130b1668537e32514b1f5b82574ce2e618b0f961a2a2fc029f3f9f60e9b7e7ea0239b4362a07c064db5669de169410d14108633e1dd37b2518a
-EBUILD rust-1.80.1-r101.ebuild 24738 BLAKE2B b52904a485b05d6516afaf04c9007c821f85e77cb0c43617b7089cf54914b53d2155301e6f428b14766452c2c6548f46fd7cc5bea7508d8aad6973b21c8461ca SHA512 8908141d7588ca97784db340f3873901b94e4fe793c3ba367e4326debc1a3ba8294a4b6a65445792c4b0182084478e2041d0ad9790b9f77e37cee8d79b09793e
-EBUILD rust-1.81.0-r101.ebuild 24786 BLAKE2B 7bef8478210dd8cd9281190a3a5df38c578078c2df1dd35321b94847c583fba8c60a78d6239716d9c014fd0018fa196e9b9af3f594d91058ea1d574c528cdc73 SHA512 91738edb88869e53d2c19c4f369c3fc5901ab8e05b1869f4de455ad9f89d9e4c0651671ed07abb17798b1e9abcdc2a2f24ec54a3dd3f07dd1b0023d1d48df79f
-EBUILD rust-1.82.0-r103.ebuild 24785 BLAKE2B 52dbb71272c59f3396b75c34462b797d57fe80b73c99cc3ce3c6245d5f6ee3a4db2d98537545ffe86c2e6e1b5d287e2924d81073da3fc6348f79a9b56afed755 SHA512 f77e038f83cb799c981de51a2c744b1dd2d917f3589ecb906488beba12f935026675637e6c4467aaeb40394e1984396b46bbc4bc40f6826d6fbefa8cdde2f219
-EBUILD rust-1.83.0-r3.ebuild 24018 BLAKE2B e51fa67d3595bb45be3df3de5325d0df5c93c634650b5ca455cd268cec7f9d517cea4cae1e2fe556a174cfb6f0d673f12f84fa694cb932e829466eb7d50dde2c SHA512 3ca5cfe5baed51b1e297d4b488e19a9ee3fb08eb8dcee4b0f1c76c20da56358f0629bcb5d91a27b03b1dada835273ee2d76fb2b561a9f2847b7d2a4078086104
-EBUILD rust-1.84.0-r2.ebuild 22992 BLAKE2B f09d14eadf5f935d8aff734ddafec99d77b85d078bc28427e912738a4f9377bf66a7e5a9cab0d65594883bea5bdfb9b24f8ad6f0c81540dd7fde060eefe3c70f SHA512 e758d2d5690916e90f82587fa93eee43ba014196c0a3c38a95c2fc076d809e3d0c44e9d4f6a324aca1d5b75f81117a5b1c3099478b63df786d1b57b49d9de930
-EBUILD rust-1.84.1-r2.ebuild 22985 BLAKE2B 6231cfb057750f3b0c5ad9b204f8981185c60634589eb7e7de0a6e50f27559a2a0f29f0ab90c5317991a7dba5b5945e89c80af026349431552411d46a40860db SHA512 ecce73dbaec428704007f716cd7d6df29cf2fa8bfd4c424154a65fff6c8c75251c5567de5b8781bac589bcb7eedec131d0232d0ce68940edb93e4129bc3fa528
-EBUILD rust-1.85.0-r2.ebuild 25688 BLAKE2B ff3a1afa14b4ff85fb783e9272e2da269ae0112d412e11bbed438310a2bc9bd203b64427b17f099935ab0394f8b81c9b77216c2c04022b638b499476b7c19f86 SHA512 70dda07277f60101aab929e6cd6c94b31e7d8a688df132e3dbf0fbe6110836d06f0d69ac80456f069af75b1b08610c6bfd2ced94a00ba703f19d8cc2859cdb89
-EBUILD rust-1.85.1-r1.ebuild 25681 BLAKE2B 9ae7372e1887b09b40880578a0791b14b831ccc2cfe05245d06504e94eb207db79023485b8036b966c6abaf915dda0b8acbda21387c6691e154c4ce8f5c90e03 SHA512 12f32c838db64713cf4201ddd64771929bddfee5ae600b2c505612ef5ea3e803db75a99bd0cbe9294becde7d75ba4264e317eec714b6041a5eed3b37ff556ef3
-EBUILD rust-1.86.0-r2.ebuild 25798 BLAKE2B 09a4a73d7b124527183e2ea1f645e3a6573498a7cd4cf1124ec1dfd06fde4eca78f29dd4f03628140c59b84e44db2a7ce9c1f95b83c6ea2b939d8b39042b868c SHA512 efdbda97440b96436fc14a219500d3bab2913c1b86d9b764785a4e6ebb4db190aeda1b894a15d266245480b5028cc77d32ccc4121571241212698976b369ae5b
-EBUILD rust-1.87.0-r1.ebuild 26037 BLAKE2B 64237e958bcdee900b195b533a1be56e9f9d6cb6c989e10215c780a53b8aac1cb1f63a90981b0b007feb5c5f8bace82d43883dc4cac2d536bd12e5877e7b8adc SHA512 90ab232c3e298f28fe5e64b517fd039aa3dace0a6ab45cb1298d6f20a3306df8ef90c208010e102106e91a24fb5dab3c480c00c120dad1a8017c62d19795f7da
-EBUILD rust-1.88.0.ebuild 26257 BLAKE2B a998534ff4753ee03b8a1f3a288767d10a6d81e4f21f5884ae6d6ebe20b2b4ed566025821740236f6a665cc0a2ba89fcab783397b6548fa7bdc3a780330de3b2 SHA512 07719d683d55a7580d8f189f7e9441b97278d150bf0fe2f4934a2f739ca42ffd59e74e29c41f387e0bfacbd98b982e8eba597067c7971af315d002ffa902b753
-EBUILD rust-9999.ebuild 26257 BLAKE2B a998534ff4753ee03b8a1f3a288767d10a6d81e4f21f5884ae6d6ebe20b2b4ed566025821740236f6a665cc0a2ba89fcab783397b6548fa7bdc3a780330de3b2 SHA512 07719d683d55a7580d8f189f7e9441b97278d150bf0fe2f4934a2f739ca42ffd59e74e29c41f387e0bfacbd98b982e8eba597067c7971af315d002ffa902b753
+DIST rustc-1.89.0_beta20250726-src.tar.xz 267425764 BLAKE2B 2a6802d5458eedb66fa2bd28d1a0d4c2104b1a734d9f7ec35fe989d210496d09a6db1a655a99970d68cbaab395741e3ddab24999c1150e9e64e8e72e1e3d9912 SHA512 f1a7524f46675f574b22ec00d4ce0c42ae272be7265e0665bc81cf3803ce1b286e4f7eb64e1850a7aa7b7e05c1cecae7011ac43964138d3679c19f0008b27fc4
+DIST rustc-1.89.0_beta20250726-src.tar.xz.asc 801 BLAKE2B 9cac60bbe248e5c63e703549efed39cd66978d926ffda52c9578492194df8d7a592d16f606547039222ffb0baa375ac7bce98bda7a5388e4d03cffe8a25c4356 SHA512 49e2e90ee69155d2b28fa2e88a809fb2642ecde72618ce20bb3bbd56afa921fc1e228cdb6ef8bd22346cb5e106945df26a9b5b8acef8f3f8c343fed8694b95e8
+EBUILD rust-1.74.1-r101.ebuild 38858 BLAKE2B d2dec2bfad10db145f908d40dcf5bf3d9c6f1dee9b9872e220f1acf681f0b5f0a670367b68a68abef4eb86fdaef7018c9e20b83402d41595dc7b76e52f89ceb1 SHA512 ac31b71e76e8b8213210d4f64482e6a8299ca39994c4cbfb7f3ce575acf2344c6d7165478e8ec4ad594730f8a9e7f961262e91093ac49f55f6462be6a063bf1d
+EBUILD rust-1.75.0-r101.ebuild 24616 BLAKE2B cbc82df4c7ea383908495981d70ccae40950685c2c8d0ddc86ff524ba356931ff43a1b6b69a5f7330ee92e55743cabc1709b3cd4d02d0c54085bcd5ce374fa64 SHA512 74833ede6e32f438905e27fa85af8f6ec4d99b5dce1a90d183e8ee973311c267ba3fe8a05c179196081745de8cbf7ad7e6f7b2d77e5aa1a4c66fff6b09ce59ab
+EBUILD rust-1.76.0-r101.ebuild 21167 BLAKE2B 12e656761b490fe9b923e9cb176cd71f104bbd90cc8dca0bc5b5fed2cc37f6a057e9cc414b66963a6fb03f0ce090d826f9b40bb5308198304e1ee70a68f96a45 SHA512 e4d46bf2a9672474a3d5714aec44e5e94c5436e23dc0e64ebed2f1acd8c8a6d9ad131b27e34b5c0afaa94d92540d2b655a589b86c3d9b95d33af7dfdbf275bf0
+EBUILD rust-1.77.1-r101.ebuild 24675 BLAKE2B 512f17e23ea75f5611398bd1b7099752e589a76260ae168c721a5af9de465e6fde4c1e4dbfd7a42dada4982fb01d7d12bcb77a091ef255049f44196d61efdaea SHA512 90f201e9ad0b1b3b92a3c8146af5dbce1ed6b5933ac780681b8c9d5acffbf26c69bc907e000f773d37c16ac32858a74c62ae8d6359225db2c7303d5173b2398f
+EBUILD rust-1.78.0-r101.ebuild 24934 BLAKE2B ec203e70c0590acf21cfc85558349e7f713cf32148b8552a7a00e8b1a22fe3e26dfc6af24fd8cefa3d0fe55ede543a7ee6d10a8e2a83df1a540a560a59cfbc1d SHA512 2d491f992d2a735bb96af78e885e4cb214e3218fdc21efcffb787c66f0c6cf8ecdf5ae9fa41c9eda900e969454ff368d48c21725bd031db072abe1b91efff9a2
+EBUILD rust-1.79.0-r101.ebuild 24934 BLAKE2B 474295a3a4cd6af7b30e69db49541b72ab98703ae7c5d700788357f8a86a11b87adc04ab7d7bc5db61673a52da60329e5023513d630dbbc398fb631094065c80 SHA512 a1ba8506a96ccb8fbf25fdce5f2f65dcc286822a38e75cd121459f899c573fde1760a2a23717b5c6b1bf0fdffccd22b0f1f5e706f2037e0e6d07434253b13c41
+EBUILD rust-1.80.1-r101.ebuild 24873 BLAKE2B 542738e893f61f4e6780cd144df55c4a0cc8f17c01c7de72d23fda2f5e9d13a42957ed10b1cc38b562d7734f12daaa6499dc821022f72fb2fa62d023e2ff69ab SHA512 dfbbb6848dd895bf1e555bf964f79c0ebc1a08f83ff180c7c699161e05109e96fff5adbedb3639aae6f3c6205e6fb0fc623e7996963300f84aed963ee770edf2
+EBUILD rust-1.81.0-r101.ebuild 24921 BLAKE2B 36736b724fafa94dc8630e0e6c465351b4ac1fbbedef9c921f81a38e2414e2d61f907b545ad2606c6011fb7e5a273a2f104800a09badf977f5bb9f29c80b1564 SHA512 8a74bdf96e567a0e2fc9868f9f5d5a6fee23c961c1e5d41e20b82fcbad3b46c5f5c607bf54908677a0faf1f9b1fae3bff80ea55303eb2f4d3a47aa4f576396b6
+EBUILD rust-1.82.0-r103.ebuild 24920 BLAKE2B b7a5c6dc28e66c7d10de160055302874d55ecda0c87736ee0ad8802e790017880c023edf0e5f1074389d1e0b5377b02b434681388d83ce8f6b0ecd08e358487e SHA512 1e0be7d7773df61215427b56619dd4f800efe12fa013d2dfa5d41775a2d689d1c81838c57f79e38c7017e93833b59bfadfc604181242c1460bb1752839a8829e
+EBUILD rust-1.83.0-r3.ebuild 24153 BLAKE2B c7f9ded15e91b7bfc1936321058c0e53fe90f98b278a728d473dd16089ecab4cf54f24a831d0456aa833bb5a8f263af9aae8c70026a0577a45af00da62faad07 SHA512 28be4d7d4d1b1093fba0a63665d67026cb151a7d16d39cf8c4e345ed075f143dd34846ff9135a0dd3fbc3ad76041e2eb13167b80d2a12a4559c0785cc193fe1f
+EBUILD rust-1.84.0-r2.ebuild 23127 BLAKE2B bfdd7cd91ab956baf6ca8d8b6b7d00a46a7e66239512c60e022a72c59e340ca869611613a9eba39e71269798c94d8302817ccc0e7466e4095d23639f01e46eea SHA512 edf41a1de7bcf16c6f00c949a65e64791e3a2307a5564c8fa679bbf40f8c27ea987d889f16114553c42e5bfe337e7fb9dd039195f57e21d37ac6a41177707ba0
+EBUILD rust-1.84.1-r2.ebuild 23120 BLAKE2B bc5bb5b593c26ab24afc2f3af222add7a53ad307597e3af1c49191ea6083f83d32cbd7a1f7b2ac78f103aa20c9d55c2cd55f2300686d0b47bc323e3c1b2c0193 SHA512 69382ccc65052d4e81e37ab8857229df228e974a45877e7b58f00dd1d9837d161da17d2929b839906dc0e695c225ee6d6faafece692a1076c68f2564d2469c0b
+EBUILD rust-1.85.0-r2.ebuild 25823 BLAKE2B 6bc7b059faf310a2fbba863f6c889332457531ac7a34ca8c3935b5b912d5580f425be1246bccc170beabef7769252785a4273e5f27973555ac6bfb9c8b4e8129 SHA512 963c814e0d654d1c333e9a3cf48a4726e7cce0a5a11704d6ea206c7ae2f2521e4e347d7608c41e1b22586041c77e40139e730ef085d3b047fa03ae55e6a52f58
+EBUILD rust-1.85.1-r1.ebuild 25816 BLAKE2B 7a394225598490d62564acce688ae68009d4f3ee2a7072843ffa46756a1498149cfb139b3b84064c6424b01964bac33866f77c9feabd83bce545aef7afe69b86 SHA512 370db960f0372fce5d1dbafc2a000629170e29bdc6f87b59c3f818109db171f2b3efd8d7216f0af57f83b3b55daf9f8fd78d6a8475ddb39f61ba25df71c7080e
+EBUILD rust-1.86.0-r2.ebuild 25841 BLAKE2B c7d72910e31ac2fc006a7c0f80c1939e488c530deb204ca0e816c46fc5c12d91c6c498a5a1794f2ca66b8f69ba67f33b69dcde79909b4994e971b5e2cd91891d SHA512 69663b63b35f95440e0ea664ac3b8a7cb00cf966628dbb4fa5dafc6ee3f2a28ad8e88c8633d3d16b3a3995b6943b23401746e9bc058a222d040a7b1089637742
+EBUILD rust-1.87.0-r1.ebuild 26080 BLAKE2B 33efa76608e4bb14b2147e444ef742413e85c744e0bc73f884db1c5ccd9e53000ed214f3200a8e82682d54c3745051a7b03f0fa55027f73f6ccd23cd416ea7ef SHA512 a13fcb295bd39b1a27f75550cd709f232011bf37e7e38a1d26fa684e1b2d332ee85cacda5eafb10c080e68d0a1d7ebc559f27e176fb3a0f3988370e7ff8b7140
+EBUILD rust-1.88.0.ebuild 26392 BLAKE2B 02b3d350dc168f32d3e5291e82d5a3e43aecef5f5efcc8c9cf528ad5a7cf2ba1608bae0be1a7e3660f4aa07369ca2bf6dc3e23bf80f7e9ea8ae0375787026e2f SHA512 ee96c0953fb132bca1db892732af080a39a65ed4c0fa0b88582bdb4e6aea09fea74eacc0e882be69f0c7fa2caaeac9d65c205bf18988de2ef19998632f4ad994
+EBUILD rust-1.89.0_beta20250726.ebuild 26392 BLAKE2B 02b3d350dc168f32d3e5291e82d5a3e43aecef5f5efcc8c9cf528ad5a7cf2ba1608bae0be1a7e3660f4aa07369ca2bf6dc3e23bf80f7e9ea8ae0375787026e2f SHA512 ee96c0953fb132bca1db892732af080a39a65ed4c0fa0b88582bdb4e6aea09fea74eacc0e882be69f0c7fa2caaeac9d65c205bf18988de2ef19998632f4ad994
+EBUILD rust-9999.ebuild 26392 BLAKE2B b177043ee1409e9089571fa73fc4946b25900474928f6ba41f04097eed0a64c57fac9006356cc9aae652a120c276f05001fd3ace801efff2916e03a18d58ca19 SHA512 d146437807326d3dc7382b444424dbfd8f5f446c15f0657999713d42400a666d9e108aa724d132430f73d2714a147a48314d6db3b28df13158743d021b84f50f
MISC metadata.xml 1585 BLAKE2B 56e9151323fb6f8b296221e2a4052e6f6028bfc743dd2fe1eed5541598aa1f443b554590baa8123527c9af4f0d1659cd21c040ee0d7a4563e6e222df8dc2a79f SHA512 b65ec03538118732bf697a98956fbb209814c011840fd0e5c62a514f7c48467bc4b1426ff636df9bd00c39b583ee58bdd2cbef8284fb898e0b56953dc1c46304
diff --git a/dev-lang/rust/files/rust-1.86.0-issue-139372-bgo-953956-fix-hardcoded-gnu-linker-flags.patch b/dev-lang/rust/files/rust-1.86.0-issue-139372-bgo-953956-fix-hardcoded-gnu-linker-flags.patch
deleted file mode 100644
index 11d7738f2ee19..0000000000000
--- a/dev-lang/rust/files/rust-1.86.0-issue-139372-bgo-953956-fix-hardcoded-gnu-linker-flags.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-diff '--color=auto' -Nuar rustc-1.86.0-src.orig/src/bootstrap/src/utils/helpers.rs rustc-1.86.0-src/src/bootstrap/src/utils/helpers.rs
---- rustc-1.86.0-src.orig/src/bootstrap/src/utils/helpers.rs 2025-03-31 22:37:24.000000000 +0100
-+++ rustc-1.86.0-src/src/bootstrap/src/utils/helpers.rs 2025-04-17 12:31:37.651607535 +0100
-@@ -451,12 +451,12 @@
- if !builder.is_lld_direct_linker(target) && builder.config.lld_mode.is_used() {
- match builder.config.lld_mode {
- LldMode::External => {
-- args.push("-Clinker-flavor=gnu-lld-cc".to_string());
-+ args.push("-Zlinker-features=+lld".to_string());
- // FIXME(kobzol): remove this flag once MCP510 gets stabilized
- args.push("-Zunstable-options".to_string());
- }
- LldMode::SelfContained => {
-- args.push("-Clinker-flavor=gnu-lld-cc".to_string());
-+ args.push("-Zlinker-features=+lld".to_string());
- args.push("-Clink-self-contained=+linker".to_string());
- // FIXME(kobzol): remove this flag once MCP510 gets stabilized
- args.push("-Zunstable-options".to_string());
diff --git a/dev-lang/rust/files/rust-1.87.0-issue-139372-bgo-953956-fix-hardcoded-gnu-linker-flags.patch b/dev-lang/rust/files/rust-1.87.0-issue-139372-bgo-953956-fix-hardcoded-gnu-linker-flags.patch
deleted file mode 100644
index 37d054222cda2..0000000000000
--- a/dev-lang/rust/files/rust-1.87.0-issue-139372-bgo-953956-fix-hardcoded-gnu-linker-flags.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From 76e13020767e7ff783284b5bcf7a7509259ceb51 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Jakub=20Ber=C3=A1nek?= <berykubik@gmail.com>
-Date: Fri, 4 Apr 2025 18:29:20 +0200
-Subject: [PATCH] Use target-agnostic LLD flags in bootstrap for use-lld
-
----
- src/bootstrap/src/utils/helpers.rs | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/src/bootstrap/src/utils/helpers.rs b/src/bootstrap/src/utils/helpers.rs
-index f8e4d4e04717d..78dcdcbd1874a 100644
---- a/src/bootstrap/src/utils/helpers.rs
-+++ b/src/bootstrap/src/utils/helpers.rs
-@@ -474,13 +474,13 @@ pub fn linker_flags(
- if stage == 0 && target.is_windows() {
- args.push("-Clink-arg=-fuse-ld=lld".to_string());
- } else {
-- args.push("-Clinker-flavor=gnu-lld-cc".to_string());
-+ args.push("-Zlinker-features=+lld".to_string());
- }
- // FIXME(kobzol): remove this flag once MCP510 gets stabilized
- args.push("-Zunstable-options".to_string());
- }
- LldMode::SelfContained => {
-- args.push("-Clinker-flavor=gnu-lld-cc".to_string());
-+ args.push("-Zlinker-features=+lld".to_string());
- args.push("-Clink-self-contained=+linker".to_string());
- // FIXME(kobzol): remove this flag once MCP510 gets stabilized
- args.push("-Zunstable-options".to_string());
diff --git a/dev-lang/rust/rust-1.74.1-r101.ebuild b/dev-lang/rust/rust-1.74.1-r101.ebuild
index 877fac40cfbb9..102ec7ee6b498 100644
--- a/dev-lang/rust/rust-1.74.1-r101.ebuild
+++ b/dev-lang/rust/rust-1.74.1-r101.ebuild
@@ -264,6 +264,8 @@ src_unpack() {
}
src_prepare() {
+ # Commit patches to the appropriate branch in proj/rust-patches.git
+ # then cut a new tag / tarball. Don't add patches to ${FILESDIR}
PATCHES=(
"${WORKDIR}/rust-patches-${RUST_PATCH_VER}/"
)
diff --git a/dev-lang/rust/rust-1.75.0-r101.ebuild b/dev-lang/rust/rust-1.75.0-r101.ebuild
index 988471ca47f82..ed00b2853439e 100644
--- a/dev-lang/rust/rust-1.75.0-r101.ebuild
+++ b/dev-lang/rust/rust-1.75.0-r101.ebuild
@@ -243,6 +243,8 @@ src_unpack() {
}
src_prepare() {
+ # Commit patches to the appropriate branch in proj/rust-patches.git
+ # then cut a new tag / tarball. Don't add patches to ${FILESDIR}
PATCHES=(
"${WORKDIR}/rust-patches-${RUST_PATCH_VER}/"
)
diff --git a/dev-lang/rust/rust-1.76.0-r101.ebuild b/dev-lang/rust/rust-1.76.0-r101.ebuild
index b30ccfabb5cbb..02b705c03318b 100644
--- a/dev-lang/rust/rust-1.76.0-r101.ebuild
+++ b/dev-lang/rust/rust-1.76.0-r101.ebuild
@@ -243,6 +243,8 @@ src_unpack() {
}
src_prepare() {
+ # Commit patches to the appropriate branch in proj/rust-patches.git
+ # then cut a new tag / tarball. Don't add patches to ${FILESDIR}
PATCHES=(
"${WORKDIR}/rust-patches-${RUST_PATCH_VER}/"
)
diff --git a/dev-lang/rust/rust-1.77.1-r101.ebuild b/dev-lang/rust/rust-1.77.1-r101.ebuild
index 8eb384190d43f..f8096883dddc1 100644
--- a/dev-lang/rust/rust-1.77.1-r101.ebuild
+++ b/dev-lang/rust/rust-1.77.1-r101.ebuild
@@ -243,6 +243,8 @@ src_unpack() {
}
src_prepare() {
+ # Commit patches to the appropriate branch in proj/rust-patches.git
+ # then cut a new tag / tarball. Don't add patches to ${FILESDIR}
PATCHES=(
"${WORKDIR}/rust-patches-${RUST_PATCH_VER}/"
)
diff --git a/dev-lang/rust/rust-1.78.0-r101.ebuild b/dev-lang/rust/rust-1.78.0-r101.ebuild
index 51d7cbe0bf537..bf0f4a9f2cc91 100644
--- a/dev-lang/rust/rust-1.78.0-r101.ebuild
+++ b/dev-lang/rust/rust-1.78.0-r101.ebuild
@@ -243,6 +243,8 @@ src_unpack() {
}
src_prepare() {
+ # Commit patches to the appropriate branch in proj/rust-patches.git
+ # then cut a new tag / tarball. Don't add patches to ${FILESDIR}
PATCHES=(
"${WORKDIR}/rust-patches-${RUST_PATCH_VER}/"
)
diff --git a/dev-lang/rust/rust-1.79.0-r101.ebuild b/dev-lang/rust/rust-1.79.0-r101.ebuild
index 916a48f6b3d8a..1a4e15eb06d8e 100644
--- a/dev-lang/rust/rust-1.79.0-r101.ebuild
+++ b/dev-lang/rust/rust-1.79.0-r101.ebuild
@@ -243,6 +243,8 @@ src_unpack() {
}
src_prepare() {
+ # Commit patches to the appropriate branch in proj/rust-patches.git
+ # then cut a new tag / tarball. Don't add patches to ${FILESDIR}
PATCHES=(
"${WORKDIR}/rust-patches-${RUST_PATCH_VER}/"
)
diff --git a/dev-lang/rust/rust-1.80.1-r101.ebuild b/dev-lang/rust/rust-1.80.1-r101.ebuild
index 101321ff60d24..0309e05390c6c 100644
--- a/dev-lang/rust/rust-1.80.1-r101.ebuild
+++ b/dev-lang/rust/rust-1.80.1-r101.ebuild
@@ -243,6 +243,8 @@ src_unpack() {
}
src_prepare() {
+ # Commit patches to the appropriate branch in proj/rust-patches.git
+ # then cut a new tag / tarball. Don't add patches to ${FILESDIR}
PATCHES=(
"${WORKDIR}/rust-patches-${RUST_PATCH_VER}/"
)
diff --git a/dev-lang/rust/rust-1.81.0-r101.ebuild b/dev-lang/rust/rust-1.81.0-r101.ebuild
index c5dc04af29bf6..e7b39689f06fd 100644
--- a/dev-lang/rust/rust-1.81.0-r101.ebuild
+++ b/dev-lang/rust/rust-1.81.0-r101.ebuild
@@ -244,6 +244,8 @@ src_unpack() {
}
src_prepare() {
+ # Commit patches to the appropriate branch in proj/rust-patches.git
+ # then cut a new tag / tarball. Don't add patches to ${FILESDIR}
PATCHES=(
"${WORKDIR}/rust-patches-${RUST_PATCH_VER}/"
)
diff --git a/dev-lang/rust/rust-1.82.0-r103.ebuild b/dev-lang/rust/rust-1.82.0-r103.ebuild
index 690ca13d010de..62fcfc8aa3f4a 100644
--- a/dev-lang/rust/rust-1.82.0-r103.ebuild
+++ b/dev-lang/rust/rust-1.82.0-r103.ebuild
@@ -243,6 +243,8 @@ src_unpack() {
}
src_prepare() {
+ # Commit patches to the appropriate branch in proj/rust-patches.git
+ # then cut a new tag / tarball. Don't add patches to ${FILESDIR}
PATCHES=(
"${WORKDIR}/rust-patches-${RUST_PATCH_VER}/"
)
diff --git a/dev-lang/rust/rust-1.83.0-r3.ebuild b/dev-lang/rust/rust-1.83.0-r3.ebuild
index 01c787cdb7420..6b44e21244549 100644
--- a/dev-lang/rust/rust-1.83.0-r3.ebuild
+++ b/dev-lang/rust/rust-1.83.0-r3.ebuild
@@ -243,6 +243,8 @@ src_unpack() {
}
src_prepare() {
+ # Commit patches to the appropriate branch in proj/rust-patches.git
+ # then cut a new tag / tarball. Don't add patches to ${FILESDIR}
PATCHES=(
"${WORKDIR}/rust-patches-${RUST_PATCH_VER}/"
)
diff --git a/dev-lang/rust/rust-1.84.0-r2.ebuild b/dev-lang/rust/rust-1.84.0-r2.ebuild
index 481be29a7207d..e78e687cc9b1b 100644
--- a/dev-lang/rust/rust-1.84.0-r2.ebuild
+++ b/dev-lang/rust/rust-1.84.0-r2.ebuild
@@ -249,6 +249,8 @@ src_unpack() {
}
src_prepare() {
+ # Commit patches to the appropriate branch in proj/rust-patches.git
+ # then cut a new tag / tarball. Don't add patches to ${FILESDIR}
PATCHES=(
"${WORKDIR}/rust-patches-${RUST_PATCH_VER}/"
)
diff --git a/dev-lang/rust/rust-1.84.1-r2.ebuild b/dev-lang/rust/rust-1.84.1-r2.ebuild
index bcee8100e1bf4..74c60132f62c3 100644
--- a/dev-lang/rust/rust-1.84.1-r2.ebuild
+++ b/dev-lang/rust/rust-1.84.1-r2.ebuild
@@ -249,6 +249,8 @@ src_unpack() {
}
src_prepare() {
+ # Commit patches to the appropriate branch in proj/rust-patches.git
+ # then cut a new tag / tarball. Don't add patches to ${FILESDIR}
PATCHES=(
"${WORKDIR}/rust-patches-${RUST_PATCH_VER}/"
)
diff --git a/dev-lang/rust/rust-1.85.0-r2.ebuild b/dev-lang/rust/rust-1.85.0-r2.ebuild
index 55a53cbf5e726..ef0915f9a4b61 100644
--- a/dev-lang/rust/rust-1.85.0-r2.ebuild
+++ b/dev-lang/rust/rust-1.85.0-r2.ebuild
@@ -306,6 +306,8 @@ src_prepare() {
${CARGO} generate-lockfile --offline || die "Failed to generate lockfiles"
fi
+ # Commit patches to the appropriate branch in proj/rust-patches.git
+ # then cut a new tag / tarball. Don't add patches to ${FILESDIR}
PATCHES=(
"${WORKDIR}/rust-patches-${RUST_PATCH_VER}/"
)
diff --git a/dev-lang/rust/rust-1.85.1-r1.ebuild b/dev-lang/rust/rust-1.85.1-r1.ebuild
index 4b334f7c33dcc..e64ed6012969f 100644
--- a/dev-lang/rust/rust-1.85.1-r1.ebuild
+++ b/dev-lang/rust/rust-1.85.1-r1.ebuild
@@ -306,6 +306,8 @@ src_prepare() {
${CARGO} generate-lockfile --offline || die "Failed to generate lockfiles"
fi
+ # Commit patches to the appropriate branch in proj/rust-patches.git
+ # then cut a new tag / tarball. Don't add patches to ${FILESDIR}
PATCHES=(
"${WORKDIR}/rust-patches-${RUST_PATCH_VER}/"
)
diff --git a/dev-lang/rust/rust-1.86.0-r2.ebuild b/dev-lang/rust/rust-1.86.0-r2.ebuild
index c7bbd3260736a..9586a6dcae6cd 100644
--- a/dev-lang/rust/rust-1.86.0-r2.ebuild
+++ b/dev-lang/rust/rust-1.86.0-r2.ebuild
@@ -6,7 +6,7 @@ EAPI=8
LLVM_COMPAT=( 19 )
PYTHON_COMPAT=( python3_{11..13} )
-RUST_PATCH_VER=${PVR}
+RUST_PATCH_VER="${PVR}-1"
RUST_MAX_VER=${PV%%_*}
if [[ ${PV} == *9999* ]]; then
@@ -307,6 +307,8 @@ src_prepare() {
${CARGO} generate-lockfile --offline || die "Failed to generate lockfiles"
fi
+ # Commit patches to the appropriate branch in proj/rust-patches.git
+ # then cut a new tag / tarball. Don't add patches to ${FILESDIR}
PATCHES=(
"${WORKDIR}/rust-patches-${RUST_PATCH_VER}/"
)
@@ -316,8 +318,6 @@ src_prepare() {
fi
default
-
- eapply "${FILESDIR}"/rust-1.86.0-issue-139372-bgo-953956-fix-hardcoded-gnu-linker-flags.patch
}
src_configure() {
diff --git a/dev-lang/rust/rust-1.87.0-r1.ebuild b/dev-lang/rust/rust-1.87.0-r1.ebuild
index 44ae18b90462a..9ef6faaf802e8 100644
--- a/dev-lang/rust/rust-1.87.0-r1.ebuild
+++ b/dev-lang/rust/rust-1.87.0-r1.ebuild
@@ -6,7 +6,7 @@ EAPI=8
LLVM_COMPAT=( 20 )
PYTHON_COMPAT=( python3_{11..14} )
-RUST_PATCH_VER=${PVR}
+RUST_PATCH_VER="${PVR}-1"
RUST_MAX_VER=${PV%%_*}
if [[ ${PV} == *9999* ]]; then
@@ -308,6 +308,8 @@ src_prepare() {
${CARGO} generate-lockfile --offline || die "Failed to generate lockfiles"
fi
+ # Commit patches to the appropriate branch in proj/rust-patches.git
+ # then cut a new tag / tarball. Don't add patches to ${FILESDIR}
PATCHES=(
"${WORKDIR}/rust-patches-${RUST_PATCH_VER}/"
)
@@ -317,8 +319,6 @@ src_prepare() {
fi
default
-
- eapply "${FILESDIR}"/rust-1.87.0-issue-139372-bgo-953956-fix-hardcoded-gnu-linker-flags.patch
}
src_configure() {
@@ -446,6 +446,7 @@ src_configure() {
cargo = "${rust_stage0_root}/bin/cargo"
rustc = "${rust_stage0_root}/bin/rustc"
rustfmt = "${rust_stage0_root}/bin/rustfmt"
+ description = "gentoo"
docs = $(toml_usex doc)
compiler-docs = false
submodules = false
@@ -483,7 +484,6 @@ src_configure() {
echo "default-linker = \"${CHOST}-cc\""
fi)
channel = "${build_channel}"
- description = "gentoo"
rpath = true
verbose-tests = true
optimize-tests = $(toml_usex !debug)
diff --git a/dev-lang/rust/rust-1.88.0.ebuild b/dev-lang/rust/rust-1.88.0.ebuild
index 1bb3c5f4711b5..5ace910567f21 100644
--- a/dev-lang/rust/rust-1.88.0.ebuild
+++ b/dev-lang/rust/rust-1.88.0.ebuild
@@ -320,6 +320,8 @@ src_prepare() {
${CARGO} generate-lockfile --offline || die "Failed to generate lockfiles"
fi
+ # Commit patches to the appropriate branch in proj/rust-patches.git
+ # then cut a new tag / tarball. Don't add patches to ${FILESDIR}
PATCHES=(
"${WORKDIR}/rust-patches-${RUST_PATCH_VER}/"
)
@@ -458,6 +460,7 @@ src_configure() {
cargo = "${rust_stage0_root}/bin/cargo"
rustc = "${rust_stage0_root}/bin/rustc"
rustfmt = "${rust_stage0_root}/bin/rustfmt"
+ description = "gentoo"
docs = $(toml_usex doc)
compiler-docs = false
submodules = false
@@ -495,7 +498,6 @@ src_configure() {
echo "default-linker = \"${CHOST}-cc\""
fi)
channel = "${build_channel}"
- description = "gentoo"
rpath = true
verbose-tests = true
optimize-tests = $(toml_usex !debug)
diff --git a/dev-lang/rust/rust-1.89.0_beta20250726.ebuild b/dev-lang/rust/rust-1.89.0_beta20250726.ebuild
new file mode 100644
index 0000000000000..5ace910567f21
--- /dev/null
+++ b/dev-lang/rust/rust-1.89.0_beta20250726.ebuild
@@ -0,0 +1,837 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LLVM_COMPAT=( 20 )
+PYTHON_COMPAT=( python3_{11..14} )
+
+RUST_PATCH_VER=${PVR}
+
+RUST_MAX_VER=${PV%%_*}
+if [[ ${PV} == *9999* ]]; then
+ RUST_MIN_VER="1.88.0" # Update this as new `beta` releases come out.
+elif [[ ${PV} == *beta* ]]; then
+ RUST_MAX_VER="$(ver_cut 1).$(ver_cut 2).0"
+ RUST_MIN_VER="$(ver_cut 1).$(($(ver_cut 2) - 1)).0"
+else
+ RUST_MIN_VER="$(ver_cut 1).$(($(ver_cut 2) - 1)).0"
+fi
+
+inherit check-reqs estack flag-o-matic llvm-r1 multiprocessing optfeature \
+ multilib multilib-build python-any-r1 rust rust-toolchain toolchain-funcs verify-sig
+
+if [[ ${PV} = *9999* ]]; then
+ inherit git-r3
+elif [[ ${PV} == *beta* ]]; then
+ # Identify the snapshot date of the beta release:
+ # curl -Ls static.rust-lang.org/dist/channel-rust-beta.toml | grep beta-src.tar.xz
+ betaver=${PV//*beta}
+ BETA_SNAPSHOT="${betaver:0:4}-${betaver:4:2}-${betaver:6:2}"
+ MY_P="rustc-beta"
+ SRC_URI="https://static.rust-lang.org/dist/${BETA_SNAPSHOT}/rustc-beta-src.tar.xz -> rustc-${PV}-src.tar.xz
+ https://gitweb.gentoo.org/proj/rust-patches.git/snapshot/rust-patches-${RUST_PATCH_VER}.tar.bz2
+ verify-sig? ( https://static.rust-lang.org/dist/${BETA_SNAPSHOT}/rustc-beta-src.tar.xz.asc
+ -> rustc-${PV}-src.tar.xz.asc )
+ "
+ S="${WORKDIR}/${MY_P}-src"
+else
+ MY_P="rustc-${PV}"
+ SRC_URI="https://static.rust-lang.org/dist/${MY_P}-src.tar.xz
+ https://gitweb.gentoo.org/proj/rust-patches.git/snapshot/rust-patches-${RUST_PATCH_VER}.tar.bz2
+ verify-sig? ( https://static.rust-lang.org/dist/${MY_P}-src.tar.xz.asc )
+ "
+ S="${WORKDIR}/${MY_P}-src"
+ KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+fi
+
+DESCRIPTION="Systems programming language originally developed by Mozilla"
+HOMEPAGE="https://www.rust-lang.org/"
+
+# keep in sync with llvm ebuild of the same version as bundled one.
+ALL_LLVM_TARGETS=( AArch64 AMDGPU ARC ARM AVR BPF CSKY DirectX Hexagon Lanai
+ LoongArch M68k Mips MSP430 NVPTX PowerPC RISCV Sparc SPIRV SystemZ VE
+ WebAssembly X86 XCore Xtensa )
+ALL_LLVM_TARGETS=( "${ALL_LLVM_TARGETS[@]/#/llvm_targets_}" )
+LLVM_TARGET_USEDEPS=${ALL_LLVM_TARGETS[@]/%/(-)?}
+
+# https://github.com/rust-lang/llvm-project/blob/rustc-1.84.0/llvm/CMakeLists.txt
+_ALL_RUST_EXPERIMENTAL_TARGETS=( ARC CSKY DirectX M68k SPIRV Xtensa )
+declare -A ALL_RUST_EXPERIMENTAL_TARGETS
+for _x in "${_ALL_RUST_EXPERIMENTAL_TARGETS[@]}"; do
+ ALL_RUST_EXPERIMENTAL_TARGETS["llvm_targets_${_x}"]=0
+done
+
+LICENSE="|| ( MIT Apache-2.0 ) BSD BSD-1 BSD-2 BSD-4"
+SLOT="${PV%%_*}" # Beta releases get to share the same SLOT as the eventual stable
+
+IUSE="big-endian clippy cpu_flags_x86_sse2 debug dist doc llvm-libunwind lto rustfmt rust-analyzer rust-src +system-llvm test wasm ${ALL_LLVM_TARGETS[*]}"
+
+if [[ ${PV} = *9999* ]]; then
+ # These USE flags require nightly rust
+ IUSE+=" miri"
+fi
+
+LLVM_DEPEND=()
+# splitting usedeps needed to avoid CI/pkgcheck's UncheckableDep limitation
+for _x in "${ALL_LLVM_TARGETS[@]}"; do
+ LLVM_DEPEND+=( " ${_x}? ( $(llvm_gen_dep "llvm-core/llvm:\${LLVM_SLOT}[${_x}=]") )" )
+ if [[ -v ALL_RUST_EXPERIMENTAL_TARGETS["${_x}"] ]] ; then
+ ALL_RUST_EXPERIMENTAL_TARGETS["${_x}"]=1
+ fi
+done
+LLVM_DEPEND+=( " wasm? ( $(llvm_gen_dep 'llvm-core/lld:${LLVM_SLOT}') )" )
+LLVM_DEPEND+=( " $(llvm_gen_dep 'llvm-core/llvm:${LLVM_SLOT}')" )
+
+# dev-libs/oniguruma is used for documentation
+BDEPEND="${PYTHON_DEPS}
+ app-eselect/eselect-rust
+ dev-libs/oniguruma
+ || (
+ >=sys-devel/gcc-4.7[cxx]
+ >=llvm-core/clang-3.5
+ )
+ lto? ( system-llvm? (
+ || (
+ $(llvm_gen_dep 'llvm-core/lld:${LLVM_SLOT}')
+ sys-devel/mold
+ )
+ ) )
+ !system-llvm? (
+ >=dev-build/cmake-3.13.4
+ app-alternatives/ninja
+ )
+ test? ( dev-debug/gdb )
+ verify-sig? ( sec-keys/openpgp-keys-rust )
+"
+
+DEPEND="
+ >=app-arch/xz-utils-5.2
+ net-misc/curl:=[http2,ssl]
+ sys-libs/zlib:=
+ dev-libs/openssl:0=
+ system-llvm? (
+ ${LLVM_DEPEND[*]}
+ llvm-libunwind? ( llvm-runtimes/libunwind:= )
+ )
+ !system-llvm? (
+ !llvm-libunwind? (
+ elibc_musl? ( sys-libs/libunwind:= )
+ )
+ )
+"
+
+RDEPEND="${DEPEND}
+ app-eselect/eselect-rust
+ dev-lang/rust-common
+ sys-apps/lsb-release
+ !dev-lang/rust:stable
+ !dev-lang/rust-bin:stable
+"
+
+REQUIRED_USE="|| ( ${ALL_LLVM_TARGETS[*]} )
+ rust-analyzer? ( rust-src )
+ test? ( ${ALL_LLVM_TARGETS[*]} )
+ wasm? ( llvm_targets_WebAssembly )
+ x86? ( cpu_flags_x86_sse2 )
+"
+
+# we don't use cmake.eclass, but can get a warning
+CMAKE_WARN_UNUSED_CLI=no
+
+QA_FLAGS_IGNORED="
+ usr/lib/${PN}/${SLOT}/bin/.*
+ usr/lib/${PN}/${SLOT}/libexec/.*
+ usr/lib/${PN}/${SLOT}/lib/lib.*.so
+ usr/lib/${PN}/${SLOT}/lib/rustlib/.*/bin/.*
+ usr/lib/${PN}/${SLOT}/lib/rustlib/.*/lib/lib.*.so
+"
+
+QA_SONAME="
+ usr/lib/${PN}/${SLOT}/lib/lib.*.so.*
+ usr/lib/${PN}/${SLOT}/lib/rustlib/.*/lib/lib.*.so
+"
+
+QA_PRESTRIPPED="
+ usr/lib/${PN}/${SLOT}/lib/rustlib/.*/bin/rust-llvm-dwp
+ usr/lib/${PN}/${SLOT}/lib/rustlib/.*/lib/self-contained/crtn.o
+"
+
+# An rmeta file is custom binary format that contains the metadata for the crate.
+# rmeta files do not support linking, since they do not contain compiled object files.
+# so we can safely silence the warning for this QA check.
+QA_EXECSTACK="usr/lib/${PN}/${SLOT}/lib/rustlib/*/lib*.rlib:lib.rmeta"
+
+# causes double bootstrap
+RESTRICT="test"
+
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/rust.asc
+
+clear_vendor_checksums() {
+ sed -i 's/\("files":{\)[^}]*/\1/' "vendor/${1}/.cargo-checksum.json" || die
+}
+
+toml_usex() {
+ usex "${1}" true false
+}
+
+pre_build_checks() {
+ local M=9216
+ # multiply requirements by 1.3 if we are doing x86-multilib
+ if use amd64; then
+ M=$(( $(usex abi_x86_32 13 10) * ${M} / 10 ))
+ fi
+ M=$(( $(usex clippy 128 0) + ${M} ))
+ if [[ ${PV} == *9999* ]]; then
+ M=$(( $(usex miri 128 0) + ${M} ))
+ fi
+ M=$(( $(usex rustfmt 256 0) + ${M} ))
+ # add 2G if we compile llvm and 256M per llvm_target
+ if ! use system-llvm; then
+ M=$(( 2048 + ${M} ))
+ local ltarget
+ for ltarget in ${ALL_LLVM_TARGETS[@]}; do
+ M=$(( $(usex ${ltarget} 256 0) + ${M} ))
+ done
+ fi
+ M=$(( $(usex wasm 256 0) + ${M} ))
+ M=$(( $(usex debug 2 1) * ${M} ))
+ eshopts_push -s extglob
+ if is-flagq '-g?(gdb)?([1-9])'; then
+ M=$(( 15 * ${M} / 10 ))
+ fi
+ eshopts_pop
+ M=$(( $(usex doc 256 0) + ${M} ))
+ CHECKREQS_DISK_BUILD=${M}M check-reqs_pkg_${EBUILD_PHASE}
+}
+
+llvm_check_deps() {
+ has_version -r "llvm-core/llvm:${LLVM_SLOT}[${LLVM_TARGET_USEDEPS// /,}]"
+}
+
+# Is LLVM being linked against libc++?
+is_libcxx_linked() {
+ local code='#include <ciso646>
+#if defined(_LIBCPP_VERSION)
+ HAVE_LIBCXX
+#endif
+'
+ local out=$($(tc-getCXX) ${CXXFLAGS} ${CPPFLAGS} -x c++ -E -P - <<<"${code}") || return 1
+ [[ ${out} == *HAVE_LIBCXX* ]]
+}
+
+pkg_pretend() {
+ pre_build_checks
+}
+
+pkg_setup() {
+ pre_build_checks
+ python-any-r1_pkg_setup
+
+ export LIBGIT2_NO_PKG_CONFIG=1 #749381
+ if tc-is-cross-compiler; then
+ use system-llvm && die "USE=system-llvm not allowed when cross-compiling"
+ local cross_llvm_target="$(llvm_tuple_to_target "${CBUILD}")"
+ use "llvm_targets_${cross_llvm_target}" || \
+ die "Must enable LLVM_TARGETS=${cross_llvm_target} matching CBUILD=${CBUILD} when cross-compiling"
+ fi
+
+ rust_pkg_setup
+
+ if use system-llvm; then
+ llvm-r1_pkg_setup
+
+ local llvm_config="$(get_llvm_prefix)/bin/llvm-config"
+ export LLVM_LINK_SHARED=1
+ export RUSTFLAGS="${RUSTFLAGS} -Lnative=$("${llvm_config}" --libdir)"
+ fi
+}
+
+rust_live_get_sources() {
+ EGIT_REPO_URI="
+ https://anongit.gentoo.org/git/proj/rust-patches.git
+ "
+ EGIT_CHECKOUT_DIR="${WORKDIR}/rust-patches-${RUST_PATCH_VER}"
+ git-r3_src_unpack
+
+ EGIT_REPO_URI="
+ https://github.com/rust-lang/rust.git
+ "
+ EGIT_SUBMODULES=(
+ "*"
+ "-src/gcc"
+ )
+ S="${WORKDIR}/rust"
+ EGIT_CHECKOUT_DIR="${S}"
+ git-r3_src_unpack
+}
+
+src_unpack() {
+ if [[ ${PV} == *9999* ]] ; then
+ rust_live_get_sources
+
+ # Vendor dependencies
+ mkdir "${S}/.cargo" || die # The vendor script has a check for .cargo/config{,.toml}
+ touch "${S}/.cargo/bootstrap.toml" || die
+ local rust_stage0_root="$(${RUSTC} --print sysroot || die "Can't determine rust's sysroot")"
+ # Configure vendor to use the portage-provided toolchain. This prevents it from
+ # attempting to fetch a `beta` toolchain from the internet.
+ cat <<- _EOF_ > "${T}/vendor-bootstrap.toml"
+ # Suppresses a warning about tracking changes which we don't care about.
+ change-id = "ignore"
+ [build]
+ build = "$(rust_abi "${CBUILD}")"
+ host = ["$(rust_abi "${CHOST}")"]
+ target = ["$(rust_abi "${CHOST}")"]
+ cargo = "${rust_stage0_root}/bin/cargo"
+ rustc = "${rust_stage0_root}/bin/rustc"
+ rustfmt = "${rust_stage0_root}/bin/rustfmt"
+ _EOF_
+ # We're using git sources so we need to run the Vendor script
+ # to ensure that all dependencies are present and up-to-date
+ mkdir "${S}/vendor" || die
+ # This also compiles the 'build helper', there's no way to avoid this.
+ ${EPYTHON} "${S}"/x.py vendor -v --config="${T}"/vendor-bootstrap.toml -j$(makeopts_jobs) ||
+ die "Failed to vendor dependencies"
+ # TODO: This has to be generated somehow, this is from a 1.84.x tarball I had lying around.
+ cat <<- _EOF_ > "${S}/.cargo/config.toml"
+ [source.crates-io]
+ replace-with = "vendored-sources"
+
+ [source."git+https://github.com/rust-lang/team"]
+ git = "https://github.com/rust-lang/team"
+ replace-with = "vendored-sources"
+
+ [source.vendored-sources]
+ directory = "vendor"
+ _EOF_
+ elif use verify-sig ; then
+ # Patch tarballs are not signed (but we trust Gentoo infra)
+ verify-sig_verify_detached "${DISTDIR}"/rustc-${PV}-src.tar.xz{,.asc}
+ default
+ else
+ default
+ fi
+}
+
+src_prepare() {
+ if [[ ${PV} = *9999* ]]; then
+ # We need to update / generate lockfiles for the workspace
+ ${CARGO} generate-lockfile --offline || die "Failed to generate lockfiles"
+ fi
+
+ # Commit patches to the appropriate branch in proj/rust-patches.git
+ # then cut a new tag / tarball. Don't add patches to ${FILESDIR}
+ PATCHES=(
+ "${WORKDIR}/rust-patches-${RUST_PATCH_VER}/"
+ )
+
+ if use lto && tc-is-clang && ! tc-ld-is-lld && ! tc-ld-is-mold; then
+ export RUSTFLAGS+=" -C link-arg=-fuse-ld=lld"
+ fi
+
+ default
+}
+
+src_configure() {
+ if tc-is-cross-compiler; then
+ export PKG_CONFIG_ALLOW_CROSS=1
+ export PKG_CONFIG_PATH="${ESYSROOT}/usr/$(get_libdir)/pkgconfig"
+ export OPENSSL_INCLUDE_DIR="${ESYSROOT}/usr/include"
+ export OPENSSL_LIB_DIR="${ESYSROOT}/usr/$(get_libdir)"
+ fi
+
+ # Avoid bundled copies of libraries
+ export RUSTONIG_SYSTEM_LIBONIG=1
+ # Need to check if these can be optional
+ #export LIBSQLITE3_SYS_USE_PKG_CONFIG=1
+ #export LIBSSH2_SYS_USE_PKG_CONFIG=1
+
+ filter-lto # https://bugs.gentoo.org/862109 https://bugs.gentoo.org/866231
+
+ local rust_target="" rust_targets="" arch_cflags
+
+ # Collect rust target names to compile standard libs for all ABIs.
+ for v in $(multilib_get_enabled_abi_pairs); do
+ rust_targets+=",\"$(rust_abi $(get_abi_CHOST ${v##*.}))\""
+ done
+ if use wasm; then
+ rust_targets+=",\"wasm32-unknown-unknown\""
+ if use system-llvm; then
+ # un-hardcode rust-lld linker for this target
+ # https://bugs.gentoo.org/715348
+ sed -i '/linker:/ s/rust-lld/wasm-ld/' compiler/rustc_target/src/spec/base/wasm.rs || die
+ fi
+ fi
+ rust_targets="${rust_targets#,}"
+
+ # cargo and rustdoc are mandatory and should always be included
+ local tools='"cargo","rustdoc"'
+ use clippy && tools+=',"clippy"'
+ use rustfmt && tools+=',"rustfmt"'
+ use rust-analyzer && tools+=',"rust-analyzer","rust-analyzer-proc-macro-srv"'
+ use rust-src && tools+=',"src"'
+
+ if [[ ${PV} == *9999* ]]; then
+ use miri && tools+=',"miri"'
+ fi
+
+ local rust_stage0_root="$(${RUSTC} --print sysroot || die "Can't determine rust's sysroot")"
+ # in case of prefix it will be already prefixed, as --print sysroot returns full path
+ [[ -d ${rust_stage0_root} ]] || die "${rust_stage0_root} is not a directory"
+
+ rust_target="$(rust_abi)"
+ rust_build="$(rust_abi "${CBUILD}")"
+ rust_host="$(rust_abi "${CHOST}")"
+
+ RUST_EXPERIMENTAL_TARGETS=()
+ for _x in "${!ALL_RUST_EXPERIMENTAL_TARGETS[@]}"; do
+ if [[ ${ALL_RUST_EXPERIMENTAL_TARGETS[${_x}]} == 1 ]] && use ${_x} ; then
+ RUST_EXPERIMENTAL_TARGETS+=( ${_x#llvm_targets_} )
+ fi
+ done
+ RUST_EXPERIMENTAL_TARGETS=${RUST_EXPERIMENTAL_TARGETS[@]}
+
+ local cm_btype="$(usex debug DEBUG RELEASE)"
+ local build_channel
+ local build_miri="false"
+ case "${PV}" in
+ *9999*)
+ build_channel="nightly"
+ ;;
+ *beta*)
+ build_channel="beta"
+ ;;
+ *)
+ build_channel="stable"
+ ;;
+ esac
+ cat <<- _EOF_ > "${S}"/bootstrap.toml
+ # Suppresses a warning about tracking changes which we don't care about.
+ change-id = "ignore"
+ # https://github.com/rust-lang/rust/issues/135358 (bug #947897)
+ profile = "dist"
+ [llvm]
+ download-ci-llvm = false
+ optimize = $(toml_usex !debug)
+ release-debuginfo = $(toml_usex debug)
+ assertions = $(toml_usex debug)
+ ninja = true
+ targets = "${LLVM_TARGETS// /;}"
+ experimental-targets = "${RUST_EXPERIMENTAL_TARGETS// /;}"
+ link-shared = $(toml_usex system-llvm)
+ $(if is_libcxx_linked; then
+ # https://bugs.gentoo.org/732632
+ echo "use-libcxx = true"
+ echo "static-libstdcpp = false"
+ fi)
+ $(case "${rust_target}" in
+ i586-*-linux-*)
+ # https://github.com/rust-lang/rust/issues/93059
+ echo 'cflags = "-fcf-protection=none"'
+ echo 'cxxflags = "-fcf-protection=none"'
+ echo 'ldflags = "-fcf-protection=none"'
+ ;;
+ *)
+ ;;
+ esac)
+ enable-warnings = false
+ [llvm.build-config]
+ CMAKE_VERBOSE_MAKEFILE = "ON"
+ $(if ! tc-is-cross-compiler; then
+ # When cross-compiling, LLVM is compiled twice, once for host and
+ # once for target. Unfortunately, this build configuration applies
+ # to both, which means any flags applicable to one target but not
+ # the other will break. Conditionally disable respecting user
+ # flags when cross-compiling.
+ echo "CMAKE_C_FLAGS_${cm_btype} = \"${CFLAGS}\""
+ echo "CMAKE_CXX_FLAGS_${cm_btype} = \"${CXXFLAGS}\""
+ echo "CMAKE_EXE_LINKER_FLAGS_${cm_btype} = \"${LDFLAGS}\""
+ echo "CMAKE_MODULE_LINKER_FLAGS_${cm_btype} = \"${LDFLAGS}\""
+ echo "CMAKE_SHARED_LINKER_FLAGS_${cm_btype} = \"${LDFLAGS}\""
+ echo "CMAKE_STATIC_LINKER_FLAGS_${cm_btype} = \"${ARFLAGS}\""
+ fi)
+ [build]
+ build-stage = 2
+ test-stage = 2
+ build = "${rust_build}"
+ host = ["${rust_host}"]
+ target = [${rust_targets}]
+ cargo = "${rust_stage0_root}/bin/cargo"
+ rustc = "${rust_stage0_root}/bin/rustc"
+ rustfmt = "${rust_stage0_root}/bin/rustfmt"
+ description = "gentoo"
+ docs = $(toml_usex doc)
+ compiler-docs = false
+ submodules = false
+ python = "${EPYTHON}"
+ locked-deps = true
+ vendor = true
+ extended = true
+ tools = [${tools}]
+ verbose = 2
+ sanitizers = false
+ profiler = true
+ cargo-native-static = false
+ [install]
+ prefix = "${EPREFIX}/usr/lib/${PN}/${SLOT}"
+ sysconfdir = "etc"
+ docdir = "share/doc/rust"
+ bindir = "bin"
+ libdir = "lib"
+ mandir = "share/man"
+ [rust]
+ # https://github.com/rust-lang/rust/issues/54872
+ codegen-units-std = 1
+ optimize = true
+ debug = $(toml_usex debug)
+ debug-assertions = $(toml_usex debug)
+ debug-assertions-std = $(toml_usex debug)
+ debuginfo-level = $(usex debug 2 0)
+ debuginfo-level-rustc = $(usex debug 2 0)
+ debuginfo-level-std = $(usex debug 2 0)
+ debuginfo-level-tools = $(usex debug 2 0)
+ debuginfo-level-tests = 0
+ backtrace = true
+ incremental = false
+ $(if ! tc-is-cross-compiler; then
+ echo "default-linker = \"${CHOST}-cc\""
+ fi)
+ channel = "${build_channel}"
+ rpath = true
+ verbose-tests = true
+ optimize-tests = $(toml_usex !debug)
+ codegen-tests = true
+ omit-git-hash = false
+ dist-src = false
+ remap-debuginfo = true
+ lld = $(usex system-llvm false $(toml_usex wasm))
+ $(if use lto && tc-is-clang && ! tc-ld-is-mold; then
+ echo "use-lld = true"
+ fi)
+ # only deny warnings if doc+wasm are NOT requested, documenting stage0 wasm std fails without it
+ # https://github.com/rust-lang/rust/issues/74976
+ # https://github.com/rust-lang/rust/issues/76526
+ deny-warnings = $(usex wasm $(usex doc false true) true)
+ backtrace-on-ice = true
+ jemalloc = false
+ # See https://github.com/rust-lang/rust/issues/121124
+ lto = "$(usex lto thin off)"
+ [dist]
+ src-tarball = false
+ compression-formats = ["xz"]
+ compression-profile = "balanced"
+ _EOF_
+
+ for v in $(multilib_get_enabled_abi_pairs); do
+ rust_target=$(rust_abi $(get_abi_CHOST ${v##*.}))
+ arch_cflags="$(get_abi_CFLAGS ${v##*.})"
+
+ export CFLAGS_${rust_target//-/_}="${arch_cflags}"
+
+ cat <<- _EOF_ >> "${S}"/bootstrap.toml
+ [target.${rust_target}]
+ ar = "$(tc-getAR)"
+ cc = "$(tc-getCC)"
+ cxx = "$(tc-getCXX)"
+ linker = "$(tc-getCC)"
+ ranlib = "$(tc-getRANLIB)"
+ llvm-libunwind = "$(usex llvm-libunwind $(usex system-llvm system in-tree) no)"
+ _EOF_
+ if use system-llvm; then
+ cat <<- _EOF_ >> "${S}"/bootstrap.toml
+ llvm-config = "$(get_llvm_prefix)/bin/llvm-config"
+ _EOF_
+ fi
+ # by default librustc_target/spec/linux_musl_base.rs sets base.crt_static_default = true;
+ # but we patch it and set to false here as well
+ if use elibc_musl; then
+ cat <<- _EOF_ >> "${S}"/bootstrap.toml
+ crt-static = false
+ musl-root = "$($(tc-getCC) -print-sysroot)/usr"
+ _EOF_
+ fi
+ done
+ if use wasm; then
+ wasm_target="wasm32-unknown-unknown"
+ export CFLAGS_${wasm_target//-/_}="$(filter-flags '-mcpu*' '-march*' '-mtune*'; echo "$CFLAGS")"
+ cat <<- _EOF_ >> "${S}"/bootstrap.toml
+ [target.wasm32-unknown-unknown]
+ linker = "$(usex system-llvm lld rust-lld)"
+ # wasm target does not have profiler_builtins https://bugs.gentoo.org/848483
+ profiler = false
+ _EOF_
+ fi
+
+ if [[ -n ${I_KNOW_WHAT_I_AM_DOING_CROSS} ]]; then # whitespace intentionally shifted below
+ # experimental cross support
+ # discussion: https://bugs.gentoo.org/679878
+ # TODO: c*flags, clang, system-llvm, cargo.eclass target support
+ # it would be much better if we could split out stdlib
+ # complilation to separate ebuild and abuse CATEGORY to
+ # just install to /usr/lib/rustlib/<target>
+
+ # extra targets defined as a bash array
+ # spec format: <LLVM target>:<rust-target>:<CTARGET>
+ # best place would be /etc/portage/env/dev-lang/rust
+ # Example:
+ # RUST_CROSS_TARGETS=(
+ # "AArch64:aarch64-unknown-linux-gnu:aarch64-unknown-linux-gnu"
+ # )
+ # no extra hand holding is done, no target transformations, all
+ # values are passed as-is with just basic checks, so it's up to user to supply correct values
+ # valid rust targets can be obtained with
+ # rustc --print target-list
+ # matching cross toolchain has to be installed
+ # matching LLVM_TARGET has to be enabled for both rust and llvm (if using system one)
+ # only gcc toolchains installed with crossdev are checked for now.
+
+ # BUG: we can't pass host flags to cross compiler, so just filter for now
+ # BUG: this should be more fine-grained.
+ filter-flags '-mcpu=*' '-march=*' '-mtune=*'
+
+ local cross_target_spec
+ for cross_target_spec in "${RUST_CROSS_TARGETS[@]}";do
+ # extracts first element form <LLVM target>:<rust-target>:<CTARGET>
+ local cross_llvm_target="${cross_target_spec%%:*}"
+ # extracts toolchain triples, <rust-target>:<CTARGET>
+ local cross_triples="${cross_target_spec#*:}"
+ # extracts first element after before : separator
+ local cross_rust_target="${cross_triples%%:*}"
+ # extracts last element after : separator
+ local cross_toolchain="${cross_triples##*:}"
+ use llvm_targets_${cross_llvm_target} || die "need llvm_targets_${cross_llvm_target} target enabled"
+ command -v ${cross_toolchain}-gcc > /dev/null 2>&1 || die "need ${cross_toolchain} cross toolchain"
+
+ cat <<- _EOF_ >> "${S}"/bootstrap.toml
+ [target.${cross_rust_target}]
+ ar = "${cross_toolchain}-ar"
+ cc = "${cross_toolchain}-gcc"
+ cxx = "${cross_toolchain}-g++"
+ linker = "${cross_toolchain}-gcc"
+ ranlib = "${cross_toolchain}-ranlib"
+ _EOF_
+ if use system-llvm; then
+ cat <<- _EOF_ >> "${S}"/bootstrap.toml
+ llvm-config = "$(get_llvm_prefix)/bin/llvm-config"
+ _EOF_
+ fi
+ if [[ "${cross_toolchain}" == *-musl* ]]; then
+ cat <<- _EOF_ >> "${S}"/bootstrap.toml
+ musl-root = "$(${cross_toolchain}-gcc -print-sysroot)/usr"
+ _EOF_
+ fi
+
+ # append cross target to "normal" target list
+ # example 'target = ["powerpc64le-unknown-linux-gnu"]'
+ # becomes 'target = ["powerpc64le-unknown-linux-gnu","aarch64-unknown-linux-gnu"]'
+
+ rust_targets="${rust_targets},\"${cross_rust_target}\""
+ sed -i "/^target = \[/ s#\[.*\]#\[${rust_targets}\]#" bootstrap.toml || die
+
+ ewarn
+ ewarn "Enabled ${cross_rust_target} rust target"
+ ewarn "Using ${cross_toolchain} cross toolchain"
+ ewarn
+ if ! has_version -b 'sys-devel/binutils[multitarget]' ; then
+ ewarn "'sys-devel/binutils[multitarget]' is not installed"
+ ewarn "'strip' will be unable to strip cross libraries"
+ ewarn "cross targets will be installed with full debug information"
+ ewarn "enable 'multitarget' USE flag for binutils to be able to strip object files"
+ ewarn
+ ewarn "Alternatively llvm-strip can be used, it supports stripping any target"
+ ewarn "define STRIP=\"llvm-strip\" to use it (experimental)"
+ ewarn
+ fi
+ done
+ fi # I_KNOW_WHAT_I_AM_DOING_CROSS
+
+ einfo "Rust configured with the following flags:"
+ echo
+ echo RUSTFLAGS="\"${RUSTFLAGS}\""
+ echo RUSTFLAGS_BOOTSTRAP="\"${RUSTFLAGS_BOOTSTRAP}\""
+ echo RUSTFLAGS_NOT_BOOTSTRAP="\"${RUSTFLAGS_NOT_BOOTSTRAP}\""
+ echo MAGIC_EXTRA_RUSTFLAGS="\"${MAGIC_EXTRA_RUSTFLAGS}\""
+ env | grep "CARGO_TARGET_.*_RUSTFLAGS="
+ env | grep "CFLAGS_.*"
+ echo
+ einfo "bootstrap.toml contents:"
+ cat "${S}"/bootstrap.toml || die
+ echo
+}
+
+src_compile() {
+ # -v will show invocations, -vv "very verbose" is overkill, -vvv "very very verbose" is insane
+ RUST_BACKTRACE=1 "${EPYTHON}" ./x.py build -v --config="${S}"/bootstrap.toml -j$(makeopts_jobs) || die
+}
+
+src_test() {
+ # https://rustc-dev-guide.rust-lang.org/tests/intro.html
+
+ # those are basic and codegen tests.
+ local tests=(
+ codegen
+ codegen-units
+ compile-fail
+ incremental
+ mir-opt
+ pretty
+ run-make
+ )
+
+ # fails if llvm is not built with ALL targets.
+ # and known to fail with system llvm sometimes.
+ use system-llvm || tests+=( assembly )
+
+ # fragile/expensive/less important tests
+ # or tests that require extra builds
+ # TODO: instead of skipping, just make some nonfatal.
+ if [[ ${ERUST_RUN_EXTRA_TESTS:-no} != no ]]; then
+ tests+=(
+ rustdoc
+ rustdoc-js
+ rustdoc-js-std
+ rustdoc-ui
+ run-make-fulldeps
+ ui
+ ui-fulldeps
+ )
+ fi
+
+ local i failed=()
+ einfo "rust_src_test: enabled tests ${tests[@]/#/src/test/}"
+ for i in "${tests[@]}"; do
+ local t="src/test/${i}"
+ einfo "rust_src_test: running ${t}"
+ if ! RUST_BACKTRACE=1 "${EPYTHON}" ./x.py test -vv --config="${S}"/bootstrap.toml \
+ -j$(makeopts_jobs) --no-doc --no-fail-fast "${t}"
+ then
+ failed+=( "${t}" )
+ eerror "rust_src_test: ${t} failed"
+ fi
+ done
+
+ if [[ ${#failed[@]} -ne 0 ]]; then
+ eerror "rust_src_test: failure summary: ${failed[@]}"
+ die "aborting due to test failures"
+ fi
+}
+
+src_install() {
+ DESTDIR="${D}" "${EPYTHON}" ./x.py install -v --config="${S}"/bootstrap.toml -j$(makeopts_jobs) || die
+
+ docompress /usr/lib/${PN}/${SLOT}/share/man/
+
+ # bug #689562, #689160
+ rm -v "${ED}/usr/lib/${PN}/${SLOT}/etc/bash_completion.d/cargo" || die
+ rmdir -v "${ED}/usr/lib/${PN}/${SLOT}"/etc{/bash_completion.d,} || die
+
+ local symlinks=(
+ cargo
+ rustc
+ rustdoc
+ rust-gdb
+ rust-gdbgui
+ rust-lldb
+ )
+
+ use clippy && symlinks+=( clippy-driver cargo-clippy )
+ if [[ ${PV} = *9999* ]]; then
+ use miri && symlinks+=( miri cargo-miri )
+ fi
+ use rustfmt && symlinks+=( rustfmt cargo-fmt )
+ use rust-analyzer && symlinks+=( rust-analyzer )
+
+ einfo "installing eselect-rust symlinks and paths: ${symlinks[@]}"
+ local i
+ for i in "${symlinks[@]}"; do
+ # we need realpath on /usr/bin/* symlink return version-appended binary path.
+ # so /usr/bin/rustc should point to /usr/lib/rust/<ver>/bin/rustc-<ver>
+ # need to fix eselect-rust to remove this hack.
+ local ver_i="${i}-${PV%%_*}"
+ if [[ -f "${ED}/usr/lib/${PN}/${SLOT}/bin/${i}" ]]; then
+ einfo "Installing ${i} symlink"
+ ln -v "${ED}/usr/lib/${PN}/${SLOT}/bin/${i}" "${ED}/usr/lib/${PN}/${SLOT}/bin/${ver_i}" || die
+ else
+ ewarn "${i} symlink requested, but source file not found"
+ ewarn "please report this"
+ fi
+ dosym "../lib/${PN}/${SLOT}/bin/${ver_i}" "/usr/bin/${ver_i}"
+ done
+
+ # symlinks to switch components to active rust in eselect
+ dosym "${SLOT}/lib" "/usr/lib/${PN}/lib-${SLOT}"
+ use rust-analyzer && dosym "${SLOT}/libexec" "/usr/lib/${PN}/libexec-${SLOT}"
+ dosym "${SLOT}/share/man" "/usr/lib/${PN}/man-${SLOT}"
+ dosym "rust/${SLOT}/lib/rustlib" "/usr/lib/rustlib-${SLOT}"
+ dosym "../../lib/${PN}/${SLOT}/share/doc/rust" "/usr/share/doc/${P}"
+
+ newenvd - "50${P}" <<-_EOF_
+ MANPATH="${EPREFIX}/usr/lib/rust/man-${SLOT}"
+ _EOF_
+
+ rm -rf "${ED}/usr/lib/${PN}/${SLOT}"/*.old || die
+ rm -rf "${ED}/usr/lib/${PN}/${SLOT}/bin"/*.old || die
+ rm -rf "${ED}/usr/lib/${PN}/${SLOT}/doc"/*.old || die
+
+ # note: eselect-rust adds EROOT to all paths below
+ cat <<-_EOF_ > "${T}/provider-${PN}-${SLOT}"
+ /usr/bin/cargo
+ /usr/bin/rustdoc
+ /usr/bin/rust-gdb
+ /usr/bin/rust-gdbgui
+ /usr/bin/rust-lldb
+ /usr/lib/rustlib
+ /usr/lib/rust/lib
+ /usr/lib/rust/man
+ /usr/share/doc/rust
+ _EOF_
+
+ if use clippy; then
+ echo /usr/bin/clippy-driver >> "${T}/provider-${P}"
+ echo /usr/bin/cargo-clippy >> "${T}/provider-${P}"
+ fi
+ if [[ ${SLOT} == *9999* ]] && use miri; then
+ echo /usr/bin/miri >> "${T}/provider-${P}"
+ echo /usr/bin/cargo-miri >> "${T}/provider-${P}"
+ fi
+ if use rustfmt; then
+ echo /usr/bin/rustfmt >> "${T}/provider-${P}"
+ echo /usr/bin/cargo-fmt >> "${T}/provider-${P}"
+ fi
+ if use rust-analyzer; then
+ echo /usr/lib/rust/libexec >> "${T}/provider-${P}"
+ echo /usr/bin/rust-analyzer >> "${T}/provider-${P}"
+ fi
+
+ insinto /etc/env.d/rust
+ doins "${T}/provider-${PN}-${SLOT}"
+
+ if use dist; then
+ "${EPYTHON}" ./x.py dist -v --config="${S}"/bootstrap.toml -j$(makeopts_jobs) || die
+ insinto "/usr/lib/${PN}/${SLOT}/dist"
+ doins -r "${S}/build/dist/."
+ fi
+}
+
+pkg_postinst() {
+
+ eselect rust update
+
+ if has_version dev-debug/gdb || has_version llvm-core/lldb; then
+ elog "Rust installs helper scripts for calling GDB and LLDB,"
+ elog "for convenience they are installed under /usr/bin/rust-{gdb,lldb}-${PV}."
+ fi
+
+ if has_version app-editors/emacs; then
+ optfeature "emacs support for rust" app-emacs/rust-mode
+ fi
+
+ if has_version app-editors/gvim || has_version app-editors/vim; then
+ optfeature "vim support for rust" app-vim/rust-vim
+ fi
+}
+
+pkg_postrm() {
+ eselect rust cleanup
+}
diff --git a/dev-lang/rust/rust-9999.ebuild b/dev-lang/rust/rust-9999.ebuild
index 1bb3c5f4711b5..3ef79e7077b54 100644
--- a/dev-lang/rust/rust-9999.ebuild
+++ b/dev-lang/rust/rust-9999.ebuild
@@ -10,7 +10,7 @@ RUST_PATCH_VER=${PVR}
RUST_MAX_VER=${PV%%_*}
if [[ ${PV} == *9999* ]]; then
- RUST_MIN_VER="1.88.0" # Update this as new `beta` releases come out.
+ RUST_MIN_VER="1.89.0" # Update this as new `beta` releases come out.
elif [[ ${PV} == *beta* ]]; then
RUST_MAX_VER="$(ver_cut 1).$(ver_cut 2).0"
RUST_MIN_VER="$(ver_cut 1).$(($(ver_cut 2) - 1)).0"
@@ -320,6 +320,8 @@ src_prepare() {
${CARGO} generate-lockfile --offline || die "Failed to generate lockfiles"
fi
+ # Commit patches to the appropriate branch in proj/rust-patches.git
+ # then cut a new tag / tarball. Don't add patches to ${FILESDIR}
PATCHES=(
"${WORKDIR}/rust-patches-${RUST_PATCH_VER}/"
)
@@ -458,6 +460,7 @@ src_configure() {
cargo = "${rust_stage0_root}/bin/cargo"
rustc = "${rust_stage0_root}/bin/rustc"
rustfmt = "${rust_stage0_root}/bin/rustfmt"
+ description = "gentoo"
docs = $(toml_usex doc)
compiler-docs = false
submodules = false
@@ -495,7 +498,6 @@ src_configure() {
echo "default-linker = \"${CHOST}-cc\""
fi)
channel = "${build_channel}"
- description = "gentoo"
rpath = true
verbose-tests = true
optimize-tests = $(toml_usex !debug)