Skip to content

Commit 1a9b970

Browse files
committed
Add 'arm' and 'aarch64' to 'Architecture' creation
1 parent 5cb9569 commit 1a9b970

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

onnxruntime-sys/build.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,8 @@ impl FromStr for Architecture {
215215
match s.to_lowercase().as_str() {
216216
"x86" => Ok(Architecture::X86),
217217
"x86_64" => Ok(Architecture::X86_64),
218+
"arm" => Ok(Architecture::Arm),
219+
"aarch64" => Ok(Architecture::Arm64),
218220
_ => Err(format!("Unsupported architecture: {}", s)),
219221
}
220222
}

0 commit comments

Comments
 (0)