summaryrefslogtreecommitdiffstats
path: root/third_party/rust/tokio/tests/_require_full.rs
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/rust/tokio/tests/_require_full.rs')
-rw-r--r--third_party/rust/tokio/tests/_require_full.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/third_party/rust/tokio/tests/_require_full.rs b/third_party/rust/tokio/tests/_require_full.rs
new file mode 100644
index 0000000000..3abda2629c
--- /dev/null
+++ b/third_party/rust/tokio/tests/_require_full.rs
@@ -0,0 +1,2 @@
+#![cfg(not(any(feature = "full", target_arch = "wasm32")))]
+compile_error!("run main Tokio tests with `--features full`");