mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-09-08 00:00:13 +02:00
wasm: use build script to detect wasm (#4865)
Co-authored-by: Taiki Endo <[email protected]>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#![warn(rust_2018_idioms)]
|
||||
#![cfg(feature = "full")]
|
||||
#![cfg(not(target_os = "wasi"))] // Wasi doesn't support panic recovery
|
||||
#![cfg(not(tokio_wasi))] // Wasi doesn't support panic recovery
|
||||
|
||||
use futures::future;
|
||||
use std::error::Error;
|
||||
|
||||
Reference in New Issue
Block a user