Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
bytecodealliance
GitHub Repository: bytecodealliance/wasmtime
Path: blob/main/crates/wiggle/tests/tracing.rs
1692 views
1
// This just tests that things compile when `tracing: false` is set,
2
// which isn't the default.
3
4
wiggle::from_witx!({
5
witx: ["tests/atoms.witx"],
6
async: {
7
atoms::double_int_return_float,
8
},
9
tracing: false,
10
});
11
12
impl wiggle::GuestErrorType for types::Errno {
13
fn success() -> Self {
14
types::Errno::Ok
15
}
16
}
17
18