From bf9b9c90d8bcb13f7544b17d11de226543aa3468 Mon Sep 17 00:00:00 2001 From: Arthur Zamarin Date: Thu, 23 Jul 2026 23:50:10 +0300 Subject: [PATCH] dev-lang/rust-bin: add 1.97.1 Signed-off-by: Arthur Zamarin --- dev-lang/rust-bin/Manifest | 36 +++ dev-lang/rust-bin/rust-bin-1.97.1.ebuild | 336 +++++++++++++++++++++++ 2 files changed, 372 insertions(+) create mode 100644 dev-lang/rust-bin/rust-bin-1.97.1.ebuild diff --git a/dev-lang/rust-bin/Manifest b/dev-lang/rust-bin/Manifest index bcb0d1e552889..89d85c82ff907 100644 --- a/dev-lang/rust-bin/Manifest +++ b/dev-lang/rust-bin/Manifest @@ -934,6 +934,41 @@ DIST rust-1.96.1-x86_64-unknown-linux-gnu.tar.xz 197897224 BLAKE2B 6e0a162859bd4 DIST rust-1.96.1-x86_64-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B ceb4959aa582560182f89e9a2c5ab9c5aaf00a0848bfe5b785657fa649afc3dd72e2590af2ad9bf28ef5219b1bcb33baa548d273e5064939d17ceb78c087eb55 SHA512 8620b84a05d3e2aac6cfe913217ed2b12d42cf642cb08a89dc299da2cecf373bd2ecd72aad9f43e90d94d001b7fd2e880f456b25c3005ae0f9ea3916e6b88bfa DIST rust-1.96.1-x86_64-unknown-linux-musl.tar.xz 300538300 BLAKE2B ee762ac2c30188afccea2a9fd4190be40840c3cc770c65c8e633a163ebe705886bd360051c88046d0a6fc41cb167bb2eb5843dae4f9470ebe1078ef4524005f8 SHA512 53ceb93aa9513e9b6b7517f8a341d14213e7ef64c54138b78e8d396c2eb71ebfc6ae9d3a540a5506262d181f37515201e190b6d818304c4f1cf67ae8977685bc DIST rust-1.96.1-x86_64-unknown-linux-musl.tar.xz.asc 801 BLAKE2B b6be64ef33713f7cb9ee8c2b5102a6867c64d9f02468737c5344aae2d594fba00aee33a4fa4458fbfb4ed3b647452f2ccf3074d079fd1b6c21a87e89f874d23f SHA512 043c0918738a94aa75dc96cca6c3fb2176df3b1bc6b5b29baf875b4471fd9e8655570fa6c4cb28280571cef5e06db3a9c632ebb5e38d16f683a220905ef17a22 +DIST rust-1.97.1-aarch64-unknown-linux-gnu.tar.xz 175976652 BLAKE2B 5e4081c507ea20c72ca7b5e2493915d57cb717987eaeab044b7898ac4735d966949d9f635f784b69de165c9b47d1d774374944f6bf61b2fbba4d966252114190 SHA512 9d57618597060387ffd93c46c49614e70f14b72f2c1df18d5da4334e50d83a81fb452261c39edb20b541a12b7f11ffb9451bc778bd115f5e80b8c6c9cc009de5 +DIST rust-1.97.1-aarch64-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 7959deeb84bfeb6d311029f746c1a576dbc280deea38b110e8a514f7320ab4d00098345c23ee01599a5bd2563a33786e0574dd77a9fcf19ae696458ea671424d SHA512 508d4d7e59070a0c5d845df3bf0185d47a6b6670bfcabfb24d2e993ec0f4c094a589d4813fd2da2d35ec8eaea73ff49b12c0e30bf368699a7fb50076bcd8ff52 +DIST rust-1.97.1-aarch64-unknown-linux-musl.tar.xz 249621072 BLAKE2B d5826d8d41f307ff64fc8edd79ca129f26f76e986526d9522ea9b89e61d6653b12f719c3874cb0a9c2a264c4f4f719d8b47a31690e0d53ac3a2ccd45b37e52c2 SHA512 54c776583c91a222d53a94006e2abfd39ca38e32dbdd831411da2f7ecc5147c7fad2045a4ba4dc772ef1bd96190b14d9725f1f1318f317c468e8cb1afc12b01c +DIST rust-1.97.1-aarch64-unknown-linux-musl.tar.xz.asc 801 BLAKE2B f6d796465d8c31fb9adb288b5f383c74452dd642924e9df112757bf46323ab0f13ed4af33d88933c04db58a9cd6b05780cf8fd323c9682765c29d5d983b72149 SHA512 4b536e84e1292af63a8c6aa7b5607accb3dd9927d02d221c67114406ffb3f2d703051690a9e546a5f4307c7dc6c0991c1a02ac061f6037c57b2746dafc99d8c9 +DIST rust-1.97.1-arm-unknown-linux-gnueabi.tar.xz 232173504 BLAKE2B 60d9df894b7b0167c0b26615bd20dd1185a283cc4196bee8781b9d20de6fd7dfa1df7baf105432f1fa37ddecc2c8dfe4da184675254b4e96d40b588459c969eb SHA512 713eb4a7d86e53a6865a4de9390d201b28222410c332db7c7890ac1e237ce07c03774fc1fc907d6c795a17ae2e766c8073670ec4111a5e9ef42941981f6af748 +DIST rust-1.97.1-arm-unknown-linux-gnueabi.tar.xz.asc 801 BLAKE2B c8081df3a8cdeb4b14fb1d31646907d7b5e0f46030d1bb5208bbdda21b5af3b8c31935b1e3f112e0c2601d7537d4ebdcfdc12aac28d904906794062acde614dd SHA512 e160a4b126c4631a0a2e146269e857bdae71c44ee80f3d49a86d7d950df296832ff5f8ff91829c3f46bdce8b87e71a7555753bb5e45cb360080366a49e21e7e2 +DIST rust-1.97.1-arm-unknown-linux-gnueabihf.tar.xz 231828120 BLAKE2B 33f1f099e886b683a00f00cba19636e55488064c32586e134b6ba36a92e3e2bb73262dff57a4039faa4c96181414657b12e99e3623e73e887bba9ee916d10b5f SHA512 af82ebf947e110685a05bec8c87d2c1c3c55f4357a6791946418a028eff4dffb713f8430b103f71343fb00d2fd3e223fc198b5e2a4bfa45c7afe686c57cdcd1e +DIST rust-1.97.1-arm-unknown-linux-gnueabihf.tar.xz.asc 801 BLAKE2B 14dc17770366b4c43825a3f4a853a578175652a87adaea7e4a6f228fc4f5ae38b615bdb85cabb8214be4b1b35e95631c05e3a87eea8dfdddf8ae88564862adde SHA512 12e74a6a7d4094de27f8bb9f47a0ebfa92cadf244993f4c6495cc18938e968dcf0875b760794ab548fef4e18a7ed4caccf2e4dfd839df2b5342a647054fa4912 +DIST rust-1.97.1-armv7-unknown-linux-gnueabihf.tar.xz 236164736 BLAKE2B ba3667e35549848c16070f8cce97fa762268878a692ef95e017480a746032f58d31f5aaf54c8741990e1ea72e20d2610eebee820c0f559006b0aabada7bd4463 SHA512 85b9a1faad91572572838bc539cf61fa2e908d2a22df88485bb793ba22e4bf533b32989132388d827fd9d5dda0ff98180298ee2cfece7be384e6ca2bb4afc294 +DIST rust-1.97.1-armv7-unknown-linux-gnueabihf.tar.xz.asc 801 BLAKE2B ee3dcc8b7b9461abba7c7e633face2fc44fd2d8fe29600e8419e89cb6c45299ace8f6d49630548f8a066f1f4a778760f3aaea502a3e38156d4a38c1d350277f4 SHA512 9b1af2a77f269a25a4817db6b97ff52327fd217892c3b76805387cbdfc2a65811010e625fd5cc832da83c9e5462725603303cf211c2ba44356c2b9b5ec8902cf +DIST rust-1.97.1-i686-unknown-linux-gnu.tar.xz 276789928 BLAKE2B dd4b92e988ea56c98239fcd45aa98df7a04f9682bd516e505ded5d856d3f1981bc56bd10b17f1bf234c372352fa5074e505ae4f02e2e9bcf2b55ca0ce4132707 SHA512 a87dbd06b696aed0650f747c4c4e03d3667e30f18884d0b555b469c679774da6736df3118b5eb9ae486c2eea6999af5d4812ebc35661ebe73b1b17ad28ddd25f +DIST rust-1.97.1-i686-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 09228e2af8e2d0606c8cd001b8f35f7bced465d89e2e4d851064bc9b8ba83042e7f56135f461265324eeed9e77a5e13bfd1af111db5f505045ae0f42db6af1b8 SHA512 03cb97b9e239406f6db278ad3220e942509b442b9bc64e29b9f379f660fbbdf6b2434a13043cd58099cc509005705288f949fcbba6a5a7a0e37b748a6ea98d72 +DIST rust-1.97.1-loongarch64-unknown-linux-gnu.tar.xz 264875660 BLAKE2B 68e611ea2b12399d8bc6b91649864493a5e15a96b1525df562f4f1d3807bc596856f91a61a54f17213cc821b285ab442448749fa5d9e1dd79f3bdec19a9f71b3 SHA512 ed9d9bfef52106757514864b9eae8d9abffd82946a1ab22de03464f3e265630ec39aa3b3e264ae3ba9f2ac0e2be2fa7a2d09887101fae453a09445790767a70a +DIST rust-1.97.1-loongarch64-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 4224f7d2b52e9b99ab7d82b6dd1c2b42fc6c97c9ffd8c9a25c4873b38abca4b2a2d159f17afb7ff11b55abebf16c3227a1642529779dbd5dfd018bc0aee269af SHA512 1045e3495b854c1c5898264af0401eceb5a073b753332882dc0870658a8447be52cc7ce281f9d8e1be8c0c01958c600d6818cc418b99504ab5bd6e7edff8cf02 +DIST rust-1.97.1-mips-unknown-linux-gnu.tar.xz 83344164 BLAKE2B 3591f1b16d1775a8e4906a701e12849782e79d9990e7dc818e4be3f27bd61cd107eb586621a772734db9aefe939c2b1149807d27adc4f57eae3532f8f1db984c SHA512 dd8ea35bd68acdc60f70455359a41d077ffe0255842c34e6cdd4a6a6c810cd80a0fd4ac4d074140d683acedbe1e8719d180ca148f5bad0d48abffe118377e666 +DIST rust-1.97.1-mips64-unknown-linux-gnuabi64.tar.xz 83278968 BLAKE2B 9608376e50c2479b4f20903e53190632734735395729aaad97c8e2558139ed0cfa16158bbf70cee2211dc1df8fa291b22afecbb8e8c2ae21d69d219c89bb7423 SHA512 2b1e7e2fbb03ac0ba7b8f293e009ccc00450e8304f06860a3ac5fe3d11afb887e967445ad640be622ff42813dabfc113dea768e69c5f35d1407bdcba834d8d24 +DIST rust-1.97.1-mips64el-unknown-linux-gnuabi64.tar.xz 84965144 BLAKE2B 965bb46a893284b346e40f57ab3e49c73377ab86e09db37391525fcc5e7585f04ad278552fa85d016591bf3c905b7cdc6dfaecb6ec92b7c85c6e92b9ce84a5c2 SHA512 202e0938085abcf81185ccec774b2d479baf52a4c5b050cbe37e533fc7be8ab51d272795d3c82b459455ad20ca1ef534cf42295f93b80d551dff0c8c833eab3c +DIST rust-1.97.1-mipsel-unknown-linux-gnu.tar.xz 85193840 BLAKE2B 571764df047b83e5e3cbcb069b6cc74cb8f2fbd8ea6c8e79d50d5ef04829e0eaa153bd9feb0827274a83eff162e35cf5a40e1d760152b0711867e6999704ee5e SHA512 17bff289c0c38ec94d7ac54a1f1292177ac464e33700b02507b08b0aa90d89b336ee8fc032af958adefdba7b96e9cf9a1ef4fca60c46defd93d713a23429a56c +DIST rust-1.97.1-powerpc-unknown-linux-gnu.tar.xz 256592508 BLAKE2B f29a3504922206d5a404167ca63de754fbf55dff5d3f8258f2eabb5e87fb2df9b7d10fdb1173900234e8095990f40d69bd43cd2edc90caf9707f284763a6c4e2 SHA512 e52b30302ceb35f27cf7e5a76e05b212b18dc00cae9b7fbc0083f6a5561f1c513aadb34412183c2272a39843c9e86d526d2b2f0fa917bf3565d71eeb52b22ef3 +DIST rust-1.97.1-powerpc-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 1c0ae162e37fef0a6c0413506e51425299d7d39cc2445b0b047c4bcc7491aede8961d34570d8792fbda4f2a2dcba381010fd28a3df2ee347de7e2e42bab2a829 SHA512 e0233c01860522a4d478457445396c4a50ee9362fb710a0bc8f6decaa0d88f86fdee6f4e1d4a7008418d7a54af3d9587a9073f0ceb789f8ebd941a33186f72ed +DIST rust-1.97.1-powerpc64-unknown-linux-gnu.tar.xz 256552656 BLAKE2B 080c6056769749ae319058be2f6fe847f5a2563090fffbdfe53541ab673e97ede26a36461a81299022d998d0fc26da6b5359a38545ad21980d158eb646345141 SHA512 de02bc60ac9bcb959595559d5599b27d6915263794bdeb5600f2bbcf6ebb7b29e04ca947fb7d909ccedbe3613fa668081fa0dbbb71e9ad7617192c8626934d96 +DIST rust-1.97.1-powerpc64-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 1061e18cba765986649f1fdaa134bfa9146ebc4b2a93d1e5fd259ee5d7336fdc9279b1734091bb11d0a01fed4ff6595c2a83d446091c8b4d90fe1a5119bfefef SHA512 d8edb592e92345f8ef32dd697f06a369b6e1e1e188433acc463480b2f36b73c399abe3f06fe319ed94448baa54af3452b7192aa557b5e45ae8f44a3bd22685fd +DIST rust-1.97.1-powerpc64-unknown-linux-musl.tar.xz 87873768 BLAKE2B 9bd91255c94d47d9541d9a8b2507d9de8f67e7d29666e3c31205275d020639b19df301662f27b2b0e592e49e91a46e7ee382458ac2d87950cef7bb602788f35a SHA512 5394ba0e0d0b32ae325224f7dcf73187c436ce7aeb86bf896c033fd20b3db813b9faa0a4d60c2c61f04b568a466c45eed6b3624f3aa4e4b055543005ad52fcbc +DIST rust-1.97.1-powerpc64le-unknown-linux-gnu.tar.xz 275537800 BLAKE2B 664636261251f2686d310c366a6c09c1a0c83523efe28b5a0d501177365c8bfd27f527a0420b70025cccdb9ca6d3a63470071066ef2c7be38c0658dd0aa2a311 SHA512 9ac976f0d7afe67385d70c433cdcd32e23d138899a7ce5f8c82fc152719f59d16c4a1b4128b5069d71521df7767781594d3c31d9020b7353aa91fc1e98b24c4a +DIST rust-1.97.1-powerpc64le-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 09e62b63ab73e245a6bc3f0031e2ac3fb6ff11f8fbdbbba362ac09cffcfe46ee7511085c4c84cbe7916e4178ea62d9af12e621f1d810e1ee9b1a16e1f0008f04 SHA512 7941ee2eb6b3dfd1cc5cc94644b90dd60712b5bb27c8c347f6f32df35fc53b2134933565cccf09f555da05bbce0dc84b081f3b9eb981dc76e67b914216d54f17 +DIST rust-1.97.1-riscv64gc-unknown-linux-gnu.tar.xz 253894780 BLAKE2B d042e57e07ea79d2c55ca47a3ffe8f4f9a753fb793bfc12829246e3217ef034b54d0b10d9e40ba392b129105fcae129e335523dff10d40b3a8fa60c4d7f45c98 SHA512 1a90b12189fe5aa9c9de02c216ff06fb8044d30f0597419a07fa5a959fafb11fcc1a5c3e9ff21d137383f264bb2545a51df59f7ce5f64f1a2d5702c45d4b65f2 +DIST rust-1.97.1-riscv64gc-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B a70a3f2182d8f3cafdd431f2269a8e6af7d4d2279193f98ca1ec56b0d3392d692da9f0d935a4913dcb667cffd38dbf3f5ea3de43218665b4e83c99e95b0c03d9 SHA512 29890c52ac47ec766c3b5d1849556c0e0c92938a179d71e22c97d8d961f7cde7c9dd5c4c61dcae473c18df2353adb927b3564a5b74236490547da1d4d5f3b8cc +DIST rust-1.97.1-riscv64gc-unknown-linux-musl.tar.xz 92232736 BLAKE2B 6c8e56453716230431e66709a7d38fca20d9c071d7a71a8eaa975232e771f2e8774b7807a7004a9a41ed3d3b5ef1ed85da31548d8fac5870a945ed3c9ddea957 SHA512 69212f6aec0c0c6b77e24f6e330222f67c821cdf3c9ed1e56d4be68668f5fffa26698d1787235caeeb281f353873a70174353b7c6c847cb75e9c278135845190 +DIST rust-1.97.1-s390x-unknown-linux-gnu.tar.xz 244387332 BLAKE2B f590f5276106a9fd67d44536cfee6443d6c9ef9b991244756f4a38b813bd4e3d4ed989fb84c24b76e0d7643fa09d35a006d2b04bbcd7447e997134d215cc9e1e SHA512 c29a01d10dae2a4034e291deb2dadfaec99f654db43c688fe9129bbb6e85fa1801f0ea1fa3f96f794982ce6d5a25e78cf6338a45625c8bc32a05053fe351ea8d +DIST rust-1.97.1-s390x-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 60cc315671a156aa9325ebcdec75e43480f0acd525290b171b6b055453e56981bea4c64ed9a54fdc888510c9a8d6ebf1663cbcbe944b2dae93b3c757afb2fda1 SHA512 1586b642a808c6befb61cda1f3e1f006e7e598915721330da8beec923d0dce47a6a3cbc6477925cb558e4d914f513b986da95d604de6361aab2e6bd3f4a9e33e +DIST rust-1.97.1-sparc64-unknown-linux-gnu.tar.xz 80918396 BLAKE2B f78ed6e50470f93bbe4799908434cc61443dcf04b61d856ebed8f26ab61e34580e96ddeea82bcaa7fd0c0e6c295776fcee089dce173775e4d5e59dfaf26e28e3 SHA512 08dbb845938b0b5a3c6233861567e23b7086d69d578dd5bf02b73fce85c423b7b31c85cbf190fefcd379f406c77f637f9a858ac5372bff371a62e712ab3e0213 +DIST rust-1.97.1-x86_64-unknown-linux-gnu.tar.xz 201303968 BLAKE2B b34681966c6d1225cc591e06495aa3d4b2221d89b1bcda7f62f5de90b25c7fd143556a9ac786149fa617e6142b2ba22d42fcc4c8f036c7edbb6dc78c146d10b0 SHA512 1f584669264f1fc5ae61a6d642395c94fc16d35fcf720863531fe98bc29cb83217785de4f7e0be97f0fe67e52700a75f799eb9e7fb36cbeeb4096091da087c4c +DIST rust-1.97.1-x86_64-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B bd7e3ff768fc85127b05149bcea780946655dc9739c16890b91ac5c072c447e95e017e48dbd923f1f72707c6d58a90c6d94afa0a8bf9f5180fcdff1fa9915595 SHA512 a956a6ab9380d4ced3b2936cb21a08df53b12207255ef1bbd7449fbdb05e5c3be7700fd66b742391721b45c66740f3e577f7b82531ed54a063cf337bbb6bba20 +DIST rust-1.97.1-x86_64-unknown-linux-musl.tar.xz 303757716 BLAKE2B 3f5f348946480dde1914d4c34c7dd8f8a4b0a1e8fab3080f30d52abd5b57a11f855a14e338bdfc1cfbd3fc23ab46f12d343d0dd94aebb012166b263eceb6706e SHA512 4e041737709981d4dd9f16fd542eab4c44de46df8f14bb59d73592c394ea94d44ed9dcdf4796b85ed2a056d573d078975909484b6676467ddd56edd5925d45af +DIST rust-1.97.1-x86_64-unknown-linux-musl.tar.xz.asc 801 BLAKE2B 29f54843b77cf4f94c5d023b554c6e48d7ae3b7d8759a499e940deb0a00e649f38f97f6af59581d40930caba1fba782b1c075d300d2e91a9fb67725b6cf76dac SHA512 eae2c10c61ae3f399376bda5db6f87f963be1d1dcb840ea39b6168af83807b97dc9ddcd7573717fcd573e0d83485ff55deded33221176d033df7f770450ae80e 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 @@ -961,3 +996,4 @@ DIST rust-src-1.94.0.tar.xz 3750144 BLAKE2B d73556a8615f43dd00f61d78df329c2a203e DIST rust-src-1.94.1.tar.xz 3751284 BLAKE2B fd15a40f67fd4180adf48c4a4972858f68d754bcd51c23cc73848b084d441704b89023079a04db24e0267543ee9eb795dbf0921739f27ebdec219cbd021d83c3 SHA512 50894e7f5c1186993f10201ecf88c32440da73d604327de799143f81ff1dcf3cb4978e9aa11c6ea864d47d1950b595faa38ff02f8ffe6c678bb056ca54e8c40a DIST rust-src-1.95.0.tar.xz 3827368 BLAKE2B b19d0c6043b405fc5d1889f58cbeb8c4b00226ba8ccfb139ff8d3e3c86196a3ebcac5145e9b6befe3e193d1934766d16c190299afa4d87343dc76570c1eb2069 SHA512 7936cd86c35c5283e0845cf848470fb96b142020a43a7a632c646a0bc3e7eb7d7c6f934b84d2a583747decc03be5ef5318de0c7974c8286ba2951cd60db217b2 DIST rust-src-1.96.1.tar.xz 3868228 BLAKE2B f509efa5be0be11da292a9b2d9f4ae87667ea69293fdf81329ae6fb1790437fe3f01c5c7c0691e4e535d5386bca0e1dd090a4b74f7e55f58db4d63be27fff419 SHA512 daca9d4df578682c1a92e0addf4fcb258e135ff9610c81826004089d4ffdf41b3f0b3dbfa2a1562f9531d4e5a58f744e87655f011ff9bbafe04ac5bc63e16639 +DIST rust-src-1.97.1.tar.xz 5660384 BLAKE2B 23357e49cc9ba35d1f9f1999af32589fd6e12790cb16ec1895aa9272a8f73a4bea93b0ad4d2b0d330ba46bc5458ca9ade9b5a2400d7f96ef093d4f537a567672 SHA512 fe1ba24325d63c66de18c5bd877cd247173ee3bbb67f6fdc54519c52841658f602d28b3b648849ac9a916b9b5c5f7684415bd8c05556137d717bf73367650db7 diff --git a/dev-lang/rust-bin/rust-bin-1.97.1.ebuild b/dev-lang/rust-bin/rust-bin-1.97.1.ebuild new file mode 100644 index 0000000000000..eca8d155fa21a --- /dev/null +++ b/dev-lang/rust-bin/rust-bin-1.97.1.ebuild @@ -0,0 +1,336 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LLVM_COMPAT=( 22 ) +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%/}/2026-07-16/rust-src-${PV}.tar.xz ) + " + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~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* ]] ; 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 ) + ) )" +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" + +# net-misc/curl is needed for our own bootstrapped rustc, since cross-compiling bundled curl is not supported +RDEPEND=" + >=app-eselect/eselect-rust-20190311 + dev-libs/openssl + net-misc/curl + 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) + + 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 + + local v + for v in $(multilib_get_enabled_abi_pairs); do + rust_target="$(rust_abi $(get_abi_CHOST ${v##*.}))" + rust_bin_url=$(grep "xz_url.*rust-nightly-${rust_target}" "${WORKDIR}/channel-rust-nightly.toml" | cut -d '"' -f 2) + einfo "Using nightly Rust from ${rust_bin_url} for ${rust_target}" + + einfo "Fetching nightly Rust tarball for ${rust_target} ..." + curl --progress-bar -L "${rust_bin_url}" -O || die "Failed to fetch nightly tarball for ${rust_target}" + if use verify-sig; then + einfo "Fetching nightly signature for ${rust_target} ..." + curl --progress-bar -L "${rust_bin_url}.asc" -O || die "Failed to fetch nightly signature for ${rust_target}" + verify-sig_verify_detached "${WORKDIR}/rust-nightly-${rust_target}.tar.xz" \ + "${WORKDIR}/rust-nightly-${rust_target}.tar.xz.asc" + fi + + tar -xf "${WORKDIR}/rust-nightly-${rust_target}.tar.xz" || die "Failed to unpack nightly tarball for ${rust_target}" + done + 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 + + # We only want to do this for the native ABI. Non-native ABIs are + # handled differently in multilib_src_install. + 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 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" ) + if use rust-analyzer; then + local analysis="$(grep 'analysis' ./components || die "analysis not found in components")" + components+=( "rust-analyzer-preview" "${analysis}" ) + fi + # 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/rust-bin-${SLOT}/bin" + find "${ED}/opt/rust-bin-${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-/bin/rustc- + 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 version + case ${PV} in + *9999*) + version=nightly + ;; + *beta*) + version=beta + ;; + *) + version=${PV} + ;; + esac + rust_target="$(rust_abi $(get_abi_CHOST ${v##*.}))" + dodir "/opt/${P}/lib/rustlib" + cp -vr "${WORKDIR}/rust-${version}-${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 +}