summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* dev-lang/rust: Stabilize 1.75.0-r1 ppc, #927155Arthur Zamarin13 days1-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* dev-lang/rust: Stabilize 1.75.0-r1 sparc, #927155Arthur Zamarin13 days1-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* dev-lang/rust: Add 1.77.1Randy Barlow2024-04-042-0/+816
| | | | | Signed-off-by: Randy Barlow <randy@electronsweatshop.com> Signed-off-by: Sam James <sam@gentoo.org>
* dev-lang/rust: update DESCRIPTIONSam James2024-03-296-6/+6
| | | | | | | Use blurb from https://www.rust-lang.org/. Better than an old Mozilla reference, anyway. Signed-off-by: Sam James <sam@gentoo.org>
* dev-lang/rust: Stabilize 1.75.0-r1 arm, #927155Arthur Zamarin2024-03-271-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* dev-lang/rust: Stabilize 1.75.0-r1 x86, #927155Arthur Zamarin2024-03-271-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* dev-lang/rust: Stabilize 1.75.0-r1 ppc64, #927155Arthur Zamarin2024-03-221-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* dev-lang/rust: Stabilize 1.75.0-r1 arm64, #927155Arthur Zamarin2024-03-221-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* dev-lang/rust: Stabilize 1.75.0-r1 amd64, #927155Arthur Zamarin2024-03-221-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* dev-lang/rust: Disable LTO by default and use thinRandy Barlow2024-03-211-2/+3
| | | | | | | | | | | | | | | | | | We've had a few issues with lto on, and it isn't on by default generally among Gentoo packages, so this commit flips it to be off by default. Additionally, in an upstream ticket[0] it was suggested to use thin LTO rather than fat LTO, so this commit makes that adjustment as well. [0] https://github.com/rust-lang/rust/issues/121124 [sam: Note that there's a risk of miscompilations with non-thin LTO, per the upstream bug(s).] Bug: https://bugs.gentoo.org/924301 Signed-off-by: Randy Barlow <randy@electronsweatshop.com> Closes: https://github.com/gentoo/gentoo/pull/35796 Signed-off-by: Sam James <sam@gentoo.org>
* dev-lang/rust: backport the loong code model change to 1.76.0WANG Xuerui2024-03-092-0/+74
| | | | | | | | This is going to help building large apps such as www-client/chromium. Otherwise users will have to set RUSTFLAGS="-Ccode-model=medium" themselves, which is clumsy. Signed-off-by: WANG Xuerui <xen0n@gentoo.org>
* dev-lang/rust: add 1.76.0WANG Xuerui2024-03-092-0/+815
| | | | Signed-off-by: WANG Xuerui <xen0n@gentoo.org>
* dev-lang/rust: Stabilize 1.74.1 x86, #920441Sam James2024-03-041-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* dev-lang/rust: Stabilize 1.74.1 arm, #920441Sam James2024-03-041-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* dev-lang/rust: remove unused patchMichael Mair-Keimberger2024-02-171-40/+0
| | | | | Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Signed-off-by: David Seifert <soap@gentoo.org>
* */*: Reassign gyakovlev's packagesMichał Górny2024-02-141-4/+0
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* dev-lang/rust: rebase and re-apply musl dynamic linking patch for 1.75Violet Purcell2024-02-112-0/+20
| | | | | | | | | | This somehow got lost in the 1.75 bump, but it is required for e.g. Firefox to compile on musl. Bug: https://bugs.gentoo.org/922880 Signed-off-by: Violet Purcell <vimproved@inventati.org> Closes: https://github.com/gentoo/gentoo/pull/35267 Signed-off-by: Sam James <sam@gentoo.org>
* dev-lang/rust: crossdev supportMatoro Mahri2024-02-103-22/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows Rust to be cross-compiled with crossdev. This is the last item for bug 680652, closing it. Note that this is for a foreign CHOST, i.e., CBUILD != CHOST == CTARGET. It does not cover the scenario for CBUILD == CHOST != CTARGET(s), which is tracked separately in bug 679878. A number of changes were required in order to make this work: * Force USE=system-bootstrap, since we cannot specify the appropriate boostrap URL based on CBUILD in SRC_URI * LLVm is compiled twice as part of the build, once for host and once for target. However, the rust build uses the same settings from config.toml for both builds. Therefore we cannot override flags nor default-linker and must let rust choose them for us. * Set the appropriate build/host variables which correspond to CBUILD/CHOST. This works as expected. * Set PKG_CONFIG and OPENSSL_*_DIR variables; cargo needs these for some reason. * Enforce that LLVM_TARGETS is set correctly for both host and target arches. This uses the new llvm_tuple_to_target function, introduced in https://github.com/gentoo/gentoo/pull/33996 * Lastly a small patch to rust source is needed, to tell it to link with system libz. It's unclear why this scenario was excluded under cross-compile conditions in upstream rust. See: https://paste.sr.ht/~kchibisov/682321e0fd4a3ece4a4b7b71591896f5cd3cdb22 Bug: https://bugs.gentoo.org/679878 Closes: https://bugs.gentoo.org/680652 Signed-off-by: Matoro Mahri <matoro_gentoo@matoro.tk> Closes: https://github.com/gentoo/gentoo/pull/35246 Signed-off-by: Sam James <sam@gentoo.org>
* dev-lang/rust: Add 1.75Randy Barlow2024-02-103-0/+837
| | | | | | Bug: https://bugs.gentoo.org/922880 Signed-off-by: Randy Barlow <randy@electronsweatshop.com> Signed-off-by: Sam James <sam@gentoo.org>
* dev-lang/rust: Add navi as a maintainerRandy Barlow2024-02-101-0/+4
| | | | | | Signed-off-by: Anna (navi) Figueiredo Gomes <navi@vlhl.dev> Signed-off-by: Randy Barlow <randy@electronsweatshop.com> Signed-off-by: Sam James <sam@gentoo.org>
* dev-lang/rust: Add myself as a maintainerRandy Barlow2024-02-101-0/+4
| | | | | Signed-off-by: Randy Barlow <randy@electronsweatshop.com> Signed-off-by: Sam James <sam@gentoo.org>
* dev-lang/rust: Drop old versionsMatt Turner2024-01-3111-6985/+0
| | | | Signed-off-by: Matt Turner <mattst88@gentoo.org>
* dev-lang/rust: Stabilize 1.74.1 sparc, #920441Matoro Mahri2024-01-281-1/+1
| | | | | Signed-off-by: Matoro Mahri <matoro_gentoo@matoro.tk> Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* dev-lang/rust: Stabilize 1.74.1 ppc64, #920441Matoro Mahri2024-01-281-1/+1
| | | | | Signed-off-by: Matoro Mahri <matoro_gentoo@matoro.tk> Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* Move {dev-util → dev-build}/cmakeMichał Górny2024-01-1411-11/+11
| | | | | | Signed-off-by: Michał Górny <mgorny@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/34792 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* Move {dev-util → dev-debug}/lldbMichał Górny2024-01-1311-11/+11
| | | | | Closes: https://bugs.gentoo.org/920438 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* Move {sys-devel → dev-debug}/gdbMichał Górny2024-01-1311-33/+33
| | | | | Closes: https://bugs.gentoo.org/920438 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* dev-lang/rust: Stabilize 1.74.1 amd64, #920441Sam James2024-01-081-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* dev-lang/rust: dev-util/ninja -> app-alternatives/ninjaSam James2024-01-0811-21/+21
| | | | | | | | All of these will be using app-alternatives/ninja anyway as they're not calling ninja-reference, so make the dep reflect reality. Signed-off-by: Sam James <sam@gentoo.org>
* dev-lang/rust: Stabilize 1.74.1 arm64, #920441Sam James2024-01-071-2/+2
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* dev-lang/rust: Stabilize 1.74.1 ppc, #920441Arthur Zamarin2023-12-291-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* profiles/use.desc: Make USE=lto globalMichał Górny2023-12-181-1/+0
| | | | | | | | | Add a global USE=lto flag. The flag is used semi-consistently in 31 packages, with a few adding extra information. That said, probably many of these uses are invalid, as they are equivalent to adding `-flto` to CFLAGS. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* dev-lang/rust: add 1.74.1, drop 1.74.0WANG Xuerui2023-12-082-2/+2
| | | | | Signed-off-by: WANG Xuerui <xen0n@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org>
* dev-lang/rust: add 1.74.0WANG Xuerui2023-12-082-0/+790
| | | | | Signed-off-by: WANG Xuerui <xen0n@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org>
* dev-lang/rust: Stabilize 1.71.1 ppc, #913962Arthur Zamarin2023-11-091-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* dev-lang/rust: Stabilize 1.71.1 ppc64, #913962Arthur Zamarin2023-11-071-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* dev-lang/rust: Stabilize 1.71.1 arm, #913962Arthur Zamarin2023-11-071-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* dev-lang/rust: Stabilize 1.71.1 sparc, #913962Arthur Zamarin2023-11-071-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* Remove BROOT from VERIFY_SIG_OPENPGP_KEY_PATHMike Gilbert2023-10-3110-10/+10
| | | | Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* dev-lang/rust: add 1.73.0WANG Xuerui2023-10-072-0/+761
| | | | | | | | * License change (see the commit bumping dev-lang/rust-bin for link) * Updated ALL_LLVM_TARGETS and bumped LLVM slot (the upstream LLVM is 17.0.2) Signed-off-by: WANG Xuerui <xen0n@gentoo.org>
* dev-lang/rust: increase build verbosityMatoro Mahri2023-10-039-9/+9
| | | | | | | | | | | rust bootstrap has a lot of mysterious environment variables that need to be set in order to rerun a failing compile command manually such as RUSTC_STAGE, RUSTC_SYSROOT, RUSTC_REAL, etc. While the commands are printed at -vv verbosity level, the necessary environment variables are not, only at -vvv verbosity level. Signed-off-by: Matoro Mahri <matoro@users.noreply.github.com> Signed-off-by: Sam James <sam@gentoo.org>
* dev-lang/rust: Fix build with musl 1.2.4Violet Purcell2023-10-023-37/+198
| | | | | | | | | | | | Rust 1.72.0 bumped the version of the libc crate required by the std to 0.2.146, which finally means that the stdlib no longer references LFS64 symbols. This commit make rust 1.72.0 bootstrap from 1.72.0, and adds a patch that bumps all remaining dependencies on libc <0.2.146 in vendored crates. Closes: https://github.com/gentoo/gentoo/pull/32488 Signed-off-by: Violet Purcell <vimproved@inventati.org> Signed-off-by: WANG Xuerui <xen0n@gentoo.org>
* dev-lang/rust: Stabilize 1.71.1 x86, #913962Arthur Zamarin2023-09-171-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* dev-lang/rust: Don't install rustfmt.old binaryMatt Turner2023-09-132-0/+2
| | | | | Closes: https://bugs.gentoo.org/912757 Signed-off-by: Matt Turner <mattst88@gentoo.org>
* dev-lang/rust: Stabilize 1.71.1 arm64, #913962Sam James2023-09-131-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* dev-lang/rust: Stabilize 1.71.1 amd64, #913962Sam James2023-09-131-1/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* dev-lang/rust: add 1.72.0WANG Xuerui2023-08-282-0/+784
| | | | Signed-off-by: WANG Xuerui <xen0n@gentoo.org>
* dev-lang/rust: Stabilize 1.69.0-r1 sparc, #907722Arthur Zamarin2023-08-251-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* dev-lang/rust: keyword 1.71.1 for ~loongWANG Xuerui2023-08-051-1/+1
| | | | Signed-off-by: WANG Xuerui <xen0n@gentoo.org>
* dev-lang/rust: add 1.71.1WANG Xuerui2023-08-043-0/+775
| | | | Signed-off-by: WANG Xuerui <xen0n@gentoo.org>