Commit graph

331 commits

Author SHA1 Message Date
Josh Stone
ef3ce219ca Update to Rust 1.91.0 2025-10-30 11:57:25 -07:00
Josh Stone
dfeceeebed Update to Rust 1.90.0 2025-09-18 09:27:17 -07:00
Josh Stone
5337f42bfe Re-enable PGO for ppc64le 2025-08-15 14:21:43 -07:00
Paul Murphy
6c973e7ddf Enable optimized-compiler-builtins on the native compiler
With the exception of s390x which does not yet provide one.

On aarch64, this adds runtime support for LSE in outline-atomic
operations.
2025-08-14 11:04:35 -05:00
Jakub Jelen
5a638152c0 Rust-gdb and lldb require rustc to find a sysroot
otherwise it fails with

```
/usr/bin/rust-gdb: line 14: rustc: command not found
```
2025-08-07 11:43:47 -07:00
Paul Murphy
b26ae543d9 Update to Rust 1.89.0
Turn on rust.verify-llvm-ir, it would have caught the ppc64le pgo
failure when building the compiler. The only impact should be
slightly increased time to build this package.

Also, bump wasi-libc sdk to version 27.
2025-08-07 09:22:41 -05:00
Fedora Release Engineering
594464056b Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 12:57:01 +00:00
Josh Stone
17cb547e45 Update to Rust 1.88.0 2025-06-26 13:21:58 -07:00
Josh Stone
9786ba6ea9 Skip PGO on all ppc64le builds for now 2025-05-27 16:51:15 -07:00
Jesus Checa Hidalgo
b127903104 Update to Rust 1.87.0 2025-05-15 12:07:53 +02:00
Josh Stone
e569cda848 Fix alternative bootstrap paths
- For llvm-static, the inserted ffi block needs to be extern "C",
  and LLVM now also needs libxml2-devel for linking.
- When using upstream binaries, we should not use the rpm macros that
  pull in the system rust toolchain.

[skip changelog]
2025-04-29 13:04:03 -07:00
Josh Stone
c9224a07d6 Temporarily skip PGO on RHEL ppc64le 2025-04-24 14:15:58 -07:00
Josh Stone
3436f8c99b Update to Rust 1.86.0 2025-04-03 08:59:19 -07:00
Josh Stone
956ba8047c Update to Rust 1.85.1 2025-03-18 12:45:47 -07:00
Josh Stone
5f24112b8e Clean up LLVM-compat and enable it on ELN 2025-03-10 16:47:09 -07:00
Josh Stone
53b3e13ae5 Lock cargo to the matching rust version 2025-03-07 17:34:12 -08:00
Josh Stone
f0deba825b Add Provides: bundled(crate(_)) for vendored dependencies 2025-03-07 16:45:09 -08:00
Josh Stone
36704d2c57 ld.gold isn't needed for tests anymore 2025-02-26 12:51:03 -08:00
Josh Stone
ad5a8095c8 Update to Rust 1.85.0 2025-02-20 09:16:51 -08:00
Josh Stone
8e04e725bb Update to Rust 1.84.1 2025-01-30 12:00:33 -08:00
Josh Stone
1013e8f026 Restore libstd.so for uses like evcxr
Ref: https://github.com/evcxr/evcxr/issues/394
2025-01-27 12:19:36 -08:00
Josh Stone
780493632f Use system oniguruma for building rust-docs 2025-01-20 10:30:09 -08:00
Fedora Release Engineering
b9d8811f3b Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-19 00:20:25 +00:00
Josh Stone
17a60f7317 Fully remove the shared standard library 2025-01-14 10:03:14 -08:00
Josh Stone
81b4dce864 Revert use of clang/lld; patch cc-rs#1354 instead 2025-01-09 17:24:50 -08:00
Josh Stone
74986e8d9c Use lld when building the compiler 2025-01-09 15:04:14 -08:00
Josh Stone
27d88bb597 Update to Rust 1.84.0 2025-01-09 08:39:49 -08:00
Josh Stone
86da954d70 prep: Remove submodules we don't need. 2024-12-18 14:02:30 -08:00
Jesus Checa Hidalgo
deb8dc4f03 Update rpminspect unicode exceptions
rust 1.83.0 ships gcc source, which includes some tests for unicode
characters. This commit blacklists those tests so they won't raise
false positives in rpminspect testing.
2024-12-18 06:47:09 +00:00
David Michael
0e39664275 Put an upper bound on the cargo requirement as well
Rebuilding a previous SRPM version will fail because cargo has the
same version requirement as Rust, e.g.:

