fix build error docs

This commit is contained in:
Patrick Ventuzelo 2019-10-07 12:56:55 +02:00
parent ba1b55d6c8
commit ed615c4878

View File

@ -99,7 +99,7 @@ pub fn call_protected<T>(
Ok(SIGSEGV) | Ok(SIGBUS) => WasmTrapInfo::MemoryOutOfBounds, Ok(SIGSEGV) | Ok(SIGBUS) => WasmTrapInfo::MemoryOutOfBounds,
Ok(SIGFPE) => WasmTrapInfo::IllegalArithmetic, Ok(SIGFPE) => WasmTrapInfo::IllegalArithmetic,
_ => unimplemented!( _ => unimplemented!(
"WasmTrapInfo::Unknown signal:{}", "WasmTrapInfo::Unknown signal:{:?}",
Signal::from_c_int(signum) Signal::from_c_int(signum)
), ),
})) }))