aboutsummaryrefslogtreecommitdiff
path: root/Makefile
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 /Makefile
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 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 20ea224..bf5bbda 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
-.PHONY: check clippy check-lock test-crate test-sync test-async expand fmt-expand lock doc
+.PHONY: check clippy check-lock test-crate test-sync test-async test-no-metadata expand fmt-expand lock doc
# make check
-check: clippy expand fmt-expand test-crate test-sync test-async check-lock
+check: clippy expand fmt-expand test-crate test-sync test-async test-no-metadata check-lock
# make doc
doc:
@@ -27,6 +27,9 @@ test-sync:
test-async:
cargo test -p might_be_async_test_async --features metadata_async --manifest-path test/Cargo.toml
+test-no-metadata:
+ cargo test -p might_be_async_test_fallback --features async --manifest-path test/Cargo.toml
+
expand:
python3 scripts/expand_codes.py