From b8705f97fc3ef32ec98d3f77a8ccd28decbbaf50 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Thu, 23 Jul 2026 23:28:53 +0800 Subject: feat(test): add fallback test crate for no-metadata builds 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 --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Makefile') 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 -- cgit