Stream: git-wasmtime

Topic: wasmtime / PR #9602 test-macros: Handle custom test attri...


view this post on Zulip Wasmtime GitHub notifications bot (Nov 13 2024 at 00:39):

saulecabrera opened PR #9602 from saulecabrera:test-macros-handle-with to bytecodealliance:main:

This commit introduces the ability to pass a custom attribute to the procedural macro via #[wasmtime_test(with = "...")]. This makes it possible to use the macro in situations where the caller desires to use a different test attribute such as #[tokio::test].

Additionally this commit also introduces support for the test funcition asyncness, which was previously ignored.

This change is mainly motivated by adding epoch interruption support to Winch.

<!--
Please make sure you include the following information:

Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.html

Please ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->

view this post on Zulip Wasmtime GitHub notifications bot (Nov 13 2024 at 00:39):

saulecabrera requested wasmtime-core-reviewers for a review on PR #9602.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 13 2024 at 00:39):

saulecabrera requested pchickey for a review on PR #9602.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 13 2024 at 01:04):

pchickey submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 13 2024 at 01:19):

pchickey merged PR #9602.


Last updated: Nov 22 2024 at 16:03 UTC