<?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 func.rs</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>c09aa380 - deprecate `[Typed]Func::post_return[_async]` and make them no-ops (#12498)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/c-api/src/component/func.rs#c09aa380</link>
        <description>deprecate `[Typed]Func::post_return[_async]` and make them no-ops (#12498)* deprecate `[Typed]Func::post_return[_async]` and make them no-opsWith the advent of the Component Model concurrency ABI and it&apos;s `task.return`intrinsic, post-return functions have been informally deprecated and areexpected to be removed for WASI 1.0 and the corresponding stable edition of theComponent Model.  Consequently, it does not make sense anymore to requireembedders to explicitly call the post-return function after using`[Typed]Func::call[_async]`.As of this commit, `[Typed]Func::post_return[_async]` are no-ops.  Instead, thepost-return function is called automatically as part of`[Typed]Func::call[_async]` if present, which is how`[Typed]Func::call_concurrent` has worked all along.  In addition, this commitfixes and tests a couple of cases where the task and/or thread was beingdisposed of before the post-return function was called.* address review feedback* test post-return function in more scenariosSpecifically, I&apos;ve split the `invoke_post_return` test into multiple tests:- using `TypedFunc::call`- using `TypedFunc::call_async` with concurrency support enabled- using `TypedFunc::call_async` with concurrency support disabled- using `Func::call_async` with concurrency support disabled- using `TypedFunc::call_concurrent`* remove GCC/clang-specific deprecation attributeThis broke the MSVC build.* bless bindgen output* remove obsolete post-return functions and fieldsNow that post-return calls are handled internally without requiring explicitaction by the embedder, we can avoid unnecessary bookkeeping.

            List of files:
            /wasmtime-44.0.1/crates/c-api/src/component/func.rs</description>
        <pubDate>Tue, 03 Feb 2026 19:13:45 +0000</pubDate>
        <dc:creator>Joel Dice &lt;joel.dice@fermyon.com&gt;</dc:creator>
    </item>
<item>
        <title>39ec36ca - Fill out type information for components in C API  (#11937)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/c-api/src/component/func.rs#39ec36ca</link>
        <description>Fill out type information for components in C API  (#11937)* Fill out type information for components in C APII&apos;ve concluded that I&apos;ll want this for wasmtime-py so this fills outtype reflection for various items in the C API. This then additionallyextends the C++ API as well.prtest:full* Update crates/c-api/include/wasmtime/component/types/func.hCo-authored-by: Joel Dice &lt;joel.dice@fermyon.com&gt;---------Co-authored-by: Joel Dice &lt;joel.dice@fermyon.com&gt;

            List of files:
            /wasmtime-44.0.1/crates/c-api/src/component/func.rs</description>
        <pubDate>Wed, 05 Nov 2025 18:56:02 +0000</pubDate>
        <dc:creator>Alex Crichton &lt;alex@alexcrichton.com&gt;</dc:creator>
    </item>
<item>
        <title>dbc21cde - Support resources in the C API of Wasmtime (#11920)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/c-api/src/component/func.rs#dbc21cde</link>
        <description>Support resources in the C API of Wasmtime (#11920)This commit builds on #11885 to build out support for resources incomponents in the C API of Wasmtime. Support is effectively the same asin Rust except more things are behind pointers and `ResourceDynamic` isused under the hood instead of `Resource&lt;T&gt;` due to the lack ofmonomorphization. Tests have been updated to go through some varioussituations of ensuring that guest and host resources are representableand can be manipulated.

            List of files:
            /wasmtime-44.0.1/crates/c-api/src/component/func.rs</description>
        <pubDate>Wed, 22 Oct 2025 23:40:44 +0000</pubDate>
        <dc:creator>Alex Crichton &lt;alex@alexcrichton.com&gt;</dc:creator>
    </item>
<item>
        <title>53701b21 - c-api: component-model: Function post return, more values (#10841)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/c-api/src/component/func.rs#53701b21</link>
        <description>c-api: component-model: Function post return, more values (#10841)* c-api: component-model: `wasmtime_component_post_return()`* c-api: component-model: Tuple values* c-api: component-model: Variant valuesThis required `wasmtime_component_val_new()`

            List of files:
            /wasmtime-44.0.1/crates/c-api/src/component/func.rs</description>
        <pubDate>Tue, 27 May 2025 21:16:06 +0000</pubDate>
        <dc:creator>MangoPeachGrape &lt;191630121+MangoPeachGrape@users.noreply.github.com&gt;</dc:creator>
    </item>
<item>
        <title>b2c64de1 - c-api: component-model: Values and function calling (#10697)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/c-api/src/component/func.rs#b2c64de1</link>
        <description>c-api: component-model: Values and function calling (#10697)* c-api: component-model: Primitive values* c-api: component-model: Function calling* A test* Take args as mut to avoid copying* String and char* Rethink value ownership semantics, add list values* Record values* Make take Rust values as refs in `::from()` functionsLater we can provide implementations that take it as a value to avoidcopying* Define host functions* `wasmtime_component_valrecord_new()`* Use `u32` instead of `char` as its not ffi safe* Test records and strings in c-api -&gt; vm -&gt; host func -&gt; vm -&gt; c-api* `wasmtime_component_vallist_new()`* Test lists* Fix formatting* Use existing `declare_vecs` construct* Add rest of helper functions* Add documentation* Fix multiline comments* Third time&apos;s the charm* Fourth time&apos;s the charm prtest:full* Doxygen file headers* Fix other missing documentation* Small fix to docs

            List of files:
            /wasmtime-44.0.1/crates/c-api/src/component/func.rs</description>
        <pubDate>Fri, 23 May 2025 14:05:50 +0000</pubDate>
        <dc:creator>MangoPeachGrape &lt;191630121+MangoPeachGrape@users.noreply.github.com&gt;</dc:creator>
    </item>
</channel>
</rss>
