Commit Graph
146 Commits
Author SHA1 Message Date
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
Miguel Ojeda acc5435b48 Rust 1.73.0 (#5560)
Infra: https://github.com/compiler-explorer/infra/pull/1109

Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2023-10-05 20:27:42 +02:00
thatmarkenglishguy 5c7ee8233d add_rust_dashmap_crate Added dashmap crate version 5.4.0. (#5095) 2023-09-24 00:58:09 +02:00
Miguel Ojeda a8fb471c5b Rust 1.72.0 (#5413)
To be released tomorrow.

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

Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2023-08-24 17:42:35 +02:00
Jan f9a6191907 updated OSACA version to v0.5.2 (#5399)
Updated OSACA from v0.5.0 to v0.5.2
2023-08-21 21:12:27 -05:00
Miguel Ojeda cc69e2706d Rust 1.71.0 (#5268)
Infra: https://github.com/compiler-explorer/infra/pull/1054.
2023-07-22 15:42:51 +02:00
Miguel Ojeda 9778e9ed2c Rust 1.70.0 (#5103)
Infra: https://github.com/compiler-explorer/infra/pull/1025

Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2023-06-05 07:55:46 +02:00
Miguel Ojeda e6dbd6c715 Rust 1.69.0 (#4982)
Infra: https://github.com/compiler-explorer/infra/pull/994.

Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2023-04-21 16:50:30 -05:00
Jan 13d16fcb7b updated OSACA version to 0.5.0 (#4903)
Updated OSACA to version 0.5.0 with more supported uarchs and functionalities.
Please see also the corresponding [PR #979 in compiler-explorer/infra](https://github.com/compiler-explorer/infra/pull/979).
2023-04-01 17:04:09 -05:00
Miguel Ojeda 5157f69106 Rust 1.68.0 (#4842)
Infra: https://github.com/compiler-explorer/infra/pull/961.

Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2023-03-09 21:33:18 -06:00
Miguel Ojeda 4ca94205d6 Rust 1.67.0 (#4646)
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2023-01-26 12:39:50 -06:00
Marc Poulhiès cb9e8037a4 fix: objective-c rv* names
Compiler group was missing semVer.

Small cleanup in alternative rust compilers.

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2023-01-21 13:28:50 +01:00
Marc Poulhiès 48725b75a6 rust: add nightly GCC master build
The Rust frontend for GCC is developed in the github project:
  https://github.com/Rust-GCC/gccrs
This is the compiler denoted by '(GCCRS master)'.

The frontend has been contributed to the main GCC repository and has
been enabled in our nightly builds of the GCC master branch: this is the
compiler denoted by '(GCC master)'.

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2023-01-21 09:56:36 +01:00
Marc Poulhiès 5ff24a1ca2 rust: add cross gcc for BPF (#4619)
Add a cross-gcc targeting BPF.
Also do some cleaning of group names.

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2023-01-20 21:02:41 +01:00
Marc Poulhiès 69055681d9 Support for compiling to binary object (#3232) 2023-01-11 19:39:25 +01:00
Rubén Rincón Blanco d0577c673c Add new rust crates (#4462) 2022-12-19 17:41:36 +01:00
Miguel Ojeda 18a90707d4 Rust 1.66.0 (#4442)
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>

Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2022-12-15 11:12:22 -06:00
Marc Poulhiès b1facf8e80 Add special option for gccrs (#4401)
gccrs is still in heavy dev and to avoid anyone missing this crucial info, it
has introduced a very explicit option and required option:

 -frust-incomplete-and-experimental-compiler-do-not-use

The compiler emits a very verbose error if this option is missing.

refs https://github.com/Rust-GCC/gccrs/pull/1540

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2022-12-06 20:06:53 +01:00
Rubén Rincón Blanco 5ccd9d2029 Add licenses to lots of compilers (#4305)
* Add Rust license info

* Add hipclang license info

Same as C++'s rocm one

* Add license info for Ada compilers

* Add licenses to most C compilers

* Add license to Nim compiler

* Add license to FPC

* Add license to Python

* Add license to Zig

* Add licenses for Scala

Separates it between 2 and 3 as it changed quite a lot,
so that we can more easily add new versions to it in the future

* Add license for Pony compiler

* Add Ocaml license

* Add Mlir license

* Add license to LLVM pseudolang

* Fix mlir license props

* Add license to Kotlin

* Add OpenJDK license

* Add Jakt license

* Add GHC licenses

* Remove licenses from platspec compilers

* Add C++ licenses

* Add link to open issue if license is wrong

* Fix button link
2022-11-18 19:06:54 +01:00
Miguel Ojeda 30ce0ad543 Rust 1.65.0 (#4235)
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>

Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2022-11-04 07:02:39 -05:00
Miguel Ojeda 761952afd9 Rust 1.64.0 (#4083)
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>

Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2022-09-22 08:37:55 -05:00
Miguel Ojeda 33f2f28c57 Rust 1.63.0 (#3955)
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>

Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2022-08-12 08:05:49 -05:00
Miguel Ojeda 0c356a8d53 Rust 1.62.0 (#3823)
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2022-06-30 20:38:07 +02:00