Skip to content

Commit b7c5323

Browse files
zhaixiaojuanheiher
authored andcommitted
Add loongarch64 to fn create_object_file
1 parent ca8cad7 commit b7c5323

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/rustc_codegen_ssa/src/back/metadata.rs

+1
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ pub(crate) fn create_object_file(sess: &Session) -> Option<write::Object<'static
128128
"msp430" => Architecture::Msp430,
129129
"hexagon" => Architecture::Hexagon,
130130
"bpf" => Architecture::Bpf,
131+
"loongarch64" => Architecture::LoongArch64,
131132
// Unsupported architecture.
132133
_ => return None,
133134
};

0 commit comments

Comments
 (0)