Commit Graph
168 Commits
Author SHA1 Message Date
Marc Poulhiès 2cc2c9cd9a Add GCC 15.2 native intel
refs https://github.com/compiler-explorer/compiler-explorer/issues/7948

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2025-08-10 09:15:56 +02:00
Miguel Ojeda e0ffdb95be Rust 1.89.0 (#8004) 2025-08-07 17:45:22 +00:00
Patrick Quist 2f014cae9f Add top 100 Rust crates to Compiler Explorer (#7890)
This PR adds the **top 100 Rust crates** to Compiler Explorer.

This bulk addition includes the most popular crates from crates.io to
provide better library support for Rust users.

Related PR: https://github.com/compiler-explorer/infra/pull/1687

---
_PR created with
[ce-lib-wizard](https://github.com/compiler-explorer/ce-library-wizard)_
2025-07-21 16:41:12 +02:00
Miguel Ojeda 3565d9a65f Rust 1.88.0 (#7869) 2025-06-27 03:23:12 +00:00
narpfel c1a75464ac Switch back to rustfilt for Rust demangling (#7774)
Needs https://github.com/compiler-explorer/tools/pull/14.

See https://github.com/compiler-explorer/compiler-explorer/issues/7772.
This PR does not quite resolve that issue because C++ is also affected.
2025-06-09 11:03:09 -05:00
Patrick Quist cd06c2d286 Add Rust crate ahash v0.8.12 (#7723)
This PR adds the Rust crate **ahash** version 0.8.12 to Compiler
Explorer.

Related PR: https://github.com/compiler-explorer/infra/pull/1633
2025-05-30 18:27:43 +02:00
narpfel 20bae12039 Add Miri tool for Rust (#7718)
Resolves
https://github.com/compiler-explorer/compiler-explorer/issues/2563.

`misc-builder` PR:
https://github.com/compiler-explorer/misc-builder/pull/112
`compiler-workflows` PR:
https://github.com/compiler-explorer/compiler-workflows/pull/36
`infra` PR: https://github.com/compiler-explorer/infra/pull/1631

Screenshot:

![miri-tool](https://github.com/user-attachments/assets/d866bb42-a242-445b-be52-6fd0b3c877bb)
2025-05-30 07:17:01 -05:00
Marc Poulhiès 2777ed482d Add GCC 14.3 (#7725)
fixes compiler-explorer/compiler-explorer#7693
2025-05-26 22:10:40 +02:00
Miguel Ojeda e1f11b6436 Rust 1.87.0 (#7698) 2025-05-18 13:53:40 +00:00
Marc Poulhiès 81de0528b2 Add native x86_64 GCC 15.1.0 (#7577)
refs https://github.com/compiler-explorer/compiler-explorer/issues/7549

---------

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2025-04-25 20:37:05 +02:00
Miguel Ojeda e956a8eced Rust 1.86.0 (#7537)
Infra: https://github.com/compiler-explorer/infra/pull/1560.

Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2025-04-03 19:46:39 +02:00
Jan 7634079704 use OSACA v0.7.0 as tool (#7519)
Updated OSACA to version 0.7.0 that finally includes support for Intel
syntax assembly.
Therefore, I increased the version numbers in the `*.amazon.properties`
files and removed the check and error message for Intel syntax in
`osaca-tool.ts`.
Successfully tested with `make check` and manually with a local instance
2025-03-27 12:59:10 -05:00
Partouf 61715be49a fix rust clippy tool 2025-03-14 16:59:27 +01:00
narpfel 95979128ac Add clippy for Rust (#7477) 2025-03-12 22:45:15 +01:00
narpfel ea67b773ba Add libPath for Rust 1.85 (#7422) 2025-02-24 08:45:12 -06:00
Marc Poulhiès 5fe74b86ea Rust 1.85.0 (#7420)
Add newly released rustc 1.85.0

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2025-02-21 11:32:51 +01:00
narpfel 9c301340dd Enable execution and compilation to binary for rustc-cg-gcc (#7399)
The binary options’ output will (like for `rustc`) contain the complete
standard library (see #2708, #7337), but this can be worked around with
`-C prefer-dynamic`.

Execution should (according to my local tests) just work™.
2025-02-18 12:31:32 -06:00
narpfel 8388101b14 Fix execution for Rust 1.83+ with dynamically linked standard library (#7367) 2025-02-06 19:47:25 +01:00
narpfel 0a236597db Add some tools for rust (#7264)
This adds the tools requested in #6796.
2025-01-24 11:21:35 -06:00
Marc Poulhiès a8d28282d8 Rust 1.84.0
Add newly released rustc 1.84.0

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2025-01-09 17:56:30 +01:00
Marc Poulhiès 7870648f65 fix versionFlag for gccrs (#7222) 2024-12-16 14:20:09 +01:00
Marc Poulhiès aea458ad1a Add native x86 GCC build with assertion (#7214)
refs https://github.com/compiler-explorer/compiler-explorer/issues/7115

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2024-12-13 20:59:24 +01:00
Miguel Ojeda 31c2d4a05d Rust 1.83.0 (#7148)
Infra: https://github.com/compiler-explorer/infra/pull/1468.

Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2024-11-28 11:52:22 -06:00
narpfel 5e27a95042 [rust] update clap crate (#7003)
see https://crates.io/crates/clap

`clap` is a popular argument parsing library. This PR adds version
4.5.20 because the version currently supported on CE is quite old and
`clap` has had a major version bump in the meantime.

Infra PR: https://github.com/compiler-explorer/infra/pull/1442
2024-10-28 18:16:42 +09:00
Patrick Quist 4fe8397fac Remote execution (#6700) 2024-10-26 17:42:22 +02:00
Miguel Ojeda e0fd5f47f6 Rust 1.82.0 (#6968)
A big one!

Infra: https://github.com/compiler-explorer/infra/pull/1436

Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2024-10-20 17:16:28 -05:00
Jan d96094c93a use OSACA v0.6.1 (#6961)
Updated OSACA from v0.5.2 to v0.6.1, which includes bug fixes, more
supported instructions for existing architectures and new architectures
like Intel Sapphire Rapids, Nvidia Grace Superchip/Neoverse V2, and AMD
Zen 4.
2024-10-20 15:24:10 -05:00
narpfel 285d82e50e [rust] add bumpalo crate (#6876) 2024-09-22 16:13:43 +02:00
Miguel Ojeda fb23b321b3 Rust 1.81.0 (#6835)
Infra: https://github.com/compiler-explorer/infra/pull/1406

Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2024-09-05 21:21:44 +02:00
Detjon Mataj 53c04b26af Add bloaty tool for C, C++, D, Rust and Pascal (#6790)
Added `bloaty` tool configuration for C, C++, D, Rust and Pascal. 

resolve #6240
2024-08-24 15:01:26 -05:00
Marc Poulhiès a7261f635d Add GCC 14.2 native intel (#6743) 2024-08-08 22:06:41 +02:00
Miguel Ojeda 3ce25aac6f Rust 1.80.0 (#6723) 2024-07-25 21:14:39 +02:00
Miguel Ojeda db79e447a7 Rust 1.79.0 (#6599)
Infra: https://github.com/compiler-explorer/infra/pull/1325.

Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2024-06-14 11:54:46 -05:00
Nazım Can Altınova d8371ca866 Add the "nix" Rust crate (#6472)
This PR fixes #6212 and infra PR is here:
https://github.com/compiler-explorer/infra/pull/1299

It adds the nix crate that will be useful when users need to access more
user friendly *nix APIs.
Thanks!
2024-05-13 20:30:31 -05:00
Marc Poulhiès 24c09d135e Hide GCC BPF for C++/GCC14.1 and Rust/trunk
fixes https://github.com/compiler-explorer/compiler-explorer/issues/6459

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2024-05-09 10:35:10 +02:00
Marc Poulhiès 98624bbb96 Add GCC 14.1 for native (intel) (#6447)
fixes https://github.com/compiler-explorer/compiler-explorer/issues/6446

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2024-05-07 13:42:46 +02:00
Miguel Ojeda 86631cfacf Rust 1.78.0 (#6424)
Infra: https://github.com/compiler-explorer/infra/pull/1290.

Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2024-05-02 18:42:30 +02:00
Jason Rahman e654c76832 Add bincode support for Rust (#6404)
Adding bincode Rust crate support. Serialization/deserialization is perf
sensitive, so adding bincode crate support helps evaluate bincode
assembly generation for different struct types.

infra repo PR is: https://github.com/compiler-explorer/infra/pull/1287
2024-04-29 21:12:57 -05:00
Adam Thibert e630346d2e Add the phf crate for Rust (#6375) 2024-04-19 23:02:03 +02:00
Mats Jun 3c15839a77 Use rustfmt from the latest rust release (#6326)
The current Rust formatter on site doesn't support modern rust syntax
like async/await. This is because the formatter in production runs using
Rust 2015. Forcing edition=2018 allows more modern rust code to be
formatted properly.

Rustfmt is also shipped directly as a Rust component now, so we don't
have to install it separately.

For what it's worth, attempting to "Ctrl Shift I" format the code in
this shortlink demonstrates the problem https://godbolt.org/z/aP4669KEW
2024-04-14 12:54:08 +02:00
narpfel f5efd390fa Optionally show disambiguating hashes in demangled Rust identifiers (#6265)
Demangled Rust identifiers under the `legacy` name mangling scheme rely
on a hash to disambiguate items with the same name, such as different
monomorphisations of the same function or different closures’
`call_once` methods.

In the `v0` mangling scheme, this is no longer a problem. However,
configuring the demangler to show hashes in `legacy` names will include
crate-id hashes in `v0` names, which are [mostly
unneeded](https://rust-lang.github.io/rfcs/2603-rust-symbol-name-mangling-v0.html#appendix-a---suggested-demangling).

This PR introduces a new checkbox *Options...* → *Verbose demangling*
that lets the user select if they want to include disambiguating hashes
in demangled identifiers.

This checkbox is only shown for compilers that support verbose
demangling, and deactivated when the *Demangle identifiers* checkbox is
unchecked.

Resolves #1754.
Resolves #6255.
2024-04-01 21:58:42 -05:00
Khyber Sen b7e2e5c3c3 Add zerocopy crate (#6284) 2024-03-26 00:52:09 +01:00
Miguel Ojeda e3f9a67476 Rust 1.77.0 (#6267)
Infra: https://github.com/compiler-explorer/infra/pull/1256.

Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2024-03-22 09:10:16 +01:00
Michael Woerister e097590700 Enable the llvm-dwarfdump tool for Rust. (#6127)
This PR enables the llvm-dwarfdump tool for Rust (inspired by
https://github.com/compiler-explorer/compiler-explorer/pull/5726). The
default backend for the Rust compiler is LLVM and being able to inspect
the debuginfo it generates would be really useful.
2024-02-12 14:58:09 +01:00
Miguel Ojeda beda606734 Rust 1.76.0 (#6109)
Infra: https://github.com/compiler-explorer/infra/pull/1230.

Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2024-02-08 15:40:08 +01:00
narpfel 37f68bfa4a rust: display unwise option warning for -C target-cpu=native (#5990)
Resolves #5983.

This is not 100% accurate as it matches `target-cpu=native` without a
preceding `-C`, but there isn’t an obvious case where this would occur
in an otherwise valid compiler invocation, so it’s probably good enough?
2024-01-13 14:11:48 -06:00
Miguel Ojeda 1f125399d6 Rust 1.75.0 (#5924)
Infra: https://github.com/compiler-explorer/infra/pull/1200

Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2023-12-28 19:20:51 +01:00
Miguel Ojeda 7a7bde1a19 rust: update objdumper, linker and defaultCompiler (#5920)
I noticed the default Rust version was outdated, and we didn't have an
upgrade of the `objdumper` and `linker` for a while, so I decided to
send this in advance of tomorrow's Rust version upgrade.

I don't know what is the policy to update `objdumper` and `linker`
though. We have 13.2, 13.1, 12.1, 11.2 and 11.1 around, so I went with
the latest. Hopefully that is OK, please let me know if there is some
kind of rule about it.

Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2023-12-27 20:57:29 +01:00
Marc Poulhiès 8182463d76 Rust 1.74.0 (#5759)
Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2023-11-16 23:33:15 +01:00
Patrick Quist 4481bd0f3a Show up to date version for trunk compilers (#5571) 2023-10-15 15:56:43 +02:00