joeshaw opened issue #5202:
Test Case
Add
tracing: false
to thefrom_witx!()
definition incrates/wiggle/tests/atoms_async.rs
Steps to Reproduce
cargo test -p wiggle
Expected Results
Successful test run
Actual Results
error[E0728]: `await` is only allowed inside `async` functions and blocks --> crates/wiggle/tests/atoms_async.rs:8:1 | 8 | / wiggle::from_witx!({ 9 | | witx: ["$CARGO_MANIFEST_DIR/tests/atoms.witx"], 10 | | async: *, 11 | | tracing: false, 12 | | }); | | ^ | | | | |__only allowed inside `async` functions and blocks | this is not `async` | = note: this error originates in the macro `wiggle::from_witx` (in Nightly builds, run with -Z macro-backtrace for more info)
Versions and Environment
Wasmtime version or commit: Current HEAD, 387426e7f.
Operating system: macOS 12.6
Architecture: x86_64
joeshaw labeled issue #5202:
Test Case
Add
tracing: false
to thefrom_witx!()
definition incrates/wiggle/tests/atoms_async.rs
Steps to Reproduce
cargo test -p wiggle
Expected Results
Successful test run
Actual Results
error[E0728]: `await` is only allowed inside `async` functions and blocks --> crates/wiggle/tests/atoms_async.rs:8:1 | 8 | / wiggle::from_witx!({ 9 | | witx: ["$CARGO_MANIFEST_DIR/tests/atoms.witx"], 10 | | async: *, 11 | | tracing: false, 12 | | }); | | ^ | | | | |__only allowed inside `async` functions and blocks | this is not `async` | = note: this error originates in the macro `wiggle::from_witx` (in Nightly builds, run with -Z macro-backtrace for more info)
Versions and Environment
Wasmtime version or commit: Current HEAD, 387426e7f.
Operating system: macOS 12.6
Architecture: x86_64
pchickey closed issue #5202:
Test Case
Add
tracing: false
to thefrom_witx!()
definition incrates/wiggle/tests/atoms_async.rs
Steps to Reproduce
cargo test -p wiggle
Expected Results
Successful test run
Actual Results
error[E0728]: `await` is only allowed inside `async` functions and blocks --> crates/wiggle/tests/atoms_async.rs:8:1 | 8 | / wiggle::from_witx!({ 9 | | witx: ["$CARGO_MANIFEST_DIR/tests/atoms.witx"], 10 | | async: *, 11 | | tracing: false, 12 | | }); | | ^ | | | | |__only allowed inside `async` functions and blocks | this is not `async` | = note: this error originates in the macro `wiggle::from_witx` (in Nightly builds, run with -Z macro-backtrace for more info)
Versions and Environment
Wasmtime version or commit: Current HEAD, 387426e7f.
Operating system: macOS 12.6
Architecture: x86_64
Last updated: Nov 22 2024 at 16:03 UTC