mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-04 04:39:16 +00:00
Auto merge of #103240 - BelovDV:issue-102290, r=petrochenkov
Add architectures to fn create_object_file Fixes #102290 r? `@petrochenkov`
This commit is contained in:
commit
6e95b6da88
@ -117,6 +117,10 @@ pub(crate) fn create_object_file(sess: &Session) -> Option<write::Object<'static
|
|||||||
"riscv32" => Architecture::Riscv32,
|
"riscv32" => Architecture::Riscv32,
|
||||||
"riscv64" => Architecture::Riscv64,
|
"riscv64" => Architecture::Riscv64,
|
||||||
"sparc64" => Architecture::Sparc64,
|
"sparc64" => Architecture::Sparc64,
|
||||||
|
"avr" => Architecture::Avr,
|
||||||
|
"msp430" => Architecture::Msp430,
|
||||||
|
"hexagon" => Architecture::Hexagon,
|
||||||
|
"bpf" => Architecture::Bpf,
|
||||||
// Unsupported architecture.
|
// Unsupported architecture.
|
||||||
_ => return None,
|
_ => return None,
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user