mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-06-18 17:33:56 +02:00
[yabridgectl] Fix error message for unknown arch
This commit is contained in:
@@ -118,7 +118,10 @@ pub fn get_elf_architecture(path: &Path) -> Result<LibArchitecture> {
|
|||||||
match machine_arch {
|
match machine_arch {
|
||||||
0x03 => Ok(LibArchitecture::Lib32), // x86
|
0x03 => Ok(LibArchitecture::Lib32), // x86
|
||||||
0x3E => Ok(LibArchitecture::Lib64), // AMD x86-64
|
0x3E => Ok(LibArchitecture::Lib64), // AMD x86-64
|
||||||
_ => Err(anyhow!("'{}' is not a recognized ELF machine ISA")),
|
_ => Err(anyhow!(
|
||||||
|
"'{}' is not a recognized ELF machine ISA",
|
||||||
|
machine_arch
|
||||||
|
)),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user