| Age | Commit message (Collapse) | Author |
|
Add reminder to ebuild to update the git repo and make a new tag as
required instead of using filesdir: that's how we end up exceeding the
limit; things are very rarely cleaned up here!
Signed-off-by: Matt Jolly <kangie@gentoo.org>
|
|
- sync changes from 1.86.0.
Bug: https://bugs.gentoo.org/953956
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
|
|
Closes: https://bugs.gentoo.org/953956
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
|
|
files/ has been too big for a while now. Instead use the rust-patches
repository that was created to manage these patches.
No revbumps required - they were either done beforehand when we dropped
a bad patch _or_ are not required as the only additions are backported
build-time fixes (done in previous commits).
Signed-off-by: Matt Jolly <kangie@gentoo.org>
|
|
Signed-off-by: Matt Jolly <kangie@gentoo.org>
|
|
Rust upstream have identified issues with this patch relating to broken
x87 handling in LLVM.
Drop the patch and revbump all impacted revisions to ensure that this is
cleaned up.
Closes: https://www.github.com/gentoo/gentoo/pulls/40616
Signed-off-by: Matt Jolly <kangie@gentoo.org>
|
|
There's a bunch of must_use inside of portable_simd's core_simd crate
which breaks the build.
Just mark the relevant files with `allow(unused_attributes)` as
there's loads of others, and I don't understand what a trait implementation
actually is (as my understanding would mean there's really many others).
This fixes building with RUSTFLAGS containing -C target-cpu=native
where native is znver4 at least.
Closes: https://bugs.gentoo.org/956018
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Closes: https://bugs.gentoo.org/953109
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Rust 1.71.1 was retained due to games-strategy/ja2-stracciatella
being unable to build with any later version of Rust.
This package has been updated and as 1.71.1 is not in our
bootstrap path it is safe to remove (and remove that slot from
consideration in the eclass).
Signed-off-by: Matt Jolly <kangie@gentoo.org>
|
|
We've been saying that we'll update this for years now.
Clearly not happening; it can live in Git history.
Signed-off-by: Matt Jolly <kangie@gentoo.org>
|
|
We already have a similar patch for versions before 1.85.0.
Change rust-lang/rust@9c37c14aa245, which got released in 1.85.0, made
us think that such a patch is not needed anymore, but that's not true.
Upstream didn't fix the existing individual targets yet.
Bug: https://bugs.gentoo.org/950275
Signed-off-by: Michal Rostecki <vadorovsky@protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/40752
Signed-off-by: Sam James <sam@gentoo.org>
|
|
While currently unkeyworded, the intent is that eventually
`beta` will only ever be keyworded `testing` (i.e. not stabilised)
and will enable us to catch regressions on esoteric systems and
report them upstream before a stable release is cut (and we
have to do the same thing anyway, but with revbumps).
All `beta` channel releases will share a single `SLOT`, i.e.
1.85.0_beta20250208 has `SLOT` 1.85.0, the same as the eventual
`stable` release. Installing different `beta` releases side-by-side
is not supported via Portage (and it's unlikely that they will stay
in-tree for long once superseded). This enables straightforward
`ver_test` comparisons to reflect a particular 'version'.
`nightly` is a VCS sources ebuild template which will soon be the
only way to get `nightly` Rust via Portage (from source, anyway,
a followup commit will add a 'dev-lang/rust-bin' nightly binary
release, using upstream infrastructure). Nightly can only be built
by the `beta` channel release.
Signed-off-by: Matt Jolly <kangie@gentoo.org>
unkeyword betas
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
Bug: https://github.com/rust-lang/rust/issues/133629
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
This was re-added to the tree to support bootstrap from source,
but has been superseded by 1.74.1 for this.
Signed-off-by: Matt Jolly <kangie@gentoo.org>
|
|
- the patch is rebased for 1.83, but merged upstream to 1.84.
Closes: https://bugs.gentoo.org/946158
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
|
|
Closes: https://bugs.gentoo.org/942013
Closes: https://bugs.gentoo.org/942884
Closes: https://bugs.gentoo.org/945486
Signed-off-by: Sam James <sam@gentoo.org>
|
|
These are the the old ebuilds, updated to be slotted.
Other changes:
- `USE=rls` was dropped at some point, this is now
hard-enabled.
- As the LLVM is far too old for Gentoo we are using the bundled LLVM
exclusively.
In particular, dev-lang/rust:1.54.0 forms an important part of the
upcoming 'bootstrap Rust without Rust binaries' path.
Bug: https://bugs.gentoo.org/943706
Closes: https://github.com/gentoo/gentoo/pull/39464
Signed-off-by: Matt Jolly <kangie@gentoo.org>
|
|
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
This is a conditional patch which will lower Rust's baseline from Pentium4 to
PentiumPro when cpu_flags_x86_sse2 isn't set. We can still use sse2 enabled
bootstraps to build this so no further changes are required.
Signed-off-by: Ian Jordan <immoloism@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/38792
Signed-off-by: Matt Jolly <kangie@gentoo.org>
|
|
No revbump since this is build-only.
Bug: https://bugs.gentoo.org/937164
Closes: https://bugs.gentoo.org/937525
Signed-off-by: Matoro Mahri <matoro_gentoo@matoro.tk>
Closes: https://github.com/gentoo/gentoo/pull/38947
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/38570
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
|
|
This is apparently not (or no longer) consumed by the bundled LLVM,
which makes our QA complain.
See: https://github.com/rust-lang/rust/commit/8c40426051a667673cdac9975f84cb6acd4e245f
Closes: https://bugs.gentoo.org/933382
Signed-off-by: Matoro Mahri <matoro_gentoo@matoro.tk>
Closes: https://github.com/gentoo/gentoo/pull/37405
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Signed-off-by: Anna (navi) Figueiredo Gomes <navi@vlhl.dev>
Signed-off-by: Sam James <sam@gentoo.org>
|
|
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>
|
|
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Signed-off-by: David Seifert <soap@gentoo.org>
|
|
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>
|
|
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>
|
|
Bug: https://bugs.gentoo.org/922880
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Signed-off-by: Matt Turner <mattst88@gentoo.org>
|
|
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>
|
|
Signed-off-by: WANG Xuerui <xen0n@gentoo.org>
|
|
Seems trivial enough, there may be follow ups needed for
"download-rustc" but we don't use this as far as I can tell.
Closes: https://bugs.gentoo.org/910595
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
|
|
Integrating an upstream revert for fixing broken bash completion file
installation while at it.
Bug: https://bugs.gentoo.org/910496
See: https://github.com/gentoo/gentoo/pull/31241
Signed-off-by: WANG Xuerui <xen0n@gentoo.org>
|
|
Bug: https://bugs.gentoo.org/893996
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
|
|
Use fat lto, instead of thin-local, as it provides more benefit at
expense of build time.
No bundled llvm lto for now, as it requires full clang/lld toolchain.
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
|
|
Bug: https://bugs.gentoo.org/901737
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
|
|
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
|
|
Closes: https://bugs.gentoo.org/892513
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
|
|
Closes: https://bugs.gentoo.org/892369
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
|
|
Bug: https://bugs.gentoo.org/884513
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
|
|
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
|
|
pull slotted lld
don't set doc-stage = 2
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
|
|
This partially reverts commit 53f2e771432ee61187a0154f96250372f92d7712.
Issue: https://github.com/rust-lang/rust/issues/102155
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
|
|
Bug: https://bugs.gentoo.org/870166
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
|
|
Issue: https://github.com/bytecodealliance/rustix/issues/408
Bug: https://bugs.gentoo.org/872725
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
|
|
Bug: https://bugs.gentoo.org/870166
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
|
|
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
|
|
Bug: https://bugs.gentoo.org/870166
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
|
|
Bug: https://bugs.gentoo.org/868330
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
|