<?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 types.rs</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>439de7fb - Handle OOM in the rest of Wasmtime&apos;s non-component, -async, -compilation APIs (#12858)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/wasmtime/src/runtime/types.rs#439de7fb</link>
        <description>Handle OOM in the rest of Wasmtime&apos;s non-component, -async, -compilation APIs (#12858)* Handle OOM in more places in the public APIA bunch of random places:* Add: `Trap::try_new` to handle OOM while creating traps* Use: `TryVec` inside `Func::call_impl_do_call` and `wasm_val_raw_storage` to  hold the args and rets* Add: `Instance::try_exports` for iterating over an instance&apos;s exports while  handling OOM* `Linker:try_get`, like `Linker::get` but handling OOM* `Linker:try_get_by_import`, like `Linker::get_by_import` but handling OOM* Use `try_new` to box things in `SharedMemory::new`* Use `TryVec` instead of `Vec` in our dynamic tables* Add OOM tests for most of Wasmtime&apos;s public APIExcludes component-, async-, and compilation-related APIs.* address review feedback* fix test compilation* fix c-api

            List of files:
            /wasmtime-44.0.1/crates/wasmtime/src/runtime/types.rs</description>
        <pubDate>Mon, 30 Mar 2026 18:35:31 +0000</pubDate>
        <dc:creator>Nick Fitzgerald &lt;fitzgen@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>183891f0 - Rename our OOM-handling `Vec` to `TryVec` (#12721)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/wasmtime/src/runtime/types.rs#183891f0</link>
        <description>Rename our OOM-handling `Vec` to `TryVec` (#12721)* Rename our OOM-handling `Vec` to `TryVec`* fix tests that got mangled by the LSP server* fix more tests mangled by LSP

            List of files:
            /wasmtime-44.0.1/crates/wasmtime/src/runtime/types.rs</description>
        <pubDate>Thu, 05 Mar 2026 00:03:12 +0000</pubDate>
        <dc:creator>Nick Fitzgerald &lt;fitzgen@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>9872fefb - Use `TryClone::clone_panic_on_oom` where it makes sense (#12681)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/wasmtime/src/runtime/types.rs#9872fefb</link>
        <description>Use `TryClone::clone_panic_on_oom` where it makes sense (#12681)

            List of files:
            /wasmtime-44.0.1/crates/wasmtime/src/runtime/types.rs</description>
        <pubDate>Thu, 26 Feb 2026 22:18:27 +0000</pubDate>
        <dc:creator>Nick Fitzgerald &lt;fitzgen@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>2b771588 - Add `TryClone` and `TryToOwned` to our prelude (#12676)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/wasmtime/src/runtime/types.rs#2b771588</link>
        <description>Add `TryClone` and `TryToOwned` to our prelude (#12676)* Add `TryClone` and `TryToOwned` to our preludeThe non-`Try` versions are both in `std`&apos;s prelude, so it makes sense to addthem to our prelude.* fix warning

            List of files:
            /wasmtime-44.0.1/crates/wasmtime/src/runtime/types.rs</description>
        <pubDate>Thu, 26 Feb 2026 00:01:30 +0000</pubDate>
        <dc:creator>Nick Fitzgerald &lt;fitzgen@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>25e3bd12 - Handle OOM in `wasmtime_environ::types::WasmFuncType` (#12670)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/wasmtime/src/runtime/types.rs#25e3bd12</link>
        <description>Handle OOM in `wasmtime_environ::types::WasmFuncType` (#12670)* Handle OOM in `wasmtime_environ::types::WasmFuncType`It should also not `#[derive(Clone)]` anymore, just `TryClone`, whichpropagates out to a bunch of other types as well.And while we are here:* Rename its &quot;returns&quot; to &quot;results&quot; to match Wasmtime&apos;s public API and also the  Wasm text format.* Store both its params and results in a single allocation.* Shrink its size on 64-bit architectures by storing its param- and  result-GC-type counts as `u32`s rather than `usize`s.* fix clippy* fix winch unit tests

            List of files:
            /wasmtime-44.0.1/crates/wasmtime/src/runtime/types.rs</description>
        <pubDate>Wed, 25 Feb 2026 22:00:12 +0000</pubDate>
        <dc:creator>Nick Fitzgerald &lt;fitzgen@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>b236888c - Add `wasmtime::FuncType::try_new`, which propagates allocation failure (#12530)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/wasmtime/src/runtime/types.rs#b236888c</link>
        <description>Add `wasmtime::FuncType::try_new`, which propagates allocation failure (#12530)Part of https://github.com/bytecodealliance/wasmtime/issues/12069

            List of files:
            /wasmtime-44.0.1/crates/wasmtime/src/runtime/types.rs</description>
        <pubDate>Thu, 05 Feb 2026 16:34:00 +0000</pubDate>
        <dc:creator>Nick Fitzgerald &lt;fitzgen@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>9e3b5ee5 - Refactor the `TypeRegistry` to partially handle OOM (#12500)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/wasmtime/src/runtime/types.rs#9e3b5ee5</link>
        <description>Refactor the `TypeRegistry` to partially handle OOM (#12500)* Refactor the `TypeRegistry` to partially handle OOMThis refactors the type registry to be more &quot;columnar&quot; when registering thetypes within a rec group, so that we* Add all the types themselves* Add the rec group metadata for all types in the rec group* Add the supertypes metadata for all types in the rec group* Etc...Instead of adding one type, its rec group metadata, its supertypes metadata,etc... and then moving on to the next type.This makes it easier to pre-reserve space and roll back changes on OOM errors.This is part of https://github.com/bytecodealliance/wasmtime/issues/12069 andthe OOM handling effort, but doesn&apos;t fully get the `TypeRegistry` to a placewhere it handles all OOMs yet. There are a couple places that need furtherwork (usage of hash sets and `Cow::into_owned`) which I have marked with `TODO`comments. In the meantime, I found this to be a nice refactoring of the existingfunctionality, so I think it can land as-is.* review feedback

            List of files:
            /wasmtime-44.0.1/crates/wasmtime/src/runtime/types.rs</description>
        <pubDate>Tue, 03 Feb 2026 18:00:18 +0000</pubDate>
        <dc:creator>Nick Fitzgerald &lt;fitzgen@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>f947672a - Fix HeadType::matches fallthrough for NoExn (#12350)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/wasmtime/src/runtime/types.rs#f947672a</link>
        <description>Fix HeadType::matches fallthrough for NoExn (#12350)

            List of files:
            /wasmtime-44.0.1/crates/wasmtime/src/runtime/types.rs</description>
        <pubDate>Wed, 14 Jan 2026 18:45:50 +0000</pubDate>
        <dc:creator>Zijie Zhao &lt;zijie4@illinois.edu&gt;</dc:creator>
    </item>
<item>
        <title>ff33e949 - Do not re-export `anyhow!` in the `wasmtime::prelude` (#12298)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/wasmtime/src/runtime/types.rs#ff33e949</link>
        <description>Do not re-export `anyhow!` in the `wasmtime::prelude` (#12298)We are trying to move to `format_err!` instead.

            List of files:
            /wasmtime-44.0.1/crates/wasmtime/src/runtime/types.rs</description>
        <pubDate>Fri, 09 Jan 2026 19:23:56 +0000</pubDate>
        <dc:creator>Nick Fitzgerald &lt;fitzgen@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>874da677 - Fix `MemoryType::default_value` with shared memories (#12029)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/wasmtime/src/runtime/types.rs#874da677</link>
        <description>Fix `MemoryType::default_value` with shared memories (#12029)* Fix `MemoryType::default_value` with shared memoriesThis fixes fallout from #12022 which was detected during fuzzing whichtried creating a shared memory.* Fix tests

            List of files:
            /wasmtime-44.0.1/crates/wasmtime/src/runtime/types.rs</description>
        <pubDate>Fri, 14 Nov 2025 18:37:59 +0000</pubDate>
        <dc:creator>Alex Crichton &lt;alex@alexcrichton.com&gt;</dc:creator>
    </item>
<item>
        <title>41e71699 - Exceptions: fix panic in `is_vmgcref_type()` for `HeapType::Exn`. (#11535)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/wasmtime/src/runtime/types.rs#41e71699</link>
        <description>Exceptions: fix panic in `is_vmgcref_type()` for `HeapType::Exn`. (#11535)* Exceptions: fix panic in `is_vmgcref_type()` for `HeapType::Exn`.Fixes #11529 (for real this time).* Add test.

            List of files:
            /wasmtime-44.0.1/crates/wasmtime/src/runtime/types.rs</description>
        <pubDate>Mon, 25 Aug 2025 20:16:37 +0000</pubDate>
        <dc:creator>Chris Fallin &lt;chris@cfallin.org&gt;</dc:creator>
    </item>
<item>
        <title>b7381778 - Exceptions: support creating a default tag during fuzzing. (#11530)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/wasmtime/src/runtime/types.rs#b7381778</link>
        <description>Exceptions: support creating a default tag during fuzzing. (#11530)Fixes #11528.

            List of files:
            /wasmtime-44.0.1/crates/wasmtime/src/runtime/types.rs</description>
        <pubDate>Mon, 25 Aug 2025 20:15:29 +0000</pubDate>
        <dc:creator>Chris Fallin &lt;chris@cfallin.org&gt;</dc:creator>
    </item>
<item>
        <title>c8e6b76c - docs: fix typos (#11525)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/wasmtime/src/runtime/types.rs#c8e6b76c</link>
        <description>docs: fix typos (#11525)

            List of files:
            /wasmtime-44.0.1/crates/wasmtime/src/runtime/types.rs</description>
        <pubDate>Mon, 25 Aug 2025 19:12:34 +0000</pubDate>
        <dc:creator>Block Pirate &lt;piratehublock@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>eaa4632e - Implement exception objects. (#11230)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/wasmtime/src/runtime/types.rs#eaa4632e</link>
        <description>Implement exception objects. (#11230)* WIP: Working exception objects* Clean build with gc disabled (`cargo check -p wasmtime --no-default-features --features runtime`).* Review feedback.* Stub out C-API support.* Fix Clippy complaints.* Fix dead-code warning in c-api build.* Actually fix 27-&gt;26 reserved bit rename and test.* Fix exnref doc-test.* fix fuzzing build* fix feature-flagging on Instance::id* Bless disas test diff due to reserved-bits change.* Review feedback.

            List of files:
            /wasmtime-44.0.1/crates/wasmtime/src/runtime/types.rs</description>
        <pubDate>Tue, 15 Jul 2025 17:15:35 +0000</pubDate>
        <dc:creator>Chris Fallin &lt;chris@cfallin.org&gt;</dc:creator>
    </item>
<item>
        <title>e6112173 - docs: add doc comments to default_value helpers (#10437) (#11200)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/wasmtime/src/runtime/types.rs#e6112173</link>
        <description>docs: add doc comments to default_value helpers (#10437) (#11200)

            List of files:
            /wasmtime-44.0.1/crates/wasmtime/src/runtime/types.rs</description>
        <pubDate>Tue, 08 Jul 2025 00:47:32 +0000</pubDate>
        <dc:creator>Shashi Shankar &lt;shashishankar1687@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>58e295ee - Remove hash tables and bump chunk from the DRC collector (#11175)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/wasmtime/src/runtime/types.rs#58e295ee</link>
        <description>Remove hash tables and bump chunk from the DRC collector (#11175)* Remove hash tables and bump chunk from the DRC collectorThis removes the explicit `HashSet`s used to represent theover-approximated-stack-roots and precise-stack-roots sets and replaces themwith an intrusive, singly-linked list and a mark bit in the object headersrespectively. The new list implementation also subsumes the old bump chunk thatsat in front of the old over-approximated-stack-roots hash set.This shaves off about 25% of the time it takes to run the test case inhttps://github.com/bytecodealliance/wasmtime/issues/11141 for me locally.This also ended up being a nice simplification of the DRC collector, which inturn allowed us to further simplify the `GcHeap` trait, since we no longer everneed to GC before passing GC refs into Wasm.Fixes https://github.com/bytecodealliance/wasmtime/issues/11162* Reorder memory operations when pushing onto the over-approximated-stack-roots list* Address some more review feedback* More review feedback* Fix endianness issue with loading reserved bits* Update disas tests after endianness fix

            List of files:
            /wasmtime-44.0.1/crates/wasmtime/src/runtime/types.rs</description>
        <pubDate>Thu, 03 Jul 2025 17:21:12 +0000</pubDate>
        <dc:creator>Nick Fitzgerald &lt;fitzgen@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>c81df203 - Fix globals/tables holding their registered types (#11103)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/wasmtime/src/runtime/types.rs#c81df203</link>
        <description>Fix globals/tables holding their registered types (#11103)This commit fixes an issue where host-created tables and globals withconcrete reference types previously did not keep their associated typeregistrations alive for the duration of the table or global itself. Thiscould lead to runtime panics when reflecting on their type andadditionally lead to some type confusion about the global/table itself.As described in #11102 this is not a security issue, just a bug thatneeds fixing.Closes #11102

            List of files:
            /wasmtime-44.0.1/crates/wasmtime/src/runtime/types.rs</description>
        <pubDate>Tue, 24 Jun 2025 14:53:08 +0000</pubDate>
        <dc:creator>Alex Crichton &lt;alex@alexcrichton.com&gt;</dc:creator>
    </item>
<item>
        <title>63d482c8 - Stack switching: Infrastructure and runtime support (#10388)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/wasmtime/src/runtime/types.rs#63d482c8</link>
        <description>Stack switching: Infrastructure and runtime support (#10388)* [pr1] base* prtest:full* make sure to use ControlFlow result in trace_suspended_continuation* stack-switching: cleanup: remove stray c-api changesThese are remnants of unrelated wasmfx wasmtime experiments, possiblysuitable for later submission against upstream.* stack-switching: reuse async_stack_size* stack-switching: delete delete_me debugging* stack-switching: address feedback in environ::types* stack-switching: remove unused code from vmoffsets* stack-switching: drop dependency on std* stack-switching: add compilation checks to ci matrix* stack-switching: remove debug_println cruft* stack-switching: export environ consts consistently* stack-switching: export vm pub items consistently* table_pool: reduced capacity for large elementsVMContRef elements which takes up two words and we don&apos;t want todouble the size of all tables in order to support storing these.This change changes the table to target storing the requestedmax number of elements if they are &quot;nominally&quot; sized with(potentially) reduced capacity for non-nominally sized types whenencountered.Continuations are the only type of element which may result infewer table slots being available than requested.* stack-switching: extend conditional compilationA fair bit of the definitions for stack switching are stillenabled, but this patch takes things a bit further to avoidcompilation problems; notably, cont_new is now not compiledin unless the feature is enabled.* stack-switching: formatting fixes* stack-switching: address new clippy checksIn addition, to get clippy to fully pass, plumbed inadditional config to make winch paths happy; there&apos;s noimpl for winch yet but plumbing through the feature isrequired to make paths incorporating macros at variouslayers satisfied (and it is expected we&apos;ll use thefeatures in the future).* stack-switching: more conditional compilation fixes* stack-switching: additional conditional compile on table builtins for continuations* stack-switching: additional conditional compile fixes* stack-switching: additional conditional compile in store* stack-switching: remove overly strict assertion* stack-switching: remove errantly dropped no_mangle in config c-api* stack-switching: VMContObj::from_raw_parts* stack-switching: remove duplicate async_stack_size feature check* stack-switching: VMArray -&gt; VMHostArray* stack-switching: remove unnecessary clippy exception* stack-switching: fix docs referenced VMRuntimeLimits* stack-switching: fix doc typo* stack-switching: follow recommendations for type casts* stack-switching: use usize::next_multiple_of* stack-switching: update outdated comment* stack-switching: use feature gate instead of allow(dead_code)* stack-switching: rework backtrace using chunks/zip* stack-switching: move tests to footer moduleThis is a bit more consistent with the prevailing stylein tree and (subjectively) makes finding the testsas a reader more straightforward.Tests left unchanged sans some import cleanup.* stack-swictchding: verify stack_chain offsets at runtime* fixup! stack-switching: use feature gate instead of allow(dead_code)* stack-switching: document continuation roots tracing using match arms---------Co-authored-by: Paul Osborne &lt;paul.osborne@fastly.com&gt;

            List of files:
            /wasmtime-44.0.1/crates/wasmtime/src/runtime/types.rs</description>
        <pubDate>Wed, 04 Jun 2025 22:47:35 +0000</pubDate>
        <dc:creator>Frank Emrich &lt;git@emrich.io&gt;</dc:creator>
    </item>
<item>
        <title>c4fd2f7b - Refactor globals to no longer use `Stored` (#10902)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/wasmtime/src/runtime/types.rs#c4fd2f7b</link>
        <description>Refactor globals to no longer use `Stored` (#10902)This commit refactors the `wasmtime::Global` to avoid the usage of`Stored&lt;T&gt;` internally. This makes conversion from internal global stateto external global state a noop along the lines of previous commits. Theend goal is to remove `Stored` entirely and enable more pervasively usingexternal types internally within Wasmtime as well.Globals were different than the prior iterations of memories, tags, andtables. Globals have three different ways of defining them: wasminstances, the host embedder, and component flags. Representing thesein all the various locations required a bit of finesse in how everythingis represented and stored at rest and such. In the end there&apos;s a smallamount of &quot;type punning&quot; in a few instance/vmctx fields related toglobals now since everything is squeezed into one slot. This is requiredbecause the `VMGlobalImport` structure must have a size known towasm-compiled code and `wasmtime::Global` must have a known layout for Ccode.In the end while this is more code to manage globals my hope is that theend result will be a net negative in terms of complexity by ensuringthat the embedder API is additionally suitable for use internally withinWasmtime as well.

            List of files:
            /wasmtime-44.0.1/crates/wasmtime/src/runtime/types.rs</description>
        <pubDate>Mon, 02 Jun 2025 23:23:47 +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/wasmtime/src/runtime/types.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/wasmtime/src/runtime/types.rs</description>
        <pubDate>Mon, 19 May 2025 16:40:55 +0000</pubDate>
        <dc:creator>Alex Crichton &lt;alex@alexcrichton.com&gt;</dc:creator>
    </item>
</channel>
</rss>
