aboutsummaryrefslogtreecommitdiff
path: root/test/no_metadata/src
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-07-23 23:28:53 +0800
committer魏曹先生 <1992414357@qq.com>2026-07-23 23:28:53 +0800
commitb8705f97fc3ef32ec98d3f77a8ccd28decbbaf50 (patch)
tree9c82ca453b8348844f131cf06d8519687c5a8417 /test/no_metadata/src
parentf9f879e488a62eba9c54c8e713cc94cc9f20e96e (diff)
feat(test): add fallback test crate for no-metadata buildsHEADmain
Add `might_be_async_test_fallback` crate in `test/no_metadata/` to verify macro behavior when the `metadata_async` feature is absent, covering sync/async select, invoke, and bare func attributes
Diffstat (limited to 'test/no_metadata/src')
-rw-r--r--test/no_metadata/src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/no_metadata/src/lib.rs b/test/no_metadata/src/lib.rs
new file mode 100644
index 0000000..abe379d
--- /dev/null
+++ b/test/no_metadata/src/lib.rs
@@ -0,0 +1,2 @@
+#![allow(unused)]
+include!("../../src/test_fallback.rs");