@@ -116,6 +116,7 @@ fn ensure_supported_elf_format(bytes: &[u8]) -> Result<Endianness, Error> {
|
||||
let e = header.endian().unwrap();
|
||||
|
||||
match header.e_machine.get(e) {
|
||||
EM_AARCH64 => (),
|
||||
EM_X86_64 => (),
|
||||
EM_S390 => (),
|
||||
machine => {
|
||||
|
||||
@@ -1666,10 +1666,14 @@ mod test {
|
||||
);
|
||||
}
|
||||
|
||||
#[cfg_attr(target_arch = "aarch64", ignore)] // https://github.com/bytecodealliance/wasmtime/pull/2518#issuecomment-747280133
|
||||
#[cfg(all(unix, target_pointer_width = "64", feature = "async"))]
|
||||
#[test]
|
||||
fn test_stack_zeroed() -> Result<()> {
|
||||
// https://github.com/bytecodealliance/wasmtime/pull/2518#issuecomment-747280133
|
||||
if std::env::var("WASMTIME_TEST_NO_HOG_MEMORY").is_ok() {
|
||||
return Ok(());
|
||||
}
|
||||
|
||||
let allocator = PoolingInstanceAllocator::new(
|
||||
PoolingAllocationStrategy::NextAvailable,
|
||||
ModuleLimits {
|
||||
|
||||
@@ -673,7 +673,6 @@ mod test {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
#[cfg(target_arch = "x86_64")]
|
||||
#[test]
|
||||
fn test_isa_flags_mismatch() -> Result<()> {
|
||||
let engine = Engine::default();
|
||||
|
||||
Reference in New Issue
Block a user