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
@@ -18,7 +18,7 @@ lazy_static = "1.4"
|
||||
libc = { version = "0.2.60", default-features = false }
|
||||
scroll = { version = "0.10.1", features = ["derive"], optional = true }
|
||||
serde = { version = "1.0.99", features = ["derive"] }
|
||||
target-lexicon = "0.10.0"
|
||||
target-lexicon = "0.11.0"
|
||||
wasmtime-environ = { path = "../environ", version = "0.19.0" }
|
||||
wasmtime-runtime = { path = "../runtime", version = "0.19.0" }
|
||||
ittapi-rs = { version = "0.1.5", optional = true }
|
||||
|
||||
@@ -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