Add a test that segfault handlers ignore non-wasm segfaults (#941)

This is the subject of #940 which while fixed is good to have a
regression test for!
This commit is contained in:
Alex Crichton
2020-02-18 16:22:18 -06:00
committed by GitHub
parent 2fd3a31c06
commit b69a061d23
2 changed files with 104 additions and 0 deletions

View File

@@ -44,3 +44,7 @@ default = ['wat']
# to cranelift. Requires Nightly Rust currently, and this is not enabled by
# default.
lightbeam = ["wasmtime-jit/lightbeam"]
[[test]]
name = "host-segfault"
harness = false