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
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™.
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.
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
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
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.
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?
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>