mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-28 00:00:11 +02:00
wasm: use build script to detect wasm (#4865)
Co-authored-by: Taiki Endo <[email protected]>
This commit is contained in:
@@ -17,7 +17,7 @@ async fn simultaneous_deadline_future_completion() {
|
||||
assert_ready_ok!(fut.poll());
|
||||
}
|
||||
|
||||
#[cfg_attr(target_os = "wasi", ignore = "FIXME: `fut.poll()` panics on Wasi")]
|
||||
#[cfg_attr(tokio_wasi, ignore = "FIXME: `fut.poll()` panics on Wasi")]
|
||||
#[tokio::test]
|
||||
async fn completed_future_past_deadline() {
|
||||
// Wrap it with a deadline
|
||||
|
||||
Reference in New Issue
Block a user