diff options
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/Manifest.gz | bin | 19492 -> 19490 bytes | |||
-rw-r--r-- | dev-lang/rust-bin/Manifest | 38 | ||||
-rw-r--r-- | dev-lang/rust-bin/rust-bin-1.68.1.ebuild | 229 | ||||
-rw-r--r-- | dev-lang/rust-bin/rust-bin-1.69.0.ebuild | 2 | ||||
-rw-r--r-- | dev-lang/rust-bin/rust-bin-1.70.0-r1.ebuild (renamed from dev-lang/rust-bin/rust-bin-1.70.0.ebuild) | 7 | ||||
-rw-r--r-- | dev-lang/rust/Manifest | 15 | ||||
-rw-r--r-- | dev-lang/rust/rust-1.65.0.ebuild | 2 | ||||
-rw-r--r-- | dev-lang/rust/rust-1.66.1.ebuild | 1 | ||||
-rw-r--r-- | dev-lang/rust/rust-1.67.1.ebuild | 1 | ||||
-rw-r--r-- | dev-lang/rust/rust-1.68.1.ebuild | 741 | ||||
-rw-r--r-- | dev-lang/rust/rust-1.68.2.ebuild | 1 | ||||
-rw-r--r-- | dev-lang/rust/rust-1.69.0-r1.ebuild | 3 | ||||
-rw-r--r-- | dev-lang/rust/rust-1.70.0.ebuild | 3 |
13 files changed, 23 insertions, 1020 deletions
diff --git a/dev-lang/Manifest.gz b/dev-lang/Manifest.gz Binary files differindex fb91b45e72a5..4193eba2bf63 100644 --- a/dev-lang/Manifest.gz +++ b/dev-lang/Manifest.gz diff --git a/dev-lang/rust-bin/Manifest b/dev-lang/rust-bin/Manifest index 56ff68cb5d47..1d185b66fc67 100644 --- a/dev-lang/rust-bin/Manifest +++ b/dev-lang/rust-bin/Manifest @@ -96,38 +96,6 @@ DIST rust-1.67.1-x86_64-unknown-linux-gnu.tar.xz 186714164 BLAKE2B 648efbb302333 DIST rust-1.67.1-x86_64-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 669b7c4b0d5382a7d1d0fe49405f2798f67a9e745711dc2c8e7548ea6fdc8f0fefdab37d0594aec14b2745ce45e7c469e79c0cb1d86077ad9c7b6aafc2656827 SHA512 067681cb4140a29adfa5f4b141e2f3450dad34b95a1e549a6bc8d759e57da5d2ae69cc165efcdef9d83e2eee06edb6acd587d38c9b2f3d000d7a3f79daccc671 DIST rust-1.67.1-x86_64-unknown-linux-musl.tar.xz 269831452 BLAKE2B a36498528454f1bf0e1812eba005f27e3e281e4e2c117477785f5e48468c3fe316947b7e4360f573f0f4cd6f117e4102db8aeaa616be5bef09fb7518fd230b23 SHA512 9a3eb67239a88b875fe55846a2fffbbb1f2a4cc8eed18b5558f0f989d544a8ddfe0861d5b2b860a779833a1660ee622b30320ec9ef83e841724f7a32f08fda06 DIST rust-1.67.1-x86_64-unknown-linux-musl.tar.xz.asc 801 BLAKE2B b12d0ce1136e355ee027780dfe185ee443de402e531ecc743600aecf081990d4e998fa4a6e6f0f46a886cd806918e23c5e4ccb7cecb0324cb67189984192283f SHA512 37428f0d1d8e2ddb7ce52bce3a297a7f666789d00e7e240180c3e1f7fb5b30bf5e17593cbedebdef95c50406ee82d40ef1f75a576a1a0e02387e1a12ed977c77 -DIST rust-1.68.1-aarch64-unknown-linux-gnu.tar.xz 257003480 BLAKE2B 850c59e54fda0f1e1b2d012e849cdf6b11103b0354035ca153d80e3bda1edce5640c098d9846127608af7836758dce11da1ef7efa406bfbdf4fa632bf62211a7 SHA512 4126b389c846d0b94ab1d1800e46ef680d10b26699c9d296d78cc916a00f3b023962c0bb1f2dec55cc22335e7cd47f74baaadb7cd7b3a606aac53d3e2d7dfdb0 -DIST rust-1.68.1-aarch64-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 914459984ab2e102b129c03149ddd23fc604e35b1136bc2f951ece6a46f8f9e2b6a88ae4e5aa57b2fa0eed7803c4537646c7c8253526a33cad8644f780776372 SHA512 9ae6008e57bf25997d2e44a3161e5943739a7be4e4e9e95e221dd7385f3440ecb3ca8e7fa94f943aa50684c5502a7493c5295ad8b9f1c5c3b4c48a6646a8843b -DIST rust-1.68.1-aarch64-unknown-linux-musl.tar.xz 234957108 BLAKE2B 62ff5f5c01829cc6c19a8f20923a832c9e4e719a9b83242420ee894b11a5af7c2447aba27ce6cfcdb3c0f9722c131da16efe1d1b1f7b0304f4993660a115db5d SHA512 1a43c1d76d09cd97688e2c7b10a436c39574133c9d91d642e01cfa19a60f2037df7cb6a7dbceeab991ad673671453db8ebe2cba499dfa9e0bfdb226e506e3b07 -DIST rust-1.68.1-aarch64-unknown-linux-musl.tar.xz.asc 801 BLAKE2B 632ef4c61afc9a32e5297c056e77e9ae3e84b5faabcb13892fa703bae8b3e8cd0730b160f6acb8846d9112e0a5e32031cd6ba68bccba1c7113ce7eee953615d2 SHA512 0fc556a797871bc11dd1a52190ed1d35f09297e00822270b9bab421fafd8a47899c779593b9f37bf510af6057b7cf6a118144be92b11fcf833e4ca1d111840e3 -DIST rust-1.68.1-arm-unknown-linux-gnueabi.tar.xz 216213308 BLAKE2B 234b5507b23a0fd295b34d637e7a42bcf1a376cdeacdc448d0782847742d93b4b088ab7eb60b3d10aab2e7d516e77d9cd1f42bf9144ae49a860f9f2635b9d545 SHA512 ae9c05a404183d749e7a237d3843ddb538899181b0966f1e22fd4bfc00ab4728473f51d243afc8b9ab5749bb12c3a55f4db679f4ccab704d2fc0adcc5edb3a5b -DIST rust-1.68.1-arm-unknown-linux-gnueabi.tar.xz.asc 801 BLAKE2B 8cfc3fabc67366877fc94663c09de62e57e8d77ff5b412bec0a7225477dfcc856390aafb527ccc2c2595026cffb315b0fc9ceb371d85d42689d2171344e0c56d SHA512 0d808c1a68e747137fd2ffd55b7b146cfd6f490b24eade9942183ad8b7a25499a2e18630adcfdfa5ddbbce6975777f5bd3ff469d77227f840ae6970019c9f81d -DIST rust-1.68.1-arm-unknown-linux-gnueabihf.tar.xz 214982076 BLAKE2B 8e69117487b32b89513bdf0492c5633630ba743ab68f1087a786c7e7148ed2c443ddf95e69f6d226fd96d399aa6802adc8480b78e7352876b121ee7fc459b605 SHA512 496d93691b4332a23edc91f2bdcc149c91e647cf9ee60177e64e88f76ed7cd1ea89884770cab38ac809e419e1dca4736bca2be811307efcadc8f9391fcf36821 -DIST rust-1.68.1-arm-unknown-linux-gnueabihf.tar.xz.asc 801 BLAKE2B 575946a62a16ef956c1d418891ede2103fcd9940fad555fed73e78e13c64243e8dbeeb5c52f4ada515af31c542e4a577c9d000a1eb8b2f6ebd14ec232a36da6f SHA512 5e528fb34566d8a7cc7e49f1c09819afd5aef79bed65e798c4d1244ad44028be6affc9c35e35a30943cb7b84e0e247ec5e0673bfce52836e1331cd2b63c9da82 -DIST rust-1.68.1-armv7-unknown-linux-gnueabihf.tar.xz 219027476 BLAKE2B 0a56dddd975cf0c519b33dfdfa9c1bb1e6d9a91cb582b5293dbcc19935ba35364f49fa3bd86bccb74a075f3759596a47685a2024a0efd10ed4b5f9b60580a762 SHA512 478cfc492e758eef7c5654bf60547b9d60799cb1bec56805d82666c54f982fcf2e57f578ce3d3f0f6a38b64602f4e3c2e94759b8298764b7fbc2fc88b41c778a -DIST rust-1.68.1-armv7-unknown-linux-gnueabihf.tar.xz.asc 801 BLAKE2B a20966763dfa905cef723a86c6295317138d81d9208d272ba791ddd3f9db267acf93240987fde84c22354f566f0c867cf8052f161f1835dcb58ec8a1fa7299fe SHA512 56f3dee773cd90aa7524896dce942cd5cd7247105788ed68e885e1ec18e10d6aa9eed3eca43d4f9bd76b99ed3f8c78e8a2fe7ea2690e3e3eaf5626de2bcd38e6 -DIST rust-1.68.1-i686-unknown-linux-gnu.tar.xz 234183120 BLAKE2B 66b490b9040c37eabb05a9c5005bb5338ee91c39e21de3cd6a9b470ddbc0f47b08e9208f82efc5762f69078eaeff2145f983358913f31fac397baee64363ef71 SHA512 88a1e46085a5b7832204159ace89ccaf8c4c1290320eaf4d76e620d3f3288e754695c7bc5fc336a9dc21a6acff15d97b5c9c7632221ebe4c0822e52b126edd2d -DIST rust-1.68.1-i686-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 4b0db8db93180266ed1013d807a654cc0ba2952a23b4c106d7de77dd7e87b752a5779b22bc956eb690c0f41dcd5bb9dfb270effd1a875a6ffb58cd87069a72e9 SHA512 8f5fcbcef3785be8359efddf0e27f4a9a21fe9b07f32d2ab555e67efde069a6ffcd5a295d1c4768104372dfff0065f9c845b4e3336e46b332e4c925076159fda -DIST rust-1.68.1-mips-unknown-linux-gnu.tar.xz 195473632 BLAKE2B 179996202a7d73004c1783e63c952d8b9cd002f468f97d5488edfe1cb38dca7bf80d182c762668ddfac8595698164fba5bfcc086471675fef249321c353cd802 SHA512 e2c67771d7b15d123b557856790f80f4e9e6b16c1baf3ecc77d9a6ffb0326b1c9bc05091039eb65bc81939ebd19373531286054a0d59c457694e4e16ed4cc84d -DIST rust-1.68.1-mips-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 183a1d12fefbad2d7cccc35b09529e8b0c34018069ecd2ae117a1025d4cc08eeed9927a4de8376896be68654abf73b1df446bc6f4d7a787fe1a4a370f03aea1f SHA512 7ef9944ac194352c3aa8a55fe20745763de1f069502e446fc7dea0a25dfb57010411e29ab558a6ad42d0d01c8ad1baed743e9b53d721884479003e6f681fde2b -DIST rust-1.68.1-mips64-unknown-linux-gnuabi64.tar.xz 194332688 BLAKE2B 9440d3ecfaa1c6ff0e93ab91ea24d5b33cf1d130f95f895cbe75c04c588b404eb9889ab508bda099cec891c2c7d06e340355ce6d5cc04d7554f517b0f7f6d617 SHA512 8969b9be26e75255982c10e868d1d1aaf672fd0bffbfcc929ba7dab49f8c5371f3c606e4b260f0eb50dea9d7f2491fc14e471db29ac63571ec624f999a9f8050 -DIST rust-1.68.1-mips64-unknown-linux-gnuabi64.tar.xz.asc 801 BLAKE2B 1e1c99b6d629ec50ccd45ce310e7ca6f2f6e30f1566b007b277d607f187772d7de06a4fe8efaf61fa8cd8ee4193461dac65cd8229e0f61bbc42df2f99922d014 SHA512 1894ab2fd5bdb5e2671798ee7f9109f8924955dbed837d486f94e0141df8ab2fa1a7cfdee5d8e41ca5edc6c85215433c2db0c32a055a8c64ab63de0bb4f56642 -DIST rust-1.68.1-mipsel-unknown-linux-gnu.tar.xz 199263224 BLAKE2B 39e453b1a802087efc0af3fd7676fae0ba633fc35ac7edd330f97df27c478129c1758d291cc713f65d27f68d854fb9e3d3d87b74d09a06474048fc94fd6a4284 SHA512 1d2f64ed9164153a556862fdc4f9cc74ee327d65dfa9d5d02b6d42d8790faff1e8b61e0d0f70b44606792d08bebe4755976036be4feff5bf72130641c0df99d7 -DIST rust-1.68.1-mipsel-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B dc8c302cb471be27283dc4e85fe2468c75c5c558e2ca0265899dfc1b11dbbacc3c20f333fac1c300546033af1c15c003225c1afcbb77fd0766858c27229c6874 SHA512 f1b7e5141a17e9c2e83e0b0aa65ed90080cfb9b257661afa0376ce818b2ca876dafb7e72b1ebb86a30479d14d746f8102b6293c16cfb9cd09a75d89bc406c0d6 -DIST rust-1.68.1-powerpc-unknown-linux-gnu.tar.xz 221151404 BLAKE2B 751f2c0e70810eb6dc678d8fd00906867cd92974a6a9d853631e0605ca97d16e2008b86bac8d86b2c88527fa1f77f249a1a06a115c085c5e90a2b45311b4539f SHA512 65b2347d259b72d752cabe71bc376dcb19af7b529859d72370bd531165ad504973a9983c0bbec5a836d8dae8763a32e4d6ab21f53c5d3fa65d3156229d7b8d71 -DIST rust-1.68.1-powerpc-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B c490dbda7467cc27cd88838e2500a765b8e893b6b49488089ac60506096dcb4d1b5dc5876b3ddbd89b53b6612b14725f128e1b77b718ac41f2db9c010b563496 SHA512 1320a207501c1c73ee9f1cb38aac2e12d08b88f764d6d60b2bc7c92a1203e60cbfc1634be72e52c48d91a0bbd9656a3a657b90ff41936358748cc930676c1cb9 -DIST rust-1.68.1-powerpc64-unknown-linux-gnu.tar.xz 217881640 BLAKE2B 209692f164f2a27c9fd61259e94435488c3ff8919f16f0f5df4f97b0a266339e9e1dddd770ea07674e31cb39ece860de92ff0699996941a522c582b52d6a97df SHA512 e6dfd97b4d00b17ce05c4a0096f103951236a3653d3c9e07e2415da938cbcb2bfc7c520154fe064a16829c954ced98ea537b7412309ed597be98ecc371437801 -DIST rust-1.68.1-powerpc64-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B a6f7705feb9ec39f134dbc604225d7ff93107a6bfe50e573f5a8134d19f5b8bb7a8096f3ed2eded62c0d71b2b929c107fc3ee941d6557eaf34f5d50634c735aa SHA512 371128c68d00b8961a8d84d79147cac1fccdfc24058a441190722e1541baf484b06e1f3e1aec925ea8e081ac8395f20ae27790c7664d77a5d36bd840082c6146 -DIST rust-1.68.1-powerpc64le-unknown-linux-gnu.tar.xz 231456980 BLAKE2B 3af660b564fd436f640d8f0420a72196330444a9cdcf8ef788844da0a84b074da134f98c4f3b59007dcf32ef42930163ae1491fa91c32e7ea5b5f370ef00349e SHA512 e79fa17d6407e108e21a1a3c868d8fef6506366ac0bb2699c9269b8a44c44a59d37e860ec6e8b009a539ae41a11a94c003b26c60e414c4f53e08a6302d196fef -DIST rust-1.68.1-powerpc64le-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 01f6caed2b643931877dd9d601d2bc90d61c88e8dcdf93109e74dc945fc25e52395ef81b6eb0beaf867a9e5318daefe1a69a6ea146c92b943bb1d987eca74bf7 SHA512 7f93cdae421f127bf3801f1d42920e40558da39e32e9f0f6f8ab2b4803b2bd75bdb6ae9f77d3ce907e67239641d2aec7d8b86ea47cea6abc9e5a6046f91af24d -DIST rust-1.68.1-riscv64gc-unknown-linux-gnu.tar.xz 207979328 BLAKE2B b1faf40c7634a103aa3df2e4c76f78a208ba060d4fe3cfddf1f048b6559cc5c788f5a1f65341edbf80776d91603bd4f4f0e43839491af152057ba91675979af5 SHA512 f90f47e6ba446a844b85ddbb319fe171a2e253ff8782c3948de057cfd256823f269a94136604d74777b5b39ff2b0147061e6274610efb87f1b0320be6bb9617c -DIST rust-1.68.1-riscv64gc-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B d86cbc2b7893f6131c7888ca519f11a543f6f0a6e13bc46a2ae3f1199edfa87acbe2c8dbffc8c9b0e721bc9afafa377d455bb71b074bd5533d38e34caef51177 SHA512 ea60d7675e4becbfb701429eb761d82151294becc211b9b761c1572115a515edf6c1ab21758f5148682b39b4e36051d32b985b22af522166bb5c2d7e8c6ac05e -DIST rust-1.68.1-s390x-unknown-linux-gnu.tar.xz 234626596 BLAKE2B 35a4203d593ffc4a2037ee18ccc10cbc26a316ea682ad62de8f8c51e2569264919f448a841158323d62db016fdfa29631158a122d281168b447ed3a9c84e851a SHA512 cda2b3ff78a4783eb238d360949153a80cb8a076f13eb35dcb0db4e40e5c161f691dd87ae4e3ec358e7371b8836e2fcd93ecd017443ca9e5d8ab9ed8f0e36718 -DIST rust-1.68.1-s390x-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 1d38bee16c5c89332ffd65d2ea92dc8a95c5ed1ccd63a4e678ecb35da1d84338a15d68ebcd3e82a5a92cccf1bc9e9203978f5185dd1e6ef116fce51f8e62d77e SHA512 22c162efb2b98e912a2147369e439c4d478e8ec4213fa443823efbd0b2231fe50e7770a19244adcef9f713cd1457e6570fb2a65b8e454a46d7dc0bc1351397a8 -DIST rust-1.68.1-x86_64-unknown-linux-gnu.tar.xz 185646128 BLAKE2B 52d8c59bcd8c1b716f8c834a681fe3d9876adf623c4ea9d05f348c1ec29b0efe8b5d60742f5b50200a7c3e2831fc5361172a361faccd4d8cf4261a714cd7d11a SHA512 8b48544577faec04ceaff63769020060d8ccb6f9283a246ba9f43ab19c1f23b480ce17441dfe74c1e1769d7314fb5da277600c6fa1784d5feb290c9041d15850 -DIST rust-1.68.1-x86_64-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 5c2309f58a2d7a667211067d37428c88684790625321836bf06a676741c238908cdb0df31280b94730be9dc17de0a6f631f46bdd8d811b45688ea5b92ca3e2c6 SHA512 ee700dba9c6a9c29933039ea13c01b5ca2a01b4869b480e3c1352adaed108ed25435b94b12d8b9117dc379657738149a4f2a8f9adcbf74b108b70314f1429043 -DIST rust-1.68.1-x86_64-unknown-linux-musl.tar.xz 270163680 BLAKE2B d094a08ffd1e9aa2a36a6d4c731c8468cbe9e61ada3d1caafb5266fde01abf8c40d2996f4f7579f6aa5513de3d6f9384a7ca9631c5ba2f6a0d6c3eefc9244ffe SHA512 b5cdab93ab5fc0757643259cdd3b69e37aafa304f1d84bf6e9c99553599bfad4616e318e2198542314cedeb0419a0b86e0d7e4699df040c6b8014392edc617c9 -DIST rust-1.68.1-x86_64-unknown-linux-musl.tar.xz.asc 801 BLAKE2B aac3764bcde2121733e177a7968e16b0f727837753d101889a2008f12158c076450e84f416f25e4b77ea42acc8e33e6efbefb67c87cdc2812059f9e1ec9b05cd SHA512 65a28cc79b6be8f8e0f2ec529d1d9e08323ccf50a437611af45c83931187bd730bb3cd29335b28a73aaecd12df397b43dd81cc08b6f710f5c59386977a8a363b DIST rust-1.68.2-aarch64-unknown-linux-gnu.tar.xz 257441012 BLAKE2B 621615e68cfffb46552577a9e30e863518fa37f53bb8e00bc639f048d7f05910fd31473ca00242a83b3dafd96db73a19648e0b11641f26ccfaaca5ed17abb2b8 SHA512 77fabd0ff2a4e7df8142663932ca146c7f5b463cc7f1d4c2b3ca1c862c29f746a0ca77eff6d37fe582aa4c2cb2c007a1e5d0a1c0214caf1b0792b14934f693aa DIST rust-1.68.2-aarch64-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B eeba8414c9bf414f9a6de46045f9e49ab1a6436c30fcce989aedd2c0658557336f9e919b0372f33fcf11ff3fe64ab9ede54fb9d6e6f4ae8504a6b9401a6f7933 SHA512 f2edefb84d75653d3f107349f3962983ff56cc6538c75b8b00e25e790a51e19be10848906ccb90b80bf7742fca2dfa3bfdc4ce974aae6130c7dd71905c9bbbad DIST rust-1.68.2-aarch64-unknown-linux-musl.tar.xz 235749524 BLAKE2B fc90040069f265d781d73f46bccff8df773830d2d178205126f7a1e67b5c22ca0d87dfeb47f46370522c758804e26fe29cdad29706045bd07404685afc2f77c3 SHA512 fceddcdb17f618c576b74590067f9cd476133e86b9c22079400de98489247aba07e12987f29c043067daf1f86e240d8990f0c02b7d58e647d75d8fe82d3229f5 @@ -227,15 +195,13 @@ DIST rust-1.70.0-x86_64-unknown-linux-musl.tar.xz.asc 801 BLAKE2B 7c5be81109607f DIST rust-src-1.65.0.tar.xz 2488012 BLAKE2B d48f5591e72e14084f2fb0d66c1365f1648060d514af23c0498e02adfd7223b1a79bd1f512859b058f9cabc4b88b9230d15960df7c30762a5263d1785b877a68 SHA512 247f822a9c2f16d1de29d1cf6fa7ff393b7c7fe01da66a7c0b4add6259d72403922b8b1bd1b511ed8a9cc0b2c12ff574945aa7fc76c731fba620b466bcdc2eac DIST rust-src-1.66.1.tar.xz 2512096 BLAKE2B 514b8f9170d8a0e9b9deeeda27c5b83c18b7f038cb27a867fc4df1a0375b5c492793e67d0f0a2c26354ed1b58c699e1ff3e19f536dec10fc8b8211325dd4999a SHA512 3b77e29bf0803278d46aa5a484a2d74f242bf7f1ce6f5a6d1e84107630aa238620c91459f385f1b9f1bfb67c593ea5a274950a4db2975307cabc3a009b89f157 DIST rust-src-1.67.1.tar.xz 2522656 BLAKE2B 28f67cbac3d09af16f572c102890b49ffb4c610ebf379cf48ff4d0107afbb39587d2bcb7c5a4f811542f84dc3157557c762b006a6e89c54cd121d22bb677a770 SHA512 839266d2046b12954fd46f258a975a37c81cb61b6d2d9a5905fd6c83961d97c197f1b467c881d5078f3725293eb73ca402b002af3f47b6f7d431828f01d49a15 -DIST rust-src-1.68.1.tar.xz 2536020 BLAKE2B a12e2037546f7139d2e5446e2652c6aca9c5709eba756673188910799e6e3f8c444fb2969ec446b7b8e904f0828b7f85fe57a1c3027693da7ef8180415709a54 SHA512 e9a77ed30f65dfcabd630d5546de22d831031bb27ba72f27ed952df30c76827a5cc363f521d99b6fa3d204965a29e10ab1b0b79d36114c5d7bf887bb849fc21e DIST rust-src-1.68.2.tar.xz 2535692 BLAKE2B e56c0e48546479be30e3a22c36ccc620a69fc97486bab7fd3a45b942c6fadd160f126a805f4213cabc5d2fcf92d9fda1daa9b320d428958351ead861f617785f SHA512 0ec51c6ab2720dca0790eda81460a73857a68ca5517e959fe66b4b106a5158791493e729c0aa23e64a970102d071bca0684fb748340ac90a727035c4ef74814a DIST rust-src-1.69.0.tar.xz 2405440 BLAKE2B 685ae443aab2a1ccf3c4024be9a96f476ba56b635d4e3377670c7293d16e56fc6a21f8054155c9408a71a34ba37aea61071c50f75baa9ff0193b3199d7ca431c SHA512 87866577ac94636749c17c30b50866ab047ed35817d20e5b9e1356de573e01d6dee24518c4f85c0b1d0f4dd9ce9a87873fd2a635937fd202f4baeeaa82bb99cd DIST rust-src-1.70.0.tar.xz 2422004 BLAKE2B 2f6b22d767ca93ed5d02d432deb743e10d73fa3f767facaf958b43281cdf6786d399f83a00a7154e3935e4ec65137c15162009d20b0b97a00f9c14ff90cae007 SHA512 0ec5ecacbf46f503aa6492d518fb747496cb09f37ae377e12849c2c9f8e5c3fb5a09385a2e5912f492f4fe4b76d7e74872ca9ced18ad46d8e11671721ec03b5d EBUILD rust-bin-1.65.0-r1.ebuild 6793 BLAKE2B d0a58b6ef31ddb223cccdc65998038e9ff0cb4455614619de7adecc0907cca47fe4fb7d7db9d315fec00b0779530a60ad03935fca88df7c840b409c0c37e480b SHA512 7e6908661f31c2a1ea77ad3f1cc1fd729a9ebf4093296e69f39184ed95b3ee4b715de00899736d409f0aa7362b9c5b904d150e47e255cf32244fdfea28e69edf EBUILD rust-bin-1.66.1-r1.ebuild 6798 BLAKE2B 6c814eb21abe2a4f3e3511d609e7ccc9196f49dd2d3ac060e3c8727c84258206f80173cbe6ca544f27b4fd1a32346cf6c9ba308f4d3e2abaabbdefe3051169e7 SHA512 71c77d41dd56c309b7e9103a0cd87ff54b5a9fb7ec51ea62d871041a0cb18bcc44cd98d431507339d03bcedcadc1804bb2c86637e4e5c6ba707f95b0d3b98a35 EBUILD rust-bin-1.67.1-r2.ebuild 6815 BLAKE2B 2de4c538189f9a2aad2b4d89c3dda55fa66f8dc9db229f3aef19191d6b1185e304e4a4041f52bd14513af7a02b950ea61697302d50432fabba346bf42dca8108 SHA512 610825359ada60e639220f0f9c48ef751b3e74c3a50723028605916e1391abecbc2748949a26105e25da2c8a95387109039d8db576fdec630a4fc86e57a02d01 -EBUILD rust-bin-1.68.1.ebuild 6815 BLAKE2B b47f39533ff91271bbc4042a2a235156284d4cdea92ce5f1ddc9a04f7b4c068275f582569f92b4d679b5bccc187b6a1265f069a3a328ff55c0ba2d7c32246e94 SHA512 261381915bbe46ca516b0ed49b6da19ec1354d335401a973514e1e09238b924d6cee6c0e5189a8b0c13dd4378257f77515b07eea4cc1679333fd8969cbed2eee EBUILD rust-bin-1.68.2-r1.ebuild 6770 BLAKE2B 7b40eeaeecce67b8a1c2b4705805d966644db051701f9e9c367bd6dfaf1ff8b12933c4f8b82759db1e26ec64ad9f765cf1aff5f7f108538588002bd16a1cd2cd SHA512 c30549581c8acd13453fffb9cca41c33dc2155279de6c58522dd6710c6bada519aaea7fd781284e652c15ff53915af4e31ef06121e9816fd4bf2876e8ceb63f4 -EBUILD rust-bin-1.69.0.ebuild 6766 BLAKE2B c7fc17cc246ba50e992798cc481264b081de3cf010ca46ddf285967ad3cd9f2289c3f453c85758ebe337d613d8b7221273e5acc495ebf9aca0296fa7f0efe9c5 SHA512 b29eb03456434908ca313c8d088e89a5607c8801cd4eb88f629ffc40d6a7fa4f55324ab592578b1dc140052cd5451cdfa7f260f7c53c03d92e6acd95ece666ee -EBUILD rust-bin-1.70.0.ebuild 6771 BLAKE2B 02bef1e11a0f655c5319e61493b0f8aa97fef26285a8a873394fc1585fe031188699f56638ac3764f09e6e892da5615c099d32e3fcca3d741aa7d415617a5a5a SHA512 f74d868874d9bdd59f3b68edd860d52c725cb2775ffb3ee1202ae04a3d20f41c2aa8a4bbd9adbe54448e1cf5fa7b7ef1813e1c2e752b1c16c64db1759482529b +EBUILD rust-bin-1.69.0.ebuild 6765 BLAKE2B c14b16db80f636d064a54bf256df9a4d8fe308e9821422dc9b46ce5e272200f32d463a4f6fa36b7a80b0c12972d00ff5c155183db4f788858cce6760d6b5a785 SHA512 c345e3f23dad76998bf86f893e75212b10a9c5621fd551546eaf3580cc418985255d3cc7e53f67855a42902d1d3116d3b78708fecc5073cfa71ec43c05ab1679 +EBUILD rust-bin-1.70.0-r1.ebuild 6961 BLAKE2B c807092560f9fca0f8e859d7c73a3a40db67b32a17e65fcd419199ce134178f9ed01f08233d4e27a9e922bba0d60cf2fee36355ad73b90219689f7785fe5a94c SHA512 bb71887cc9a98b1593d248cd779b966056073fc4b0b5f6fa4b009b36e9b00927e2a660fe6195234a4f3a10dba224826a34faf99c2bc2056a053cd081ff68a33b MISC metadata.xml 602 BLAKE2B 8e74f441d22eeb8b276d77ed0a9c5bde01540a3f34d6053185b2be77dd9188b80c01c536f8bb18c4c60214bd0bf366a504c1f3627110a213332120b533f7ddd2 SHA512 5f120deec600c7453d503b6acb9460d1c765a567954c79749654365721b1b6fa2dd48d60d5f3fc86191e79d5f7f78d7aa1e9634e6127f333f81e546f9b0f74ac diff --git a/dev-lang/rust-bin/rust-bin-1.68.1.ebuild b/dev-lang/rust-bin/rust-bin-1.68.1.ebuild deleted file mode 100644 index dd3c4559ee18..000000000000 --- a/dev-lang/rust-bin/rust-bin-1.68.1.ebuild +++ /dev/null @@ -1,229 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit multilib prefix rust-toolchain toolchain-funcs verify-sig multilib-minimal - -MY_P="rust-${PV}" -# curl -L static.rust-lang.org/dist/channel-rust-${PV}.toml 2>/dev/null | grep "xz_url.*rust-src" -MY_SRC_URI="${RUST_TOOLCHAIN_BASEURL%/}/2023-03-23/rust-src-${PV}.tar.xz" -GENTOO_BIN_BASEURI="https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}" # omit leading slash - -DESCRIPTION="Systems programming language from Mozilla" -HOMEPAGE="https://www.rust-lang.org/" -SRC_URI="$(rust_all_arch_uris ${MY_P}) - rust-src? ( ${MY_SRC_URI} ) -" -# Keep this separate to allow easy commenting out if not yet built -#SRC_URI+=" sparc? ( ${GENTOO_BIN_BASEURI}/${MY_P}-sparc64-unknown-linux-gnu.tar.xz ) " - -LICENSE="|| ( MIT Apache-2.0 ) BSD BSD-1 BSD-2 BSD-4 UoI-NCSA" -SLOT="stable" -KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~x86" -IUSE="clippy cpu_flags_x86_sse2 doc prefix rust-analyzer rust-src rustfmt" - -DEPEND="" - -RDEPEND=" - >=app-eselect/eselect-rust-20190311 - || ( - dev-libs/openssl-compat:1.1.1 - <dev-libs/openssl-3 - ) - sys-apps/lsb-release - sys-devel/gcc:* -" - -BDEPEND=" - prefix? ( dev-util/patchelf ) - verify-sig? ( sec-keys/openpgp-keys-rust ) -" - -REQUIRED_USE="x86? ( cpu_flags_x86_sse2 )" - -QA_PREBUILT=" - opt/${P}/bin/.* - opt/${P}/lib/.*.so - opt/${P}/libexec/.* - opt/${P}/lib/rustlib/.*/bin/.* - opt/${P}/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/${P}/lib/rustlib/*/lib*.rlib:lib.rmeta" - -VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/openpgp-keys/rust.asc" - -pkg_pretend() { - if [[ "$(tc-is-softfloat)" != "no" ]] && [[ ${CHOST} == armv7* ]]; then - die "${CHOST} is not supported by upstream Rust. You must use a hard float version." - fi -} - -src_unpack() { - # 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 - - mv "${WORKDIR}/${MY_P}-$(rust_abi)" "${S}" || die -} - -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 -} - -multilib_src_install() { - if multilib_is_native_abi; then - - # start native abi install - pushd "${S}" >/dev/null || die - local analysis std - analysis="$(grep 'analysis' ./components)" - std="$(grep 'std' ./components)" - local components="rustc,cargo,${std}" - use doc && components="${components},rust-docs" - use clippy && components="${components},clippy-preview" - use rustfmt && components="${components},rustfmt-preview" - use rust-analyzer && components="${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" - mv -v "${WORKDIR}/rust-src-${PV}/rust-src" "${S}" || die - echo rust-src >> ./components || die - components="${components},rust-src" - fi - ./install.sh \ - --components="${components}" \ - --disable-verify \ - --prefix="${ED}/opt/${P}" \ - --mandir="${ED}/opt/${P}/man" \ - --disable-ldconfig \ - || die - - if use prefix; then - local interpreter=$(patchelf --print-interpreter ${EPREFIX}/bin/bash) - ebegin "Changing interpreter to ${interpreter} for Gentoo prefix at ${ED}/opt/${P}/bin" - find "${ED}/opt/${P}/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-${PV}" - ln -v "${ED}/opt/${P}/bin/${i}" "${ED}/opt/${P}/bin/${ver_i}" || die - dosym "../../opt/${P}/bin/${ver_i}" "/usr/bin/${ver_i}" - done - - # symlinks to switch components to active rust in eselect - dosym "../../../opt/${P}/lib" "/usr/lib/rust/lib-bin-${PV}" - dosym "../../../opt/${P}/man" "/usr/lib/rust/man-bin-${PV}" - dosym "../../opt/${P}/lib/rustlib" "/usr/lib/rustlib-bin-${PV}" - dosym "../../../opt/${P}/share/doc/rust" "/usr/share/doc/${P}" - - # make all capital underscored variable - local CARGO_TRIPLET="$(rust_abi)" - CARGO_TRIPLET="${CARGO_TRIPLET//-/_}" - CARGO_TRIPLET="${CARGO_TRIPLET^^}" - cat <<-_EOF_ > "${T}/50${P}" - LDPATH="${EPREFIX}/usr/lib/rust/lib" - MANPATH="${EPREFIX}/usr/lib/rust/man" - $(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-${P}" - /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 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/bin/rust-analyzer >> "${T}/provider-${P}" - fi - - insinto /etc/env.d/rust - doins "${T}/provider-${P}" - popd >/dev/null || die - #end 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 - - elog "Rust installs a helper script for calling GDB now," - elog "for your convenience it is installed under /usr/bin/rust-gdb-bin-${PV}." - - if has_version app-editors/emacs; then - elog "install app-emacs/rust-mode to get emacs support for rust." - fi - - if has_version app-editors/gvim || has_version app-editors/vim; then - elog "install app-vim/rust-vim to get vim support for rust." - fi -} - -pkg_postrm() { - eselect rust cleanup -} diff --git a/dev-lang/rust-bin/rust-bin-1.69.0.ebuild b/dev-lang/rust-bin/rust-bin-1.69.0.ebuild index 4bf223517fe7..d292fcd53d58 100644 --- a/dev-lang/rust-bin/rust-bin-1.69.0.ebuild +++ b/dev-lang/rust-bin/rust-bin-1.69.0.ebuild @@ -20,7 +20,7 @@ SRC_URI="$(rust_all_arch_uris ${MY_P}) LICENSE="|| ( MIT Apache-2.0 ) BSD BSD-1 BSD-2 BSD-4 UoI-NCSA" SLOT="stable" -KEYWORDS="amd64 arm arm64 ~mips ~ppc ~ppc64 ~riscv ~s390 x86" +KEYWORDS="amd64 arm arm64 ~mips ~ppc ppc64 ~riscv ~s390 x86" IUSE="clippy cpu_flags_x86_sse2 doc prefix rust-analyzer rust-src rustfmt" DEPEND="" diff --git a/dev-lang/rust-bin/rust-bin-1.70.0.ebuild b/dev-lang/rust-bin/rust-bin-1.70.0-r1.ebuild index 2624c2403c56..5205a10f872a 100644 --- a/dev-lang/rust-bin/rust-bin-1.70.0.ebuild +++ b/dev-lang/rust-bin/rust-bin-1.70.0-r1.ebuild @@ -20,7 +20,7 @@ SRC_URI="$(rust_all_arch_uris ${MY_P}) LICENSE="|| ( MIT Apache-2.0 ) BSD BSD-1 BSD-2 BSD-4 UoI-NCSA" SLOT="stable" -#KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~x86" IUSE="clippy cpu_flags_x86_sse2 doc prefix rust-analyzer rust-src rustfmt" DEPEND="" @@ -204,6 +204,11 @@ multilib_src_install() { # BUG: installs x86_64 binary on other arches rm -f "${ED}/opt/${P}/lib/rustlib/"*/bin/rust-llvm-dwp || die + + # libLLVM must NOT be stripped + # it's not present on all arches, but if present and stripped rustc will segfault. + # https://github.com/rust-lang/rust/issues/112286 + dostrip -x *libLLVM-* } pkg_postinst() { diff --git a/dev-lang/rust/Manifest b/dev-lang/rust/Manifest index 4955bd95bc7b..55a4954faea6 100644 --- a/dev-lang/rust/Manifest +++ b/dev-lang/rust/Manifest @@ -202,19 +202,16 @@ DIST rustc-1.66.1-src.tar.xz 141692940 BLAKE2B 3fae45345998386fda1b11ec896fac461 DIST rustc-1.66.1-src.tar.xz.asc 801 BLAKE2B 18e27c88b39eed29147854733c5533b7fffc417ff0b3bd5982174ffa2c5f6d217e2e28ced4da75863a4557800e7ad7a124a4bbb0def4c20da7ed543602185941 SHA512 4511f41ad3d098a339ea3173e3ffa692d1d3cd3ec9dd45af68e4491471f9a72a2e866f6924090eb366bdf6f856650d981eabe1cd851843a17f4a6e4f1dfbc8a9 DIST rustc-1.67.1-src.tar.xz 142758844 BLAKE2B 55b2a98592b1a2e465b7fb224607cbcb23cb13d5053b51abbd2e45428794f457b6925955c5c562f577830353e5287929b3588ee78a30036bf0ca13a3610316d9 SHA512 42d77ee93b168ae139b026138fb48d925624ff436a836aa97ee235f870e61ea11643b0cf7ad20bcafda774c6cd3855a4bc10a2e2ed1c4d82c6f15158963b304d DIST rustc-1.67.1-src.tar.xz.asc 801 BLAKE2B eb507c6f53c592921eb31cccb17c9d6027c67fb1311726f2d25fe7d1f8a1aa051efb99d7207a5e4477df0b75898783437e653fa041ed7daa27e7a7c4263ec230 SHA512 6c962f680d74251b55f77a43d6e383be53bacff8428e0d003bda207de1fea7f716b88f16686d22a88d99518a4834bf299731855fb030477a995d5e1f3d0024f4 -DIST rustc-1.68.1-src.tar.xz 147834548 BLAKE2B 98e02c1ff3ed37cd52d1f348331ffe007583f078fbd1bc581eb32a098eee816f301cd833ecf9f806b8e0c673aa963b34d2e357c089bdb59a8a7464ab46b18307 SHA512 cf3921bc260db54b0f3afc0e6bc9fe8d560ddb81de5d2d4496746307d42a8010291f119d0cfc463996efce6ef829a0494b4eb6145e21c94fd113ff51ee010e21 -DIST rustc-1.68.1-src.tar.xz.asc 801 BLAKE2B 5e0a2d95360fb5d8bed9e759111db225315b93d3042af19bb9fc9f239cabf9f32b85f2e616913ff3ce5fc8111deeb972bc184584ca473216b7a5320a255304a6 SHA512 5330405c09077070a63c04fc1c7059219d046fbaa24997861365199e48da98be4fe2a04fdc5c54a03166097bde58b4e51bdc8296ca89974d2dcec1da279bdab2 DIST rustc-1.68.2-src.tar.xz 147835648 BLAKE2B 4b6deab818d915afe67a96f4d32a758c15a832041a77d9da5d065a903ea2718e0e7ebbc0cd1baaa436b655bdb93a62e0fb76f9e37aed595c064e0857201bb091 SHA512 8b085d0351e19100e9abc24b10c44a0939a1d35ba23421da4ece345d7373f7dbad1dc6a2ae153c1259404dd96b41e2682e711cf2b0b63fd03a196760cddbcdd3 DIST rustc-1.68.2-src.tar.xz.asc 801 BLAKE2B 6ac2444950e5f919d09823ea3eef50364ad7b295126b090178872970f03c43ca9747779e0873138ca3a0b753eff79d2ef36d8b70c6a6050039ba9f9018571016 SHA512 86ccbb8ea89f820ba92ad9cbfb8f4bda3393e2c24d699355fd559a2339ff39bcce2a027ebd1b043f11de24b00cdac8c42d252915b36e711eb1d80f49a8007d47 DIST rustc-1.69.0-src.tar.xz 127242864 BLAKE2B 03f7f3784cb137bede0593dfc008347bb0bb25c982c058175ac2b0442c2593a5a7e2c4539c848ad4375d994c1b7900019120790f0fe12385b413eecc1647d70a SHA512 724398fc208ec18adbd8ba81a445e23d1001b746990f36b869126be8a45f1cdfa75f5b9cbdd0abbab506f91a56d3736ab247677699ebd69525245558cfc01a60 DIST rustc-1.69.0-src.tar.xz.asc 801 BLAKE2B 2f9b95440c35403fe663f91531cc73681c1c5d5dcbaa10d53a36d542656c097eb4a4320fc12d8df228d5dfb57dd12eb9441c3bd0ba54b7d180e23ded3d2527bb SHA512 8f4c7e6e246a676f53d77b331fe5153eedbd3d8e9f6d922fecc78c8c6fdbbef4610308c93e5af6d8e0d744e6b3ce4bf01b39e29813475a50a38240f679c25156 DIST rustc-1.70.0-src.tar.xz 140736896 BLAKE2B f07a800e35dca074df0c76fa91f512ae3ad2aacfd3cf9ba4a6c0fbb057e06b562bb03824c9417f4375965960e2e3cee5c2ba873e0de7aa0f68bd82b9e4dd2fb0 SHA512 21b35185fdcc35a059ee5ef6dca2b68f5f1d199e97f425a571cfc318a852c36a57bccf68e7673b4cb7cd83128f30d0b3eb93009a978f3ba3909b7eee50d40631 DIST rustc-1.70.0-src.tar.xz.asc 801 BLAKE2B 172744ff679c4554a6992b08a6bdcd65bd133f3db2d7f2eb1fa3659683aeb65228f9c57d101d9d050256217bb4fbbc0ccaf892bfcd8ef69ac742e12e75548c68 SHA512 0b26b176bf957ea5c2465a8da05992907165f11dccfb8f3a8a2c851b20fc9083e8bca80fefee2534d3326e721f41d19ef75b7f49692a342ab7ef5cdb2e8c52a4 -EBUILD rust-1.65.0.ebuild 23818 BLAKE2B c5a288099dc15b8dd61ffe06b2933bce2edbd2490bed6659e990863804448dff60e95f13362d33529e690bbbeee32f830bac1f7afc8fa34e63e93e905a78a14e SHA512 7f3b80e402f44e6edb8d29fa271f0e9246dcd101f5301c787965b75b209d1f4e0df25484dfc3a686e8f7ab70626558479c24233bbd036c4f59b178cfd61d1407 -EBUILD rust-1.66.1.ebuild 23693 BLAKE2B ede49e8db68ad165caa3636095adde66a3bbc5b78702753c20961a2d5674e68d277453d35dbed601cc1aa1b68c1dddc7b468960cebc8731237a97be82d6e06ce SHA512 fcc8cec3fc9efa5bc4779b067ebb0405744f3401bd50d9fc4f1f131e7631147b2f80cd76c1d218e6da84743a8a2de86f99a25fa0db951aec81660bbabb2dc1fa -EBUILD rust-1.67.1.ebuild 23119 BLAKE2B 3260955cba6b775658e02b48463c52e461154d253fca101377a23ab8e1b67ce4507494d91b35b30a4029aee85cc846b515a960106dc8c24d7225c5437dc89cf8 SHA512 a6641ed533e54f362f4630901bf49d859e8efd473e969d470696ace01d3adad0bb77086416ff0f5c1c2f53ff028fc23572cff0db33cb073ef32b4dfaa7562879 -EBUILD rust-1.68.1.ebuild 23119 BLAKE2B 5e303443400930720fb627d893eb0858da99e24567eab17eafe33f4aacf0628cab3cae052b7947599ee9c86888da5a3b4fd36ddf47a8dd57a121ca5f3e9feec0 SHA512 cbe37c3dc9446eefc22aab86cf4751acdc55117fa7d9fdcc57a17468e48094b944e130a41a3cd9a83303b1a6d647c79a37fbbedcded1258521c5ad5f8ad239fe -EBUILD rust-1.68.2.ebuild 23119 BLAKE2B 5e303443400930720fb627d893eb0858da99e24567eab17eafe33f4aacf0628cab3cae052b7947599ee9c86888da5a3b4fd36ddf47a8dd57a121ca5f3e9feec0 SHA512 cbe37c3dc9446eefc22aab86cf4751acdc55117fa7d9fdcc57a17468e48094b944e130a41a3cd9a83303b1a6d647c79a37fbbedcded1258521c5ad5f8ad239fe -EBUILD rust-1.69.0-r1.ebuild 23179 BLAKE2B 171797ed2c6f61b432eaa5f5fe7f239df9f40d424a1ca1aa234fc2ef6a351d31ebb5051985bf1f57df60d55728d406e56ba608af9bd139f5f14dd1a11638bb20 SHA512 12b57925a70cb53a9341df4ab5616f8a952ddf85e89cb4c1497dbdbe4eff6296f96875e6c53e4369d848901939e34f502d0e8df456bed627f838bfef0c47751f -EBUILD rust-1.70.0.ebuild 23293 BLAKE2B 954cecd5110aa50cb2c03f4834cfbe2fdba7e78cb37544b3f4b7c7bb04bfda4ea3ae815e6b31e29515ed5619af16d9b18a43e6ef276dedee402a858d84a95291 SHA512 5bafcfb910bc429371f51856a7e7d98f4704ad289632bee28a00f37659e86167a3ae1591770a11528bd9966adf2ab0ebcc9d4edb726a6c657842718d92f5496d +EBUILD rust-1.65.0.ebuild 23827 BLAKE2B 6a520838a379281dbb992e03957bd39820009d9d69fe3163ebbaba9a5259475c359aefd8a9232e7c12a012c66ec8d0e4e3a9e2822cb441ddc47c2c6e0e1dfe4b SHA512 76311be1a575192386a01b96ae7fca7bcb80333000dca88495043678ce04c27f1002f6319a85d6caceea126d8f57cfeb8a838d1ac1c3620cd2711d00273789cb +EBUILD rust-1.66.1.ebuild 23722 BLAKE2B fabdd9cfd2b8bdd812934548db81b4499b0e7ac485688c1457233b509f9f0c5f68b5a16c35422e2fdc2ec186c0c5109bc54f0748601ada8a11b95982cc0fd3ae SHA512 751c6f08f7676810867f6dabc6da17774a7a42fac93534ffdf6ebf433d6919ecbcf26da048764166797a2a622f2d33c7525e0f2e331659763890e567dd8e079d +EBUILD rust-1.67.1.ebuild 23148 BLAKE2B bc292a444801553efb9a8556834d9d8e117fe9e5c30bb7a8d99a3d0bcff62b839162f4f21161d7bede51236ac7c0d277aff93e97b308232fae4ddd3ee41958ec SHA512 ceafa53fcc725110b3b1d2cbb3bc198f558b3bb6fc17760a502232f85de114ec253dfe7275bbd0f8778ab936d20ba8f54b9035adde89c2c5e7713e2663527513 +EBUILD rust-1.68.2.ebuild 23148 BLAKE2B 190d2a4c9fd075d9cb6a848224bc6c66f8d33502a9950bcd3aa6bef33e20fd9bd74ba53567b48afc923a6c0444cf9683e7423a6b1b79f9f7a5050fbc560da99e SHA512 fdf734a54c00fa9c12b87c2f097a6c2c4f864d0e8885f925e4a14b7fdf01afc1a2830cd40df8a184b5776039ca9398e3c50485c5d65fc439e230ea73bc9d3569 +EBUILD rust-1.69.0-r1.ebuild 23207 BLAKE2B 9d17cdbbd5dd85e8591fba437462ee0677912a11d715e4483061fee22efcc5f1ac8b7eee2a404bb9c3c252551797c82163504e35ade99a29e22d111a3a8091ae SHA512 b1d0f50bbb9557aeb83a264d2dccdbc2ef879e44fd901cb2f6ac91c67e15a9aace3f4307c9d84228914e4317728fca91ee5fce1c3df1624bd6b3dfbba347988d +EBUILD rust-1.70.0.ebuild 23321 BLAKE2B 50e5163e777315d2ded4193c27ac81570c4d8430aad5e4325e002941abacf8c414bb17c7aefb2a88b5a97aa685e58ca2a54514b66bbff87ca7e8874a054cf03a SHA512 1ac78a71aa54ee6e77fca5df409b698f9acd668dfb1aa63ca8ba67ed5e7eb0a0267fb6373a8e8b735aa1e69309e8fc3087e8386ec79a15fce1c6669178fb4714 MISC metadata.xml 1756 BLAKE2B fab29aa03373b0c47de798165a4cac03501da57e38b686917794a961c7e0491b87c7eabe2613883f7c05b6a5ea2ab225f409599e281b57c26ca8a2a22bbfa795 SHA512 a73f76a803fa7be46e30e87c939fab1ac5514daf15f5ef2800045bd30403a2fb2c69fd776becbc2bce61c67544228f7ddd4b87455982ad38dfb368c620bfb317 diff --git a/dev-lang/rust/rust-1.65.0.ebuild b/dev-lang/rust/rust-1.65.0.ebuild index bb793aa16865..d46314607071 100644 --- a/dev-lang/rust/rust-1.65.0.ebuild +++ b/dev-lang/rust/rust-1.65.0.ebuild @@ -126,7 +126,7 @@ RDEPEND="${DEPEND} REQUIRED_USE="|| ( ${ALL_LLVM_TARGETS[*]} ) miri? ( nightly ) parallel-compiler? ( nightly ) - rust-analyzer? ( !wasm ) + rust-analyzer? ( !wasm rust-src ) test? ( ${ALL_LLVM_TARGETS[*]} ) wasm? ( llvm_targets_WebAssembly ) x86? ( cpu_flags_x86_sse2 ) diff --git a/dev-lang/rust/rust-1.66.1.ebuild b/dev-lang/rust/rust-1.66.1.ebuild index 85a895e94dc2..5d39816f9cb7 100644 --- a/dev-lang/rust/rust-1.66.1.ebuild +++ b/dev-lang/rust/rust-1.66.1.ebuild @@ -124,6 +124,7 @@ RDEPEND="${DEPEND} REQUIRED_USE="|| ( ${ALL_LLVM_TARGETS[*]} ) miri? ( nightly ) parallel-compiler? ( nightly ) + rust-analyzer? ( rust-src ) test? ( ${ALL_LLVM_TARGETS[*]} ) wasm? ( llvm_targets_WebAssembly ) x86? ( cpu_flags_x86_sse2 ) diff --git a/dev-lang/rust/rust-1.67.1.ebuild b/dev-lang/rust/rust-1.67.1.ebuild index 5c51929f95da..4c66b8e3b4c4 100644 --- a/dev-lang/rust/rust-1.67.1.ebuild +++ b/dev-lang/rust/rust-1.67.1.ebuild @@ -124,6 +124,7 @@ RDEPEND="${DEPEND} REQUIRED_USE="|| ( ${ALL_LLVM_TARGETS[*]} ) miri? ( nightly ) parallel-compiler? ( nightly ) + rust-analyzer? ( rust-src ) test? ( ${ALL_LLVM_TARGETS[*]} ) wasm? ( llvm_targets_WebAssembly ) x86? ( cpu_flags_x86_sse2 ) diff --git a/dev-lang/rust/rust-1.68.1.ebuild b/dev-lang/rust/rust-1.68.1.ebuild deleted file mode 100644 index 4f904c718106..000000000000 --- a/dev-lang/rust/rust-1.68.1.ebuild +++ /dev/null @@ -1,741 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9..11} ) - -inherit bash-completion-r1 check-reqs estack flag-o-matic llvm multiprocessing \ - multilib multilib-build python-any-r1 rust-toolchain toolchain-funcs verify-sig - -if [[ ${PV} = *beta* ]]; then - betaver=${PV//*beta} - BETA_SNAPSHOT="${betaver:0:4}-${betaver:4:2}-${betaver:6:2}" - MY_P="rustc-beta" - SLOT="beta/${PV}" - SRC="${BETA_SNAPSHOT}/rustc-beta-src.tar.xz -> rustc-${PV}-src.tar.xz" -else - ABI_VER="$(ver_cut 1-2)" - SLOT="stable/${ABI_VER}" - MY_P="rustc-${PV}" - SRC="${MY_P}-src.tar.xz" - KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" -fi - -RUST_STAGE0_VERSION="1.$(($(ver_cut 2) - 1)).1" - -DESCRIPTION="Systems programming language from Mozilla" -HOMEPAGE="https://www.rust-lang.org/" - -SRC_URI=" - https://static.rust-lang.org/dist/${SRC} - verify-sig? ( https://static.rust-lang.org/dist/${SRC}.asc ) - !system-bootstrap? ( $(rust_all_arch_uris rust-${RUST_STAGE0_VERSION}) ) -" - -# keep in sync with llvm ebuild of the same version as bundled one. -ALL_LLVM_TARGETS=( AArch64 AMDGPU ARM AVR BPF Hexagon Lanai Mips MSP430 - NVPTX PowerPC RISCV Sparc SystemZ WebAssembly X86 XCore ) -ALL_LLVM_TARGETS=( "${ALL_LLVM_TARGETS[@]/#/llvm_targets_}" ) -LLVM_TARGET_USEDEPS=${ALL_LLVM_TARGETS[@]/%/(-)?} - -LICENSE="|| ( MIT Apache-2.0 ) BSD BSD-1 BSD-2 BSD-4 UoI-NCSA" - -IUSE="clippy cpu_flags_x86_sse2 debug dist doc llvm-libunwind miri nightly parallel-compiler profiler rustfmt rust-analyzer rust-src system-bootstrap system-llvm test wasm ${ALL_LLVM_TARGETS[*]}" - -# Please keep the LLVM dependency block separate. Since LLVM is slotted, -# we need to *really* make sure we're not pulling more than one slot -# simultaneously. - -# How to use it: -# List all the working slots in LLVM_VALID_SLOTS, newest first. -LLVM_VALID_SLOTS=( 15 ) -LLVM_MAX_SLOT="${LLVM_VALID_SLOTS[0]}" - -# splitting usedeps needed to avoid CI/pkgcheck's UncheckableDep limitation -# (-) usedep needed because we may build with older llvm without that target -LLVM_DEPEND="|| ( " -for _s in ${LLVM_VALID_SLOTS[@]}; do - LLVM_DEPEND+=" ( " - for _x in ${ALL_LLVM_TARGETS[@]}; do - LLVM_DEPEND+=" - ${_x}? ( sys-devel/llvm:${_s}[${_x}(-)] ) - wasm? ( sys-devel/lld:${_s} )" - done - LLVM_DEPEND+=" )" -done -unset _s _x -LLVM_DEPEND+=" ) - <sys-devel/llvm-$(( LLVM_MAX_SLOT + 1 )):= -" - -# to bootstrap we need at least exactly previous version, or same. -# most of the time previous versions fail to bootstrap with newer -# for example 1.47.x, requires at least 1.46.x, 1.47.x is ok, -# but it fails to bootstrap with 1.48.x -# https://github.com/rust-lang/rust/blob/${PV}/src/stage0.json -RUST_DEP_PREV="$(ver_cut 1).$(($(ver_cut 2) - 1))*" -RUST_DEP_CURR="$(ver_cut 1).$(ver_cut 2)*" -BOOTSTRAP_DEPEND="|| - ( - =dev-lang/rust-"${RUST_DEP_PREV}" - =dev-lang/rust-bin-"${RUST_DEP_PREV}" - =dev-lang/rust-"${RUST_DEP_CURR}" - =dev-lang/rust-bin-"${RUST_DEP_CURR}" - ) -" - -BDEPEND="${PYTHON_DEPS} - app-eselect/eselect-rust - || ( - >=sys-devel/gcc-4.7 - >=sys-devel/clang-3.5 - ) - system-bootstrap? ( ${BOOTSTRAP_DEPEND} ) - !system-llvm? ( - >=dev-util/cmake-3.13.4 - dev-util/ninja - ) - test? ( sys-devel/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? ( sys-libs/llvm-libunwind:= ) - ) - !system-llvm? ( - !llvm-libunwind? ( - elibc_musl? ( sys-libs/libunwind:= ) - ) - ) -" - -RDEPEND="${DEPEND} - app-eselect/eselect-rust - sys-apps/lsb-release -" - -REQUIRED_USE="|| ( ${ALL_LLVM_TARGETS[*]} ) - miri? ( nightly ) - parallel-compiler? ( nightly ) - 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}/${PV}/bin/.* - usr/lib/${PN}/${PV}/libexec/.* - usr/lib/${PN}/${PV}/lib/lib.*.so - usr/lib/${PN}/${PV}/lib/rustlib/.*/bin/.* - usr/lib/${PN}/${PV}/lib/rustlib/.*/lib/lib.*.so -" - -QA_SONAME=" - usr/lib/${PN}/${PV}/lib/lib.*.so.* - usr/lib/${PN}/${PV}/lib/rustlib/.*/lib/lib.*.so -" - -QA_PRESTRIPPED=" - usr/lib/${PN}/${PV}/lib/rustlib/.*/bin/rust-llvm-dwp - usr/lib/${PN}/${PV}/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}/${PV}/lib/rustlib/*/lib*.rlib:lib.rmeta" - -# causes double bootstrap -RESTRICT="test" - -VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/rust.asc - -PATCHES=( - "${FILESDIR}"/1.68.0-ignore-broken-and-non-applicable-tests.patch - "${FILESDIR}"/1.62.1-musl-dynamic-linking.patch - "${FILESDIR}"/1.67.0-doc-wasm.patch -) - -S="${WORKDIR}/${MY_P}-src" - -toml_usex() { - usex "${1}" true false -} - -bootstrap_rust_version_check() { - # never call from pkg_pretend. eselect-rust may be not installed yet. - [[ ${MERGE_TYPE} == binary ]] && return - local rustc_wanted="$(ver_cut 1).$(($(ver_cut 2) - 1))" - local rustc_toonew="$(ver_cut 1).$(($(ver_cut 2) + 1))" - local rustc_version=( $(eselect --brief rust show 2>/dev/null) ) - rustc_version=${rustc_version[0]#rust-bin-} - rustc_version=${rustc_version#rust-} - - [[ -z "${rustc_version}" ]] && die "Failed to determine rust version, check 'eselect rust' output" - - if ver_test "${rustc_version}" -lt "${rustc_wanted}" ; then - eerror "Rust >=${rustc_wanted} is required" - eerror "please run 'eselect rust' and set correct rust version" - die "selected rust version is too old" - elif ver_test "${rustc_version}" -ge "${rustc_toonew}" ; then - eerror "Rust <${rustc_toonew} is required" - eerror "please run 'eselect rust' and set correct rust version" - die "selected rust version is too new" - else - einfo "Using rust ${rustc_version} to build" - fi -} - -pre_build_checks() { - local M=8192 - # 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} )) - M=$(( $(usex miri 128 0) + ${M} )) - 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 system-bootstrap 0 1024) + ${M} )) - M=$(( $(usex doc 256 0) + ${M} )) - CHECKREQS_DISK_BUILD=${M}M check-reqs_pkg_${EBUILD_PHASE} -} - -llvm_check_deps() { - has_version -r "sys-devel/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 - - use system-bootstrap && bootstrap_rust_version_check - - if use system-llvm; then - llvm_pkg_setup - - local llvm_config="$(get_llvm_prefix "${LLVM_MAX_SLOT}")/bin/llvm-config" - export LLVM_LINK_SHARED=1 - export RUSTFLAGS="${RUSTFLAGS} -Lnative=$("${llvm_config}" --libdir)" - fi -} - -esetup_unwind_hack() { - # https://bugs.gentoo.org/870280 - # this is a hack needed to bootstrap with libgcc_s linked tarball on llvm-libunwind system. - # it should trigger for internal bootstrap or system-bootstrap with rust-bin. - # the whole idea is for stage0 to bootstrap with fake libgcc_s. - # final stage will receive -L${T}/lib but not -lgcc_s args, producing clean compiler. - local fakelib="${T}/fakelib" - mkdir -p "${fakelib}" || die - # we need both symlinks, one for cargo runtime, other for linker. - ln -s "${ESYSROOT}/usr/lib/libunwind.so" "${fakelib}/libgcc_s.so.1" || die - ln -s "${ESYSROOT}/usr/lib/libunwind.so" "${fakelib}/libgcc_s.so" || die - export LD_LIBRARY_PATH="${fakelib}" - export RUSTFLAGS+=" -L${fakelib}" - # this is a literally magic variable that gets through cargo cache, without it some - # crates ignore RUSTFLAGS. - # this variable can not contain leading space. - export MAGIC_EXTRA_RUSTFLAGS+="${MAGIC_EXTRA_RUSTFLAGS:+ }-L${fakelib}" -} - -src_prepare() { - if ! use system-bootstrap; then - has_version sys-devel/gcc || esetup_unwind_hack - local rust_stage0_root="${WORKDIR}"/rust-stage0 - local rust_stage0="rust-${RUST_STAGE0_VERSION}-$(rust_abi)" - - "${WORKDIR}/${rust_stage0}"/install.sh --disable-ldconfig \ - --without=rust-docs-json-preview,rust-docs --destdir="${rust_stage0_root}" --prefix=/ || die - fi - - default -} - -src_configure() { - filter-flags '-flto*' # 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/wasm_base.rs || die - fi - fi - rust_targets="${rust_targets#,}" - - local tools='"cargo"' - use clippy && tools+=',"clippy"' - use miri && tools+=',"miri"' - use profiler && tools+=',"rust-demangler"' - use rustfmt && tools+=',"rustfmt"' - use rust-analyzer && tools+=',"rust-analyzer","analysis"' - use rust-src && tools+=',"src"' - - local rust_stage0_root - if use system-bootstrap; then - local printsysroot - printsysroot="$(rustc --print sysroot || die "Can't determine rust's sysroot")" - rust_stage0_root="${printsysroot}" - else - rust_stage0_root="${WORKDIR}"/rust-stage0 - fi - # 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)" - - local cm_btype="$(usex debug DEBUG RELEASE)" - cat <<- _EOF_ > "${S}"/config.toml - changelog-seen = 2 - [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 = "" - 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) - [llvm.build-config] - CMAKE_VERBOSE_MAKEFILE = "ON" - CMAKE_C_FLAGS_${cm_btype} = "${CFLAGS}" - CMAKE_CXX_FLAGS_${cm_btype} = "${CXXFLAGS}" - CMAKE_EXE_LINKER_FLAGS_${cm_btype} = "${LDFLAGS}" - CMAKE_MODULE_LINKER_FLAGS_${cm_btype} = "${LDFLAGS}" - CMAKE_SHARED_LINKER_FLAGS_${cm_btype} = "${LDFLAGS}" - CMAKE_STATIC_LINKER_FLAGS_${cm_btype} = "${ARFLAGS}" - [build] - build-stage = 2 - test-stage = 2 - build = "${rust_target}" - host = ["${rust_target}"] - target = [${rust_targets}] - cargo = "${rust_stage0_root}/bin/cargo" - rustc = "${rust_stage0_root}/bin/rustc" - rustfmt = "${rust_stage0_root}/bin/rustfmt" - 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 = $(toml_usex profiler) - cargo-native-static = false - [install] - prefix = "${EPREFIX}/usr/lib/${PN}/${PV}" - 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 - default-linker = "$(tc-getCC)" - parallel-compiler = $(toml_usex parallel-compiler) - channel = "$(usex nightly nightly stable)" - description = "gentoo" - rpath = false - verbose-tests = true - optimize-tests = $(toml_usex !debug) - codegen-tests = true - dist-src = false - remap-debuginfo = true - lld = $(usex system-llvm false $(toml_usex wasm)) - # 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 - [dist] - src-tarball = false - compression-formats = ["xz"] - _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}"/config.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}"/config.toml - llvm-config = "$(get_llvm_prefix "${LLVM_MAX_SLOT}")/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}"/config.toml - crt-static = false - _EOF_ - fi - done - if use wasm; then - cat <<- _EOF_ >> "${S}"/config.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}"/config.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}"/config.toml - llvm-config = "$(get_llvm_prefix "${LLVM_MAX_SLOT}")/bin/llvm-config" - _EOF_ - fi - if [[ "${cross_toolchain}" == *-musl* ]]; then - cat <<- _EOF_ >> "${S}"/config.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}\]#" config.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 "config.toml contents:" - cat "${S}"/config.toml || die - echo -} - -src_compile() { - RUST_BACKTRACE=1 "${EPYTHON}" ./x.py build -vv --config="${S}"/config.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}"/config.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 -vv --config="${S}"/config.toml -j$(makeopts_jobs) || die - - # bug #689562, #689160 - rm -v "${ED}/usr/lib/${PN}/${PV}/etc/bash_completion.d/cargo" || die - rmdir -v "${ED}/usr/lib/${PN}/${PV}"/etc{/bash_completion.d,} || die - newbashcomp src/tools/cargo/src/etc/cargo.bashcomp.sh cargo - - local symlinks=( - cargo - rustc - rustdoc - rust-gdb - rust-gdbgui - rust-lldb - ) - - use clippy && symlinks+=( clippy-driver cargo-clippy ) - use miri && symlinks+=( miri cargo-miri ) - use profiler && symlinks+=( rust-demangler ) - 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}/${PV}/bin/${i}" ]]; then - einfo "Installing ${i} symlink" - ln -v "${ED}/usr/lib/${PN}/${PV}/bin/${i}" "${ED}/usr/lib/${PN}/${PV}/bin/${ver_i}" || die - else - ewarn "${i} symlink requested, but source file not found" - ewarn "please report this" - fi - dosym "../lib/${PN}/${PV}/bin/${ver_i}" "/usr/bin/${ver_i}" - done - - # symlinks to switch components to active rust in eselect - dosym "${PV}/lib" "/usr/lib/${PN}/lib-${PV}" - dosym "${PV}/libexec" "/usr/lib/${PN}/libexec-${PV}" - dosym "${PV}/share/man" "/usr/lib/${PN}/man-${PV}" - dosym "rust/${PV}/lib/rustlib" "/usr/lib/rustlib-${PV}" - dosym "../../lib/${PN}/${PV}/share/doc/rust" "/usr/share/doc/${P}" - - newenvd - "50${P}" <<-_EOF_ - LDPATH="${EPREFIX}/usr/lib/rust/lib" - MANPATH="${EPREFIX}/usr/lib/rust/man" - _EOF_ - - rm -rf "${ED}/usr/lib/${PN}/${PV}"/*.old || die - rm -rf "${ED}/usr/lib/${PN}/${PV}/doc"/*.old || die - - # note: eselect-rust adds EROOT to all paths below - cat <<-_EOF_ > "${T}/provider-${P}" - /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/libexec - /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 use miri; then - echo /usr/bin/miri >> "${T}/provider-${P}" - echo /usr/bin/cargo-miri >> "${T}/provider-${P}" - fi - if use profiler; then - echo /usr/bin/rust-demangler >> "${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/bin/rust-analyzer >> "${T}/provider-${P}" - fi - - insinto /etc/env.d/rust - doins "${T}/provider-${P}" - - if use dist; then - insinto "/usr/lib/${PN}/${PV}/dist" - doins -r "${S}/build/dist/." - fi -} - -pkg_postinst() { - eselect rust update - - if has_version sys-devel/gdb || has_version dev-util/lldb; then - elog "Rust installs a helper script for calling GDB and LLDB," - elog "for your convenience it is installed under /usr/bin/rust-{gdb,lldb}-${PV}." - fi - - if has_version app-editors/emacs; then - elog "install app-emacs/rust-mode to get emacs support for rust." - fi - - if has_version app-editors/gvim || has_version app-editors/vim; then - elog "install app-vim/rust-vim to get vim support for rust." - fi -} - -pkg_postrm() { - eselect rust cleanup -} diff --git a/dev-lang/rust/rust-1.68.2.ebuild b/dev-lang/rust/rust-1.68.2.ebuild index 4f904c718106..4bf6fa92b305 100644 --- a/dev-lang/rust/rust-1.68.2.ebuild +++ b/dev-lang/rust/rust-1.68.2.ebuild @@ -124,6 +124,7 @@ RDEPEND="${DEPEND} REQUIRED_USE="|| ( ${ALL_LLVM_TARGETS[*]} ) miri? ( nightly ) parallel-compiler? ( nightly ) + rust-analyzer? ( rust-src ) test? ( ${ALL_LLVM_TARGETS[*]} ) wasm? ( llvm_targets_WebAssembly ) x86? ( cpu_flags_x86_sse2 ) diff --git a/dev-lang/rust/rust-1.69.0-r1.ebuild b/dev-lang/rust/rust-1.69.0-r1.ebuild index 366e5890c90f..b312e8a53d1d 100644 --- a/dev-lang/rust/rust-1.69.0-r1.ebuild +++ b/dev-lang/rust/rust-1.69.0-r1.ebuild @@ -19,7 +19,7 @@ else SLOT="stable/${ABI_VER}" MY_P="rustc-${PV}" SRC="${MY_P}-src.tar.xz" - KEYWORDS="amd64 arm arm64 ~mips ~ppc ~ppc64 ~riscv ~sparc x86" + KEYWORDS="amd64 arm arm64 ~mips ~ppc ppc64 ~riscv ~sparc x86" fi RUST_STAGE0_VERSION="1.$(($(ver_cut 2) - 1)).2" @@ -124,6 +124,7 @@ RDEPEND="${DEPEND} REQUIRED_USE="|| ( ${ALL_LLVM_TARGETS[*]} ) miri? ( nightly ) parallel-compiler? ( nightly ) + rust-analyzer? ( rust-src ) test? ( ${ALL_LLVM_TARGETS[*]} ) wasm? ( llvm_targets_WebAssembly ) x86? ( cpu_flags_x86_sse2 ) diff --git a/dev-lang/rust/rust-1.70.0.ebuild b/dev-lang/rust/rust-1.70.0.ebuild index 873e2dff63fe..33820a266181 100644 --- a/dev-lang/rust/rust-1.70.0.ebuild +++ b/dev-lang/rust/rust-1.70.0.ebuild @@ -19,7 +19,7 @@ else SLOT="stable/${ABI_VER}" MY_P="rustc-${PV}" SRC="${MY_P}-src.tar.xz" - #KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" + KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" fi RUST_STAGE0_VERSION="1.$(($(ver_cut 2) - 1)).0" @@ -124,6 +124,7 @@ RDEPEND="${DEPEND} REQUIRED_USE="|| ( ${ALL_LLVM_TARGETS[*]} ) miri? ( nightly ) parallel-compiler? ( nightly ) + rust-analyzer? ( rust-src ) test? ( ${ALL_LLVM_TARGETS[*]} ) wasm? ( llvm_targets_WebAssembly ) x86? ( cpu_flags_x86_sse2 ) |