mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-08 01:28:18 +03: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:
@@ -117,6 +117,10 @@ pub(crate) fn create_object_file(sess: &Session) -> Option<write::Object<'static
|
||||
"riscv32" => Architecture::Riscv32,
|
||||
"riscv64" => Architecture::Riscv64,
|
||||
"sparc64" => Architecture::Sparc64,
|
||||
"avr" => Architecture::Avr,
|
||||
"msp430" => Architecture::Msp430,
|
||||
"hexagon" => Architecture::Hexagon,
|
||||
"bpf" => Architecture::Bpf,
|
||||
// Unsupported architecture.
|
||||
_ => return None,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user