<?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 component.rs</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>1b59b579 - Add support for map type (#12216)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/c-api/src/component/component.rs#1b59b579</link>
        <description>Add support for map type (#12216)* Add support for map typeSigned-off-by: Yordis Prieto &lt;yordis.prieto@gmail.com&gt;* Add Map and MapEntry classes to support key/value pairs in component modelThis commit introduces the Map and MapEntry classes, enabling the representation of map values in the component model. The Map class allows for the creation and iteration of key/value pairs, enhancing the functionality of the wasmtime component API. Additionally, the .gitignore file is updated to exclude build artifacts from the crates/c-api directory.* Add wasm_component_model_map configuration support* Format code* Format C code* Enhance component model to support HashMap&lt;K, V&gt; typeThis commit introduces support for HashMap&lt;K, V&gt; in the component model, allowing maps to be represented as list&lt;tuple&lt;K, V&gt;&gt; in the canonical ABI. It includes implementations for the ComponentType, Lower, and Lift traits for HashMap, enabling type checking, lowering to flat representations, and lifting from memory. Additionally, the maximum depth for type generation in the fuzzing utility is updated to accommodate the new map type.* Refactor component configuration to introduce map supportThis commit removes the previous wasm features configuration and adds new functions for creating a map-configured engine. The `map_config` and `map_engine` functions are introduced to facilitate the use of the component model with maps in tests, ensuring that the engine is properly configured for map types in the component model.* Add new WAST test for map types and remove map type definitions from existing testsThis commit introduces a new WAST test file specifically for testing various map types in the component model. Additionally, it removes the redundant map type definitions from the existing types.wast file to streamline the test suite.* Update component fuzzing and dynamic tests to replace call_and_post_return with call* Format code* Refactor HashMap usage in typed.rs to use wasmtime_environ collections* Fix HashMap initialization and insertion to handle potential errors in typed.rs* Refactor HashMap handling in typed.rs to use lower_map_iter for improved iteration and memory management. Introduce new implementations for ComponentType, Lower, and Lift traits for std::collections::HashMap, enhancing support for map types in the component model.* Fix map adapter trampoline compilation and alignment bugsThe translate_map function had two categories of bugs preventing mapadapter trampolines from working:1. Wasm stack discipline: local_set_new_tmp emits LocalSet which pops   from the stack, but was called when the stack was empty (to   &quot;pre-allocate&quot; locals). Fixed by computing values first, then   calling local_set_new_tmp to consume them&#8212;matching translate_list&apos;s   pattern. Also removed an erroneous LocalTee that left an orphan   value on the stack. Affected: src_byte_len, dst_byte_len,   cur_src_ptr, cur_dst_ptr.2. Pointer advancement: after value translation, the pointer still   points at the value start. The code only advanced by trailing   padding instead of value_size + trailing_padding, causing every   loop iteration to re-read the same memory.Also fixes entry layout to use proper record alignment rules (entryalign = max(key_align, value_align), value at aligned offset).* Refactor map entry layout calculations to use canonical ABI* Remove unnecessary clone of map pairs during loweringVal::Map already holds Vec&lt;(Val, Val)&gt; which derefs to &amp;[(Val, Val)],matching lower_map&apos;s signature directly. The intermediate Vec allocationand deep clone of every key/value pair was redundant.* Deduplicate map lift logic between HashMap implementations* Deduplicate list and map sequence translation scaffolding* Fix cargo fmt formatting issues* Deduplicate map typecheck logic* Deduplicate map lowering with linear_lower_map_to_flat and linear_lower_map_to_memory helpers* Clean up lift_try_map: use drop, move TryHashMap import to module scope* Fix CI: arbtest overflow and no-std HashMap lift_map- component_fuzz: use saturating_sub in generate_hashable_key to prevent  underflow when fuel is 0 and Enum variant is chosen- typed: remove incorrect ? operators in lift_map for hashbrown::HashMap  (with_capacity and insert don&apos;t return Result)* Store map tuple layout in TypeMapCompute map entry ABI and value offsets once during type building, and reuse that metadata in runtime map lift/lower paths instead of recalculating tuple layout at each call site.* Refactor map ABI argument passingBundle map lift/lower layout and type metadata into a small MapAbi32 helper so map helper calls stay concise without changing behavior.* Fix CI: enable component_model_map in fuzzing and handle map in arbitrary_valThe fuzzer&apos;s component_api oracle was generating map types but the enginedidn&apos;t have the map feature enabled, and arbitrary_val had no arm forType::Map. Enable component_model_map in the store helper (matching howcomponent_model_async is forced on) and implement arbitrary value generationfor map types.---------Signed-off-by: Yordis Prieto &lt;yordis.prieto@gmail.com&gt;

            List of files:
            /wasmtime-44.0.1/crates/c-api/src/component/component.rs</description>
        <pubDate>Mon, 09 Mar 2026 23:34:21 +0000</pubDate>
        <dc:creator>Yordis Prieto &lt;yordis.prieto@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>dc029724 - Migrate C API to `wasmtime::error` (#12259)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/c-api/src/component/component.rs#dc029724</link>
        <description>Migrate C API to `wasmtime::error` (#12259)

            List of files:
            /wasmtime-44.0.1/crates/c-api/src/component/component.rs</description>
        <pubDate>Wed, 07 Jan 2026 21:26:03 +0000</pubDate>
        <dc:creator>Nick Fitzgerald &lt;fitzgen@gmail.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/component.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/component.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>579ec46b - capi: Start filling out C++ API for components (#11880)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/c-api/src/component/component.rs#579ec46b</link>
        <description>capi: Start filling out C++ API for components (#11880)* capi: Start filling out C++ API for componentsI&apos;d like to write some fancier tests soon for this, but I&apos;m not a fan ofwriting C, so this commit starts to fill out the C++ API for componentsby adding a few wrapper classes. Like the rest of the C++ API this isall built as a wrapper around the C API.This commit introduces a `Component` type and an `ExportIndex` type togo along with it. This binds the `component.h` header file in C++. Thisalso starts a convention of `capi` methods to access the underlyingpointer/value as a conventional way to mix the C/C++ APIs which willallow gradually migrating tests to C++.* Fix clippy lint

            List of files:
            /wasmtime-44.0.1/crates/c-api/src/component/component.rs</description>
        <pubDate>Mon, 20 Oct 2025 16:47:31 +0000</pubDate>
        <dc:creator>Alex Crichton &lt;alex@alexcrichton.com&gt;</dc:creator>
    </item>
<item>
        <title>90ac295e - Update Wasmtime to the 2024 Rust Edition (#10806)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/c-api/src/component/component.rs#90ac295e</link>
        <description>Update Wasmtime to the 2024 Rust Edition (#10806)* Update Wasmtime to the 2024 Rust EditionNow that our MSRV supports the 2024 edition it&apos;s possible to make thisswitch. This commit moves Wasmtime to the 2024 Edition to keepup-to-date with Rust idioms and access many of the edition featuresexclusive to the 2024 edition.prtest:full* Reformat with the 2024 edition

            List of files:
            /wasmtime-44.0.1/crates/c-api/src/component/component.rs</description>
        <pubDate>Mon, 19 May 2025 16:40:55 +0000</pubDate>
        <dc:creator>Alex Crichton &lt;alex@alexcrichton.com&gt;</dc:creator>
    </item>
<item>
        <title>ce3c1a72 - c-api: component-model: Lookup function from an instance (#10675)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/c-api/src/component/component.rs#ce3c1a72</link>
        <description>c-api: component-model: Lookup function from an instance (#10675)* c-api: component-model: Lookup function from an instance* c-api: component-model: Take strings as `wasm_name_t`* Use export indices* Shared `CHECK_ERR` macro* Pass names as a pointer and a size, return nullable pointers* Use `std::str::from_utf8()` instead of `str::from_utf8()`* Remove doc link?

            List of files:
            /wasmtime-44.0.1/crates/c-api/src/component/component.rs</description>
        <pubDate>Mon, 28 Apr 2025 19:23:36 +0000</pubDate>
        <dc:creator>MangoPeachGrape &lt;191630121+MangoPeachGrape@users.noreply.github.com&gt;</dc:creator>
    </item>
<item>
        <title>d460709e - Move C++ `Config` to its own header (#10634)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/c-api/src/component/component.rs#d460709e</link>
        <description>Move C++ `Config` to its own header (#10634)Also bind APIs which were added since this was created. Also copy oversome `#define` guards for the C methods into the C++ header as well. Andfinally update tests for what&apos;s added.

            List of files:
            /wasmtime-44.0.1/crates/c-api/src/component/component.rs</description>
        <pubDate>Tue, 22 Apr 2025 16:23:01 +0000</pubDate>
        <dc:creator>Alex Crichton &lt;alex@alexcrichton.com&gt;</dc:creator>
    </item>
<item>
        <title>930d3543 - c-api: Create and instantiate a component model linker (#10598)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/c-api/src/component/component.rs#930d3543</link>
        <description>c-api: Create and instantiate a component model linker (#10598)* c-api: Create and instantiate a component model linkerCo-authored-by: Tyler Rockwood &lt;rockwood@redpanda.com&gt;Co-authored-by: Jean-Jacques Lafay &lt;jean-jacques@secretarium.org&gt;* c-api: Accept `wat` in `wasmtime_component_new()`* Add a test* c-api: Include `wasmtime/conf.h` in `component/component.h`* Add `wasmtime/conf.h` include to `instance.h` and `linker.h`* Make wasmtime_component_instance_t non-opaque* Defer `wasmtime_component_linker_instance()`---------Co-authored-by: Tyler Rockwood &lt;rockwood@redpanda.com&gt;Co-authored-by: Jean-Jacques Lafay &lt;jean-jacques@secretarium.org&gt;

            List of files:
            /wasmtime-44.0.1/crates/c-api/src/component/component.rs</description>
        <pubDate>Fri, 18 Apr 2025 14:31:51 +0000</pubDate>
        <dc:creator>MangoPeachGrape &lt;191630121+MangoPeachGrape@users.noreply.github.com&gt;</dc:creator>
    </item>
<item>
        <title>6ba6e13b - c-api: Compile a component (#10566)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/c-api/src/component/component.rs#6ba6e13b</link>
        <description>c-api: Compile a component (#10566)* c-api: Compile a componentCo-authored-by: Tyler Rockwood &lt;rockwood@redpanda.com&gt;Co-authored-by: Jean-Jacques Lafay &lt;jean-jacques@secretarium.org&gt;* Add documentation to config---------Co-authored-by: Tyler Rockwood &lt;rockwood@redpanda.com&gt;Co-authored-by: Jean-Jacques Lafay &lt;jean-jacques@secretarium.org&gt;

            List of files:
            /wasmtime-44.0.1/crates/c-api/src/component/component.rs</description>
        <pubDate>Mon, 14 Apr 2025 16:21:41 +0000</pubDate>
        <dc:creator>MangoPeachGrape &lt;191630121+MangoPeachGrape@users.noreply.github.com&gt;</dc:creator>
    </item>
</channel>
</rss>
