<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in lib.rs</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>ca7081a2 - Consolidate &quot;util&quot; crates for testing (#10423)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/test-macros/src/lib.rs#ca7081a2</link>
        <description>Consolidate &quot;util&quot; crates for testing (#10423)* Consolidate &quot;util&quot; crates for testingThis commit consolidates all of the existing crates we have for testinginto a smaller set of crates. Specifically:* `crates/misc/component-fuzz-util` =&gt; `wasmtime-test-util` + `component-fuzz`  feature* `crates/misc/component-test-util` =&gt; `wasmtime-test-util` + `component`  feature* `crates/wast-util` =&gt; `wasmtime-test-util` + `wast` feature* `crates/misc/component-macro-test` =&gt; `wasmtime-test-macros`The goal is to have one location we put various test helpers/macrosrather than our current organically-grown many locations. This isinspired by the test failure on #10405 where I&apos;d like to refactor moreinfrastructure to a &quot;test util&quot; location but it wasn&apos;t clear where toput it so I wanted to do this refactoring first.* Remove unused file

            List of files:
            /wasmtime-44.0.1/crates/test-macros/src/lib.rs</description>
        <pubDate>Thu, 20 Mar 2025 15:08:47 +0000</pubDate>
        <dc:creator>Alex Crichton &lt;alex@alexcrichton.com&gt;</dc:creator>
    </item>
<item>
        <title>a6227aad - Add Pulley support to wasmtime_test macro (#10057)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/test-macros/src/lib.rs#a6227aad</link>
        <description>Add Pulley support to wasmtime_test macro (#10057)* wasmtime_test: Rename &quot;Cranelift&quot; strategy to &quot;CraneliftNative&quot;* wasmtime_test: Add CraneliftPulley to default test strategies* wasmtime_test: Use one specific compilation strategy with `only` specifier.Tests in `tests/all/fuel.rs` and `tests/all/winch_engine_features.rs`were using `#[wasmtime_test(strategies(not(Cranelift)))]` to gate theirWinch specific tests. Now that there is a third compilation strategy,those tests were failing against Pulley.I&apos;ve replaced those with `#[wasmtime_test(strategies(only(Winch)))]`to be more clear that they are targeted specifically at Winch.* wasmtime_test: Fix flaky `wrap_and_typed_i31ref` test in tests/all/func.rsThe `static HITS` variable was sharing state between tests,causing them to clobber each other when ran together.

            List of files:
            /wasmtime-44.0.1/crates/test-macros/src/lib.rs</description>
        <pubDate>Tue, 21 Jan 2025 18:01:33 +0000</pubDate>
        <dc:creator>Taylor Hogge &lt;taylor@irreducible.io&gt;</dc:creator>
    </item>
<item>
        <title>7f9049b9 - Replace `signals-based-traps` with auto-detection (#9941)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/test-macros/src/lib.rs#7f9049b9</link>
        <description>Replace `signals-based-traps` with auto-detection (#9941)* Replace `signals-based-traps` with auto-detectionThis commit refactors the platform support of the `wasmtime` crateitself to remove the previously added `signals-based-traps` feature infavor of auto-detecting whether it&apos;s there or not. The `build.rs`script for the `wasmtime` crate will now detect the target platform andauto-enable this feature as necessary.The `signals-based-traps` cargo feature is removed and split into twocustom `#[cfg]` directives that the build script sets:* `has_virtual_memory` - this is used to gate mmap implementations for  example. This is enabled on `unix || windows` and will be off for  `no_std` targets for example. This is split out of  &quot;signals-based-traps&quot; to better handle platforms like iOS which have  virtual memory but don&apos;t execute native code (removing the need for  native signals).* `has_native_signals` - gates signal handlers on Unix for example. This  is disabled on MIRI but otherwise enabled for `unix || windows`. This  is intended to in the future get disabled for iOS by default for  example since it&apos;s not necessary when using Pulley. This is  additionally off-by-default for `no_std` platforms.Two new crate features were added for `no_std` or &quot;custom&quot; platforms toopt-in to the `wasmtime-platform.h` C APIs for implementing virtualmemory and signals. These are used in the `min-platform` embedding example.This commit additionally updates some various documentation here andthere to be more up-to-date.* Update CI configuration* Fix compile warnings* Fix test on miri* Fix more tests on miri* Fix some warnings* Another round of miri/CI attempts/fixesprtest:full

            List of files:
            /wasmtime-44.0.1/crates/test-macros/src/lib.rs</description>
        <pubDate>Wed, 15 Jan 2025 01:15:14 +0000</pubDate>
        <dc:creator>Alex Crichton &lt;alex@alexcrichton.com&gt;</dc:creator>
    </item>
<item>
        <title>70a37939 - Support executing Pulley in Wasmtime  (#9744)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/test-macros/src/lib.rs#70a37939</link>
        <description>Support executing Pulley in Wasmtime  (#9744)* Support executing Pulley in WasmtimeThis commit is the initial implementation of executing the Pulleyinterpreter from the `wasmtime` crate. This gives access to all of the`wasmtime` crate&apos;s runtime APIs backed by execution of bytecode inPulley. This builds on the previous PRs I&apos;ve been making for support inPulley to culminate in testing on CI in this PR. This PR handles somefinal tidbits related to producing a runnable image that can beinterpreted by the `wasmtime` crate such as:* Pulley compilation artifacts are no longer marked as natively  executable, just read-only.* Pulley compilation artifacts include wasm-to-array trampolines like  normal platforms (removes a pulley special-case).* Dispatch of host calls from Pulley to the Wasmtime runtime are  implemented.* Pulley&apos;s list of panicking wasm features is slimmed down as most are  covered by &quot;this lowering isn&apos;t supported&quot; errors.* Execution of wasm code now has an `if` to see whether Pulley is  enabled within a `Store` or not.* Traps and basic &quot;unwinding&quot; of the pulley stack are implemented (e.g.  a &quot;pulley version&quot; of `setjmp` and `longjmp`, sort of)* Halting the interpreter has been refactored to help shrink the size of  `ControlFlow&lt;Done&gt;` and handle metadata with each done state.Some minor refactorings are also included here and there along with afew fixes here and there necessary to get tests passing.The next major part of this commit is updates to our `wast` test suiteand executing all `*.wast` files. Pulley is now executed by default forall files as a new execution engine. This means that all platforms in CIwill start executing Pulley tests. At this time almost all tests areflagged as &quot;expected to fail&quot; but there are a small handful ofallow-listed tests which are expected to pass. This exact list willchange over time as CLIF lowerings are implemented and the interpreteris extended.Follow-up PRs will extend the testing strategy further such as:* Extending `#[wasmtime_test]` to include Pulley in addition to Winch.* Getting testing set up on CI for 32-bit platforms.prtest:full* Fix pulley fuzz build* Fix clippy lints* Shuffle around some `#[cfg]`&apos;d code* Remove unused imports* Update feature sets testing MIRIEnable pulley for wasmtime/wasmtime-cli and also enable all features forwasmtime-environ* Round up pulley&apos;s page size to 64k* Skip pulley tests on s390x for now* Add a safety rail for matching a pulley target to the host* Fix more pulley tests on s390x* Review comments* Fix fuzz build

            List of files:
            /wasmtime-44.0.1/crates/test-macros/src/lib.rs</description>
        <pubDate>Fri, 06 Dec 2024 20:23:55 +0000</pubDate>
        <dc:creator>Alex Crichton &lt;alex@alexcrichton.com&gt;</dc:creator>
    </item>
<item>
        <title>4f386b73 - Refactor the `#[wasmtime_test]` macro (#9627)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/test-macros/src/lib.rs#4f386b73</link>
        <description>Refactor the `#[wasmtime_test]` macro (#9627)* Refactor the `#[wasmtime_test]` macro* Start tests with a blank slate of features instead of with the default  set of features enables (ensures each test explicitly specifies  required features)* Reuse test features from `wasmtime_wast_util` to avoid duplicating  listings of features. Also shares logic for &quot;should this compiler fail  this test because of unsupported features&quot;.* Move logic in `tests/wast.rs` to apply test configuration to a  `Config` to a new location that can be shared across suites.* Add a new feature for `simd` and flag tests that need it with the feature.This is done in preparation for adding a new compiler strategy of Pulleyto be able to flag tests as passing for pulley or not.* Review feedback

            List of files:
            /wasmtime-44.0.1/crates/test-macros/src/lib.rs</description>
        <pubDate>Wed, 20 Nov 2024 19:15:19 +0000</pubDate>
        <dc:creator>Alex Crichton &lt;alex@alexcrichton.com&gt;</dc:creator>
    </item>
<item>
        <title>ba8131c6 - test-macros: Handle custom test attributes (#9602)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/test-macros/src/lib.rs#ba8131c6</link>
        <description>test-macros: Handle custom test attributes (#9602)This commit introduces the ability to pass a custom attribute to theprocedural macro via `#[wasmtime_test(with = &quot;...&quot;)]`. This makes itpossible to use the macro in situations where the caller desires to usea different test attribute such as `#[tokio::test]`.Additionally this commit also introduces support for the test funcitionasyncness, which was previously ignored.This change is mainly motivated by adding epoch interruption support toWinch.

            List of files:
            /wasmtime-44.0.1/crates/test-macros/src/lib.rs</description>
        <pubDate>Wed, 13 Nov 2024 01:04:13 +0000</pubDate>
        <dc:creator>Sa&#250;l Cabrera &lt;saulecabrera@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>1887ae05 - test-macros: Handle dead code warnings (#9492)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/test-macros/src/lib.rs#1887ae05</link>
        <description>test-macros: Handle dead code warnings (#9492)This commit handles dead code warnings produced by the compiler when themacro is invoked as:    #[wasmtime_test(strategies(not(Cranelift))]Which occur because Winch currently only offers support for x86_64.The motivation behind this change comes fromhttps://github.com/bytecodealliance/wasmtime/pull/9490, which is wherethe warnings surfaced.

            List of files:
            /wasmtime-44.0.1/crates/test-macros/src/lib.rs</description>
        <pubDate>Tue, 22 Oct 2024 17:06:18 +0000</pubDate>
        <dc:creator>Sa&#250;l Cabrera &lt;saulecabrera@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>ba8ed6c0 - test-macros: Fix default return type (#9469)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/test-macros/src/lib.rs#ba8ed6c0</link>
        <description>test-macros: Fix default return type (#9469)This commit fixes the handling of default return types in`wasmtime-test-macros`. Prior to this commit, functions returning `()`inserted a `()` after the return output, which resulted in a syntaxerror.This commit fixes this issue by quoting empty tokens when the returntype is the default one.

            List of files:
            /wasmtime-44.0.1/crates/test-macros/src/lib.rs</description>
        <pubDate>Mon, 14 Oct 2024 21:25:58 +0000</pubDate>
        <dc:creator>Sa&#250;l Cabrera &lt;saulecabrera@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>a0442ea0 - Enforce `uninlined_format_args` for the workspace (#9065)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/test-macros/src/lib.rs#a0442ea0</link>
        <description>Enforce `uninlined_format_args` for the workspace (#9065)* Enforce `uninlined_format_args` for the workspace* fix: failing `Monolith Checks` job* fix: formatting

            List of files:
            /wasmtime-44.0.1/crates/test-macros/src/lib.rs</description>
        <pubDate>Mon, 05 Aug 2024 09:59:59 +0000</pubDate>
        <dc:creator>Hamir Mahal &lt;hamirmahal@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>37af9e42 - Fix a typo in the `wasmtime_test` macro (#8801)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/test-macros/src/lib.rs#37af9e42</link>
        <description>Fix a typo in the `wasmtime_test` macro (#8801)Follow-up to: https://github.com/bytecodealliance/wasmtime/pull/8789;fixes the validation error message.

            List of files:
            /wasmtime-44.0.1/crates/test-macros/src/lib.rs</description>
        <pubDate>Thu, 13 Jun 2024 22:39:23 +0000</pubDate>
        <dc:creator>Sa&#250;l Cabrera &lt;saulecabrera@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>04416e46 - Initial migration to `wasmtime_test` (#8789)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/test-macros/src/lib.rs#04416e46</link>
        <description>Initial migration to `wasmtime_test` (#8789)* Initial migration to `wasmtime_test`This commit introduces the initial migration to the `wasmtime_test`macro.This change starts by migrating all the applicable `func.rs` integrationtests and at the same time it removes all the duplicated integrationtests in `winch.rs`.Additionally, this change introduces a slight change to how the macroworks. Inspired by https://github.com/bytecodealliance/wasmtime/pull/8622#pullrequestreview-2083046911it defaults to including all the known configuration combinations andallows the macro user to opt-out where applicable. This makes the usageof the macro less verbose.The intention is to follow-up with subsequent PRs to migrate the all theapplicable tests.* Remove unused `bail` import* Add the ability to specify `wasm_features`This commit adds the ability to specify `wasm_features` when invokingthe macro.If the feature is off by default, the macro will ensure that the featureis enabled in the resulting config.If the feature is not supported by any of the compiler strategies, notests will be generated for such strategy.

            List of files:
            /wasmtime-44.0.1/crates/test-macros/src/lib.rs</description>
        <pubDate>Thu, 13 Jun 2024 20:56:50 +0000</pubDate>
        <dc:creator>Sa&#250;l Cabrera &lt;saulecabrera@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>f0845e55 - wasmtime: Introduce the `test-macros` crate (#8622)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/test-macros/src/lib.rs#f0845e55</link>
        <description>wasmtime: Introduce the `test-macros` crate (#8622)* wasmtime: Introduce the `test-macros` crateThis commit introduces the `test-macros` crate. The whole idea behind this crate is to export a single or multiple macros to make it easier to configure Wasmtime for integration tests. The main use-case at this time, is running a subset of the integration tests with Cranelift and Winch. This crate could be extended to serve other use-cases, like testing pooling allocator and/or GC configurations.  This commit introduces a single example of how this macro could be used. If there&apos;s agreement on merging this change in some shape or form, I&apos;ll follow up with migrating the current tests to use `#[wasmtime_test]` where applicable. Part of what&apos;s implemented in this PR was discussed in Cranelift&apos;s meeting on [April 24th, 2024](https://github.com/bytecodealliance/meetings/blob/main/cranelift/2024/cranelift-04-24.md), however there are several discussion points that are still &quot;in the air&quot;, like for example, what&apos;s the best way to avoid the combinatorial explosion problem for the potential test matrix.* Add crate license* Clippy fixes* Remove test-macros from members* Clean up test-macros Cargo.toml- Fix version- Add `[lints]`- Add publish key* Add `TestConfig` and simpify parsingThis commit adds a `TestConfig` struct that holds the supported Wasmtimetest configuration. Additonally this commit introduces a partialfunction parser, in which only the attributes, visibility, and signatureare fully parsed, leaving the function body as an opaque `TokenStream`

            List of files:
            /wasmtime-44.0.1/crates/test-macros/src/lib.rs</description>
        <pubDate>Tue, 28 May 2024 14:42:52 +0000</pubDate>
        <dc:creator>Sa&#250;l Cabrera &lt;saulecabrera@gmail.com&gt;</dc:creator>
    </item>
</channel>
</rss>
