<?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 serialize.c</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>adff9d9d - Fix externref/anyref ownership in C/C++ API (#11799)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/examples/serialize.c#adff9d9d</link>
        <description>Fix externref/anyref ownership in C/C++ API (#11799)* Fix externref/anyref ownership in C/C++ APIThis commit is a follow-up to #11514 which was discovered throughfailing tests in the wasmtime-py repository when updating to Wasmtime37.0.0. Effectively a combination of bugs in the Rust API meant that itwasn&apos;t possible to use `externref` or `anyref` bindings correctly. TheRust changes in this commit are:* `wasmtime_val_unroot` correctly drops the value now as opposed to  effectively being a noop from before (typo of using `as_externref` vs  `from_externref`).* `wasmtime_{anyref,externref,val}_t` now have a `Drop` implementation  in Rust to correctly drop them if a value in Rust is dropped. This is  required to correctly manage memory in the `wasmtime_func_{call,new}`  implementations, for example.* `wasmtime_{anyref,externref,val}_clone` no longer have an unnecessary  context parameter.* `wasmtime_{anyref,externref,val}_unroot` no longer have an unnecessary  context parameter.Changes in the C/C++ APIs are:* `Result::{ok,err}_ref` APIs were added in addition to the preexisting  rvalue accessors.* Loading/storing typed arguments now has an overload for `const T&amp;` and  `T&amp;&amp;` which behaves differently. Notably transferring ownership for  `T&amp;&amp;` and not for `const T&amp;`. This means that passing parameters when  calling a wasm function uses `const T&amp;`, but passing results from a  host import uses `T&amp;&amp;`.* `TypedFunc::call` now uses `const Params&amp;` instead of `Params` to  explicitly specify it doesn&apos;t modify the parameters and forces using  the `const T&amp;` store method.* `Store::gc` is now a convenience method for `store.context().gc()`* `ExternRef`, `AnyRef`, and `Val` now have ownership semantics and  destructors. This matches the spirit of #11514 for Rust but models it  in C++ as well. This required filling out move/copy  constructors/assignments.* The explicit `ExternRef` now takes `std::any` instead of `T`.* Minor issues related to ownership are fixed in `Val` bindings.Valgrind was used to ensure that there were no leaks for the test suitewhich additionally resulted in a number of `*_delete` calls being addedto tests using the C API (accidental omissions).The original goal of this change was to be a patch release for 37.0.1 toenable updating wasmtime-py to the 37.0.x releases of Wasmtime. In theend though the changes here were broad enough that I no longer feel thatthis is a good idea, so wasmtime-py will be skipping the 37 version ofWasmtime.* Run `clang-format`prtest:full

            List of files:
            /wasmtime-44.0.1/examples/serialize.c</description>
        <pubDate>Tue, 07 Oct 2025 16:36:13 +0000</pubDate>
        <dc:creator>Alex Crichton &lt;alex@alexcrichton.com&gt;</dc:creator>
    </item>
<item>
        <title>57ba95e9 - Fixed bugs in the C thread example program and updated some comments for build command. (#11155)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/examples/serialize.c#57ba95e9</link>
        <description>Fixed bugs in the C thread example program and updated some comments for build command. (#11155)* Remove the cargo command for examples/*.c and fix thread example code.* Add _GNU_SOURCE.

            List of files:
            /wasmtime-44.0.1/examples/serialize.c</description>
        <pubDate>Mon, 30 Jun 2025 17:37:35 +0000</pubDate>
        <dc:creator>Masashi Yoshimura &lt;yoshimura.masashi.frbs@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>8f03b22e - Remove wasm-c-api submodule (#8170)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/examples/serialize.c#8f03b22e</link>
        <description>Remove wasm-c-api submodule (#8170)* Remove wasm-c-api submoduleThis submodule hasn&apos;t been updated in ~3 years at this point and weadditionally don&apos;t need most of the submodule. Instead add a script tocopy the files we need and verify in CI that the files are up-to-date.This also makes using the C API a bit nicer where you don&apos;t have to havetwo `include` directories with a Wasmtime source tree, just onesuffices.* Don&apos;t format wasm.h{,h} vendored files

            List of files:
            /wasmtime-44.0.1/examples/serialize.c</description>
        <pubDate>Mon, 18 Mar 2024 18:58:11 +0000</pubDate>
        <dc:creator>Alex Crichton &lt;alex@alexcrichton.com&gt;</dc:creator>
    </item>
<item>
        <title>93580f24 - examples: Don&apos;t `fread()` within `assert(...)`. (#7803)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/examples/serialize.c#93580f24</link>
        <description>examples: Don&apos;t `fread()` within `assert(...)`. (#7803)This is fine in debug builds but release builds without assertionsresults in the file data not being read.

            List of files:
            /wasmtime-44.0.1/examples/serialize.c</description>
        <pubDate>Mon, 22 Jan 2024 17:10:14 +0000</pubDate>
        <dc:creator>Bruce Mitchener &lt;bruce.mitchener@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>f8fee938 - add clang format (#7601)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/examples/serialize.c#f8fee938</link>
        <description>add clang format (#7601)* add clang-formatWe chose WebKit style because out of all the builtin styles it seems theclosest to what already exists in wasmtime.Signed-off-by: Tyler Rockwood &lt;rockwood@redpanda.com&gt;* c-api: don&apos;t reorder headersThe order here mattersSigned-off-by: Tyler Rockwood &lt;rockwood@redpanda.com&gt;* c-api: apply clang-formatSigned-off-by: Tyler Rockwood &lt;rockwood@redpanda.com&gt;* fiber: apply clang-formatSigned-off-by: Tyler Rockwood &lt;rockwood@redpanda.com&gt;* runtime: apply clang-formatSigned-off-by: Tyler Rockwood &lt;rockwood@redpanda.com&gt;* examples: apply clang formatSigned-off-by: Tyler Rockwood &lt;rockwood@redpanda.com&gt;* tests: apply clang-formatSigned-off-by: Tyler Rockwood &lt;rockwood@redpanda.com&gt;* ci: add clang-format checksSigned-off-by: Tyler Rockwood &lt;rockwood@redpanda.com&gt;* clang-format: keep braces on the same lineThis is more the existing styleSigned-off-by: Tyler Rockwood &lt;rockwood@redpanda.com&gt;* remove clang-formatJust use the tool defaults (LLVM)Signed-off-by: Tyler Rockwood &lt;rockwood@redpanda.com&gt;* Fix ci nameSigned-off-by: Tyler Rockwood &lt;rockwood@redpanda.com&gt;* manually reformat a couple of commentsprtest:fullSigned-off-by: Tyler Rockwood &lt;rockwood@redpanda.com&gt;* disable formatting for doc-wasm.hSigned-off-by: Tyler Rockwood &lt;rockwood@redpanda.com&gt;* manually reformat wasmtime.hSigned-off-by: Tyler Rockwood &lt;rockwood@redpanda.com&gt;* disable formattingTo prevent a link from being brokenSigned-off-by: Tyler Rockwood &lt;rockwood@redpanda.com&gt;* examples: fixing build commandsSigned-off-by: Tyler Rockwood &lt;rockwood@redpanda.com&gt;* fix parameter commentSigned-off-by: Tyler Rockwood &lt;rockwood@redpanda.com&gt;---------Signed-off-by: Tyler Rockwood &lt;rockwood@redpanda.com&gt;

            List of files:
            /wasmtime-44.0.1/examples/serialize.c</description>
        <pubDate>Wed, 29 Nov 2023 18:39:04 +0000</pubDate>
        <dc:creator>Tyler Rockwood &lt;rockwotj@users.noreply.github.com&gt;</dc:creator>
    </item>
<item>
        <title>2ba3025e - Add cmake compatibility to c-api (#4369)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/examples/serialize.c#2ba3025e</link>
        <description>Add cmake compatibility to c-api (#4369)* Add cmake compatibility to c-api* Add CMake documentation to wasmtime.h* Add CMake instructions in examples* Modify CI for CMake support* Use correct rust in CI* Trigger build* Refactor run-examples* Reintroduce example_to_run in run-examples* Replace run-examples crate with cmake* Fix markdown formatting in examples readme* Fix cmake test quotes* Build rust wasm before cmake tests* Pass CTEST_OUTPUT_ON_FAILURE* Another cmake test* Handle os differences in cmake test* Fix bugs in memory and multimemory examples

            List of files:
            /wasmtime-44.0.1/examples/serialize.c</description>
        <pubDate>Fri, 22 Jul 2022 17:22:36 +0000</pubDate>
        <dc:creator>TheGreatRambler &lt;31906920+TheGreatRambler@users.noreply.github.com&gt;</dc:creator>
    </item>
<item>
        <title>7a1b7cdf - Implement RFC 11: Redesigning Wasmtime&apos;s APIs (#2897)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/examples/serialize.c#7a1b7cdf</link>
        <description>Implement RFC 11: Redesigning Wasmtime&apos;s APIs (#2897)Implement Wasmtime&apos;s new API as designed by RFC 11. This is quite a large commit which has had lots of discussion externally, so for more information it&apos;s best to read the RFC thread and the PR thread.

            List of files:
            /wasmtime-44.0.1/examples/serialize.c</description>
        <pubDate>Thu, 03 Jun 2021 14:10:53 +0000</pubDate>
        <dc:creator>Alex Crichton &lt;alex@alexcrichton.com&gt;</dc:creator>
    </item>
<item>
        <title>f94db655 - Update WebAssembly C API submodule to latest commit. (#2579)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/examples/serialize.c#f94db655</link>
        <description>Update WebAssembly C API submodule to latest commit. (#2579)* Update WebAssembly C API submodule to latest commit.This commit updates the WebAssembly C API submodule (for `wasm.h`) to thelatest commit out of master.This fixes the behavior of `wasm_name_new_from_string` such that it no longercopies the null character into the name, which caused unexpected failures whenusing the Wasmtime linker as imports wouldn&apos;t resolve when the null waspresent.Along with this change were breaking changes to `wasm_func_call`, the hostcallback signatures, and `wasm_instance_new` to take a vector type instead of apointer to an unsized array.As a result, Wasmtime language bindings based on the C API will need to beupdated once this change is pulled in.Fixes #2211.Fixes #2131.* Update Doxygen comments for wasm.h changes.

            List of files:
            /wasmtime-44.0.1/examples/serialize.c</description>
        <pubDate>Thu, 14 Jan 2021 15:36:12 +0000</pubDate>
        <dc:creator>Peter Huene &lt;peter@huene.dev&gt;</dc:creator>
    </item>
<item>
        <title>eb650f6f - filesystem example (#2236)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/examples/serialize.c#eb650f6f</link>
        <description>filesystem example (#2236)

            List of files:
            /wasmtime-44.0.1/examples/serialize.c</description>
        <pubDate>Tue, 29 Sep 2020 18:20:14 +0000</pubDate>
        <dc:creator>Joshua Warner &lt;joshuawarner32@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>399ee0a5 - Serialize and deserialize compilation artifacts. (#2020)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/examples/serialize.c#399ee0a5</link>
        <description>Serialize and deserialize compilation artifacts. (#2020)* Serialize and deserialize Module* Use bincode to serialize* Add wasm_module_serialize; docs* Simple tests

            List of files:
            /wasmtime-44.0.1/examples/serialize.c</description>
        <pubDate>Tue, 21 Jul 2020 20:05:50 +0000</pubDate>
        <dc:creator>Yury Delendik &lt;ydelendik@mozilla.com&gt;</dc:creator>
    </item>
</channel>
</rss>
