Use the more-asserts crate in more places.
This provides assert_le, assert_lt, and so on, which can print the values of the operands.
This commit is contained in:
@@ -1385,7 +1385,7 @@ syscalls! {
|
||||
return return_encoded_errno(e);
|
||||
}
|
||||
|
||||
assert!(in_.len() == host_out.len());
|
||||
assert_eq!(in_.len(), host_out.len());
|
||||
|
||||
let e = host::wasmtime_ssp_poll_oneoff(
|
||||
curfds,
|
||||
|
||||
Reference in New Issue
Block a user