fix(llvm-back) Mark WasmTrapType as deadcode.

This enum is not used directly by Rust, but used externally.
This commit is contained in:
Ivan Enderlin
2019-03-29 10:04:09 +01:00
parent a1ca7069af
commit 91f40639b7

View File

@ -54,6 +54,7 @@ enum LLVMResult {
OBJECT_LOAD_FAILURE,
}
#[allow(dead_code)]
#[repr(C)]
enum WasmTrapType {
Unreachable = 0,