Upgrade to target-lexicon 0.11
This allows downstream library users to use `CDataModel` without having to install two different versions of target-lexicon.
This commit is contained in:
committed by
Dan Gohman
parent
379aed8092
commit
d28abad441
@@ -238,7 +238,7 @@ impl State {
|
||||
fn get_e_machine(&self) -> u32 {
|
||||
match target_lexicon::HOST.architecture {
|
||||
Architecture::X86_64 => elf::EM_X86_64 as u32,
|
||||
Architecture::I686 => elf::EM_386 as u32,
|
||||
Architecture::X86_32(_) => elf::EM_386 as u32,
|
||||
Architecture::Arm(_) => elf::EM_ARM as u32,
|
||||
Architecture::Aarch64(_) => elf::EM_AARCH64 as u32,
|
||||
_ => unimplemented!("unrecognized architecture"),
|
||||
|
||||
Reference in New Issue
Block a user