Unexpected cargo version: 1.82.0, we should use 1.79.x/1.80.1 to build source with 1.80.1
2024-12-16 15:25:36 -05:00
David Michael
ed69793c2f Move the target list definition after the rust_triple function
This has no functional effect, it is just to be nice to downstreams
for adding additional ABIs to the target list with minimal changes.
It makes macros parametric to pass parameters to the Lua function,
but this is still unused in this spec.

Also clean up the ppc64 architecture from the list since it's not
being build by ExclusiveArch anymore.

[skip changelog]
2024-12-16 15:23:51 -05:00
Josh Stone
0f308eb772 Exclude target shared libraries
Now that the compiler is linking `std` statically, we don't really need
that shared library for anything at all, so now it's excluded.
2024-12-02 16:55:24 -08:00
Josh Stone
64ec772902 Update to Rust 1.83.0 2024-11-28 06:52:10 -08:00
Josh Stone
1338df248a [eln] update to wasi-libc-24 2024-11-12 13:20:32 -08:00
Jesus Checa Hidalgo
9d72a7a9c3 Add unicode exception rules for rpminpect 2024-10-30 17:06:19 +01:00
Josh Stone
8ee6197240 Set build.jobs for everything 2024-10-29 11:05:54 -07:00
Josh Stone
5b4a0fd51a Update to Rust 1.82.0 2024-10-17 10:23:39 -07:00
Davide Cavalca
f737b8c4dd Reenable the aarch64-unknown-none-softfloat target on RHEL
This was dropped in
bdc2be1e01
but it's needed for EPEL 10, so adding it back.

Resolves: RHEL-60808

Signed-off-by: Davide Cavalca <dcavalca@centosproject.org>

(cherry picked from commit 175d35473cf8885da93bc888f7f4a54a369c84cd)
2024-10-11 18:29:44 -07:00
Josh Stone
57f6a22eea Require rust libraries for rust-analyzer; Fixes RHBZ#2316529 2024-10-08 12:44:32 -07:00
Josh Stone
06c0e45816 [eln] Upgrade wasi-libc for clang-19 2024-10-02 10:41:49 -07:00
Josh Stone
04388f6e65 Skip crash tests
[skip changelog]
2024-10-01 10:39:20 -07:00
Josh Stone
5dab1210eb Apply patches for LLVM 19 2024-09-30 11:57:52 -07:00
Josh Stone
0c755bb834 Only add an automatic SONAME for Rust dylibs
Fixes RHBZ#2314879
2024-09-30 09:50:32 -07:00
Josh Stone
6aa3bad390 Update to Rust 1.81.0 2024-09-05 10:25:31 -07:00
Nikita Popov
295d43e43e Update to Rust 1.80.1 2024-08-12 17:22:09 +00:00
Songsong Zhang
51879d6cd8 do not install gold in riscv64 2024-07-28 14:05:06 +08:00
Josh Stone
8814c53397 Update to Rust 1.80.0
Resolves: rhbz#2299871
2024-07-25 10:32:14 -07:00
Josh Stone
24a6c91d17 Trim %extra_targets on RHEL
[skip changelog]
2024-07-25 09:39:06 -07:00
Gerd Hoffmann
3492f59d87 lld fixup for aarch64-unknown-uefi 2024-07-25 16:32:34 +00:00
Gerd Hoffmann
c5289e87c3 enable aarch64-unknown-uefi 2024-07-25 16:32:34 +00:00