From 2520444233abb68ff367d5e91cffa672595ca22e Mon Sep 17 00:00:00 2001 From: narpfel Date: Thu, 6 Aug 2026 13:55:16 +0200 Subject: [PATCH] Use `llvm-objdump` for Rust (#8982) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `rustc` supports multiple target architectures, while GNU `objdump` only supports the host arch. This breaks “Compile to binary object” and “Link to binary” when targeting an arch other than x86. Resolves #8980. --- etc/config/rust.amazon.properties | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/etc/config/rust.amazon.properties b/etc/config/rust.amazon.properties index f8c3ad5a4..7e173e04c 100644 --- a/etc/config/rust.amazon.properties +++ b/etc/config/rust.amazon.properties @@ -1,5 +1,6 @@ compilers=&rust:&rustgcc:&mrustc:&rustccggcc:&rustccgcranelift -objdumper=/opt/compiler-explorer/gcc-16.1.0/bin/objdump +objdumper=/opt/compiler-explorer/clang-22.1.0/bin/llvm-objdump +objdumperType=llvm linker=/opt/compiler-explorer/gcc-16.1.0/bin/gcc aarch64linker=/opt/compiler-explorer/arm64/gcc-14.1.0/aarch64-unknown-linux-gnu/bin/aarch64-unknown-linux-gnu-gcc defaultCompiler=r1970