async functions do not compile correctly for WASM #139829
Labels
A-async-await
Area: Async & Await
C-discussion
Category: Discussion or questions that doesn't represent real issues.
I tried this code:
I expected to see this happen:
foo
returns no results andbar
takes only one argument (or it fails to compile if async functions are not supported)Instead, this happened: When compiled for
wasm32-unknown-unknown
,wasm32-wasip1
andwasm32-wasip2
, it doesn’t holdNotice the
func $foo (;0;) (type 0) (result i32)
andfunc $bar (;1;) (type 1) (param i32 i32)
.Meta
rustc --version --verbose
:@rustbot label +O-wasm +O-wasi
The text was updated successfully, but these errors were encountered: