diff options
| author | Jacob Pratt <jacob@jhpratt.dev> | 2025-07-29 18:55:22 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-29 18:55:22 -0400 |
| commit | 72f4ff2c4589d692d1bd571ddacbdf91e6a6b4a6 (patch) | |
| tree | 9d4782595e3c00b29560a425ab3b2d9b0a804952 /compiler | |
| parent | 322686de5dbf700c9ee3f40a147a4db93707b320 (diff) | |
| parent | 652b9eb98b3dc5be8b2b65954e252e9e272c3447 (diff) | |
| download | rust-72f4ff2c4589d692d1bd571ddacbdf91e6a6b4a6.tar.gz rust-72f4ff2c4589d692d1bd571ddacbdf91e6a6b4a6.zip | |
Rollup merge of #144640 - FractalFir:m68k_arch, r=Urgau
Add support for the m68k architecture in 'object_architecture' This is a tiny PR that adds the m68k architecture to `object_architecture`. This allows us to build rmeta files for that ISA(we use the object crate to pack metadata into object files).
Diffstat (limited to 'compiler')
| -rw-r--r-- | compiler/rustc_target/src/spec/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_target/src/spec/mod.rs b/compiler/rustc_target/src/spec/mod.rs index c64cd9a51b7..033590e01a6 100644 --- a/compiler/rustc_target/src/spec/mod.rs +++ b/compiler/rustc_target/src/spec/mod.rs @@ -3598,6 +3598,7 @@ impl Target { ), "x86" => (Architecture::I386, None), "s390x" => (Architecture::S390x, None), + "m68k" => (Architecture::M68k, None), "mips" | "mips32r6" => (Architecture::Mips, None), "mips64" | "mips64r6" => ( // While there are currently no builtin targets |
