Skip to content

Commit b507f3f

Browse files
committed
chore(tests) suppress an erroneous dead-code Rust warning
1 parent 2bbd747 commit b507f3f

File tree

1 file changed

+1
-0
lines changed
  • t/lib/proxy-wasm-tests/hostcalls/src/types

1 file changed

+1
-0
lines changed

t/lib/proxy-wasm-tests/hostcalls/src/types/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ pub enum TestPhase {
1717
}
1818

1919
#[repr(u32)]
20+
#[allow(dead_code)] // ignore erroneous dead code warning
2021
pub enum WasmxForeignFunction {
2122
ResolveLua = 0,
2223
}

0 commit comments

Comments
 (0)