rust/compiler/rustc_codegen_ssa/src/back
Matthias Krüger 878f383118
Rollup merge of #137830 - LuigiPiucco:incompatible-isa-fix, r=workingjubilee
Fix link failure on AVR (incompatible ISA error)

Fixes #137739. A reproducer of the issue is present there. I believe the root cause was introducing the avr-none target (which has no CPU by default) while also trying to get the ISA revision from the target spec. This commit uses the `target-cpu` option instead, which is already required to be present for the target.

r? compiler
cc ``@Patryk27``
2025-03-01 16:03:20 +01:00
..
apple Move versioned LLVM target creation to rustc_codegen_ssa 2024-11-01 17:07:18 +01:00
linker Rustfmt 2025-02-08 22:12:13 +00:00
rpath Support rpath with -Clinker-flavor=ld 2024-11-24 01:20:29 +01:00
apple.rs Make #[used] work when linking with ld64 2025-02-24 04:04:59 +01:00
archive.rs Rustfmt 2025-02-08 22:12:13 +00:00
command.rs Shorten linker output even more when --verbose is not present 2025-01-25 16:04:52 -05:00
link.rs linker: Fix escaping style for response files on Windows 2025-02-26 17:45:08 +03:00
linker.rs pass optimization level to llvm-bitcode-linker 2025-02-21 19:38:00 +08:00
lto.rs Make CodegenCx and Builder generic 2025-01-24 16:05:26 -05:00
metadata.rs Fix link failure on AVR (incompatible ISA error) 2025-02-28 18:27:35 -03:00
mod.rs Move versioned LLVM target creation to rustc_codegen_ssa 2024-11-01 17:07:18 +01:00
rpath.rs Support rpath with -Clinker-flavor=ld 2024-11-24 01:20:29 +01:00
symbol_export.rs Fix binding mode problems 2025-02-22 00:13:19 +00:00
write.rs Auto merge of #133250 - DianQK:embed-bitcode-pgo, r=nikic 2025-03-01 08:22:18 +00:00