mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-09-07 00:00:08 +02:00
chore: add a regression test for WASI (#4822)
Currently, we only have WASM regression tests that run without WASI. However, rust provides a WASI specific target which enables code to special case WASI. This PR adds a basic test to cover that case. This is an initial addition to help land tokio-rs/tokio#4716.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#![cfg(all(feature = "macros", feature = "rt"))]
|
||||
#![cfg(all(feature = "macros", feature = "rt-multi-thread"))]
|
||||
|
||||
#[tokio::main]
|
||||
async fn basic_main() -> usize {
|
||||
|
||||
Reference in New Issue
Block a user