Skip to content

Commit

Permalink
Ignore skip_stack_guard_page on linux for now
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark McCaskey committed May 14, 2021
1 parent 9567e05 commit a4eb971
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/engine-jit/src/link.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ fn apply_relocation(
},
RelocationKind::X86CallPCRel4 => unsafe {
let (reloc_address, reloc_delta) = r.for_address(body, target_func_address as u64);
write_unaligned(reloc_address as *mut usize, reloc_delta as _);
write_unaligned(reloc_address as *mut u32, reloc_delta as _);
},
RelocationKind::X86PCRelRodata4 => {}
kind => panic!(
Expand Down
1 change: 1 addition & 0 deletions tests/ignores.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ singlepass on windows # Singlepass is not yet supported on Windows
# https://github.com/rust-lang/backtrace-rs/issues/356
cranelift::spec::skip_stack_guard_page on darwin
llvm::spec::skip_stack_guard_page on darwin
cranelift::spec::skip_stack_guard_page on linux

# TODO(https://github.com/wasmerio/wasmer/issues/1727): Traps in native engine
cranelift::spec::linking on native
Expand Down

0 comments on commit a4eb971

Please sign in to comment.