<?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 resource_table.rs</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>301dc716 - Fix two security advisories. (#12652)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/wasmtime/src/runtime/component/resource_table.rs#301dc716</link>
        <description>Fix two security advisories. (#12652)* Fix two security advisories.This commit contains merged fixes for two security advisories inWasmtime:* GHSA-852m-cvvp-9p4w* GHSA-243v-98vx-264hThis introduces new knobs to Wasmtime to limit the scope of resourcesthat WASI implementations will allocate on behalf of guests. Unlikebackports to 41.0.x-and-prior these knobs all have default values whichare considered reasonable for hosts if they don&apos;t further tune them. Thefollowing CLI knobs have been added:* `-Smax-resources` - limits the total component-model resources a guest  can allocate in a table* `-Shostcall-fuel` - a broad limit which enforces that at most this  amount of data will be copied from the guest to the host in any one  API call (e.g. `string` values can&apos;t be too big, `list&lt;string&gt;` can&apos;t  be quadratic, etc). This fuel is reset on each host function call.* `-Smax-random-size` - the maximal size of the return value of the  `get-random-bytes` and `get-insecure-random-bytes` WASI functions.* `-Smax-http-fields-size` - a limit on the size of `wasi:http` `fields`  values to avoid infinitely buffering data within the host.The `http` crate has additionally been updated to avoid a panic whenadding too many headers to a `fields` object.Co-authored-by: Mark Bundschuh &lt;mark@mbund.dev&gt;Co-authored-by: Pat Hickey &lt;p.hickey@f5.com&gt;Co-authored-by: Joel Dice &lt;joel.dice@akamai.com&gt;* CI fixes* Run rustfmt* Fix wasi-common build* Fix tests on 32-bit* Fix nightly test expectationsprtest:full---------Co-authored-by: Mark Bundschuh &lt;mark@mbund.dev&gt;Co-authored-by: Pat Hickey &lt;p.hickey@f5.com&gt;Co-authored-by: Joel Dice &lt;joel.dice@akamai.com&gt;

            List of files:
            /wasmtime-44.0.1/crates/wasmtime/src/runtime/component/resource_table.rs</description>
        <pubDate>Tue, 24 Feb 2026 18:23:59 +0000</pubDate>
        <dc:creator>Alex Crichton &lt;alex@alexcrichton.com&gt;</dc:creator>
    </item>
<item>
        <title>dd06e7a5 - Disable `Tombstone` insertion in `ResourceTable` by default (#12114)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/wasmtime/src/runtime/component/resource_table.rs#dd06e7a5</link>
        <description>Disable `Tombstone` insertion in `ResourceTable` by default (#12114)This was useful in the development of WASIp3 but given the relativelybig change in behavior to a foundational data structure I don&apos;t thinkit&apos;s best to keep this tied to `cfg!(debug_assertions)`. Instead disableit by default and use a source-editing approach to change it.

            List of files:
            /wasmtime-44.0.1/crates/wasmtime/src/runtime/component/resource_table.rs</description>
        <pubDate>Wed, 03 Dec 2025 16:27:02 +0000</pubDate>
        <dc:creator>Alex Crichton &lt;alex@alexcrichton.com&gt;</dc:creator>
    </item>
<item>
        <title>624c8235 - merge `concurrent::table::Table` back into `ResourceTable` (#11547)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/wasmtime/src/runtime/component/resource_table.rs#624c8235</link>
        <description>merge `concurrent::table::Table` back into `ResourceTable` (#11547)* merge `concurrent::table::Table` back into `ResourceTable`When I started implementing component model async support, I copied`resource_table.rs` to `concurrent/table.rs` and made some modifications.  NowI&apos;m unifying the implementations to reduce duplication.- `concurrent/table.rs` now only contains the `TableId` type and the `TableDebug` trait; the `Table` type has been merged into `ResourceTable`.- `TableId` can be thought of as a lightweight variation of `Resource` representing handles which can&apos;t be borrowed.  It also implements `Copy`, `Hash`, `Debug`, etc. for convenience, and can be converted to and from `Resource`.- `ResourceTable` now has `enable_debug`, `is_empty`, `add_child`, `remove_child`, and `iter_mut` methods.- `ConcurrentState::table` is now of type `Mutex&lt;ResourceTable&gt;`; the `Mutex` wrapper is needed to ensure the field is `Sync`, but we never lock it.Fixes #11190Signed-off-by: Joel Dice &lt;joel.dice@fermyon.com&gt;* use `u32::MAX` as sentinal rep rather than zeroThis helps avoid unnecessarily allocation in `ResourceTable::new`.Signed-off-by: Joel Dice &lt;joel.dice@fermyon.com&gt;* remove `ConcurrentState::get``ConcurrentState::get_mut` is sufficient for all our needs.Signed-off-by: Joel Dice &lt;joel.dice@fermyon.com&gt;* use `AlwaysMut` instead of `Mutex`Signed-off-by: Joel Dice &lt;joel.dice@fermyon.com&gt;* toggle `ResourceTable` debugging via `cfg!(debug_assertions)`This avoids the (slight) runtime overhead of using a `debug: bool` field todebug tables individually.Signed-off-by: Joel Dice &lt;joel.dice@fermyon.com&gt;* fix `ResourceTable` test regressionSigned-off-by: Joel Dice &lt;joel.dice@fermyon.com&gt;---------Signed-off-by: Joel Dice &lt;joel.dice@fermyon.com&gt;

            List of files:
            /wasmtime-44.0.1/crates/wasmtime/src/runtime/component/resource_table.rs</description>
        <pubDate>Wed, 27 Aug 2025 16:02:27 +0000</pubDate>
        <dc:creator>Joel Dice &lt;joel.dice@fermyon.com&gt;</dc:creator>
    </item>
<item>
        <title>ca955764 - Split off wasmtime-wasi-io crate from wasmtime-wasi (#10036)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/wasmtime/src/runtime/component/resource_table.rs#ca955764</link>
        <description>Split off wasmtime-wasi-io crate from wasmtime-wasi (#10036)* stub: wasmtime-wasi-io crate* wasmtime: component::ResourceTableError now impls core::error::Errorfor compatibility without std* relocate much of the wasi-io impl into wasmtime-wasi-io* stump of poll that uses in_tokio* finish moving instances over to wasmtime_wasi_io* redirect wasmtime_wasi&apos;s bindgen properly over to wasmtime_wasi_io* wasmtime-wasi-http: point directly at wasmtime_wasi_io in sourcesit worked without these changes because all the re-exports are in theright places, but this is nice to do* comment work* fix streams rename, migrate bindings to its own file* move wasi-io impls into their own mod with appropriate name. check in CI.* change ResourceTable::iter_entries from taking a HashMap to BTreeMap so it works without std* crate-level docs for wasmtime-wasi-io* more docs* more docs, wasi-io gives an add_to_linker function for async only* wasi-io: inline view into lib.rs. improve docs.* more streams vs stream fixes...* wasi-http stream-&gt;streams fixes* fix adding wasmtime-wasi-io to public crates* wasmtime-cli: drop overzealous `=` version constraint on wasmtime-wasi-httpwasmtime-wasi-http is part of the public API where we guarantee semveris obeyed* fix doctest* mechanically rename the wasi-io pub traits, and resource typesresource type Pollable -&gt; DynPollableresource type InputStream -&gt; DynInputStreamresource type OutputStream -&gt; DynOutputStreamtrait Subscribe -&gt; Pollabletrait HostInputStream -&gt; InputStreamtrait HostOutputStream -&gt; OutputStreamtype alias PollableFuture -&gt; DynFuture (little-used)* delete unused ClosureFuture alias* doc fixes* wasmtime-wasi-http: use all of wasmtime-wasi-io through wasmtime-wasi re-exports* fix nostd build* missing separator. i love yml* make wasmtime-wasi-io #![no_std]

            List of files:
            /wasmtime-44.0.1/crates/wasmtime/src/runtime/component/resource_table.rs</description>
        <pubDate>Wed, 22 Jan 2025 19:27:15 +0000</pubDate>
        <dc:creator>Pat Hickey &lt;p.hickey@f5.com&gt;</dc:creator>
    </item>
<item>
        <title>de1ad347 - Enable `impl-trait-overcaptures` 2024 transition lint (#9965)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/wasmtime/src/runtime/component/resource_table.rs#de1ad347</link>
        <description>Enable `impl-trait-overcaptures` 2024 transition lint (#9965)* Enable `impl-trait-overcaptures` 2024 transition lintThis lint detects cases where returning `impl Trait` will workdifferently in 2024 than in the current 2021 edition. Ambiguities areresolved with `use&lt;..&gt;` syntax stabilized in Rust 1.82.0 to mean thesame thing in both editions.* Fix some more `impl Trait` returns* Tighten bounds on settings `iter`* Fix build on 1.82.0* Fix another capture on MSRV

            List of files:
            /wasmtime-44.0.1/crates/wasmtime/src/runtime/component/resource_table.rs</description>
        <pubDate>Thu, 09 Jan 2025 23:13:22 +0000</pubDate>
        <dc:creator>Alex Crichton &lt;alex@alexcrichton.com&gt;</dc:creator>
    </item>
<item>
        <title>0bce0968 - Warn against `clippy::cast_possible_truncation` in Wasmtime (#9209)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/wasmtime/src/runtime/component/resource_table.rs#0bce0968</link>
        <description>Warn against `clippy::cast_possible_truncation` in Wasmtime (#9209)* Warn against `clippy::cast_possible_truncation` in WasmtimeThis commit explicitly enables the `clippy::cast_possible_truncation`lint in Clippy for just the `wasmtime::runtime` module. This does notenable it for the entire workspace since it&apos;s a very noisy lint and ingeneral has a low signal value. For the domain that `wasmtime::runtime`is working in, however, this is a much more useful lint. We in generalwant to be very careful about casting between `usize`, `u32`, and `u64`and the purpose of this module-targeted lint is to help with just that.I was inspired to do this after reading over #9206 where especially whenrefactoring code and changing types I think it would be useful to havelocations flagged as &quot;truncation may happen here&quot; which previouslyweren&apos;t truncating.The failure mode for this lint is that panics might be introduced wheretruncation is explicitly intended. Most of the time though this isn&apos;tactually desired so the more practical consequence of this lint is toprobably slow down wasmtime ever so slightly and bloat it ever soslightly by having a few more checks in a few places. This is likelybest addressed in a more comprehensive manner, however, rather thanspecifically for just this one case. This problem isn&apos;t unique to justcasts, but to many other forms of `.unwrap()` for example.* Fix some casts in tests

            List of files:
            /wasmtime-44.0.1/crates/wasmtime/src/runtime/component/resource_table.rs</description>
        <pubDate>Fri, 06 Sep 2024 22:25:50 +0000</pubDate>
        <dc:creator>Alex Crichton &lt;alex@alexcrichton.com&gt;</dc:creator>
    </item>
<item>
        <title>0e9121da - Fix some typos (#8641)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/wasmtime/src/runtime/component/resource_table.rs#0e9121da</link>
        <description>Fix some typos (#8641)* occurred* winch typos* tests typos* cli typos* fuzz typos* examples typos* docs typos* crates/wasmtime typos* crates/environ typos* crates/cranelift typos* crates/test-programs typos* crates/c-api typos* crates/cache typos* crates other typos* cranelift/codegen/src/isa typos* cranelift/codegen/src other typos* cranelift/codegen other typos* cranelift other typos* ci js typo* .github workflows typo* RELEASES typo* Fix clang-format documentation line---------Co-authored-by: Andrew Brown &lt;andrew.brown@intel.com&gt;

            List of files:
            /wasmtime-44.0.1/crates/wasmtime/src/runtime/component/resource_table.rs</description>
        <pubDate>Thu, 16 May 2024 23:21:22 +0000</pubDate>
        <dc:creator>FrankReh &lt;FrankReh@users.noreply.github.com&gt;</dc:creator>
    </item>
<item>
        <title>81a89169 - Add support for `#![no_std]` to the `wasmtime` crate (#8533)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/wasmtime/src/runtime/component/resource_table.rs#81a89169</link>
        <description>Add support for `#![no_std]` to the `wasmtime` crate (#8533)* Always fall back to custom platform for WasmtimeThis commit updates Wasmtime&apos;s platform support to no longer require anopt-in `RUSTFLAGS` `--cfg` flag to be specified. With `no_std` becomingofficially supported this should provide a better onboarding experiencewhere the fallback custom platform is used. This will cause linkererrors if the symbols aren&apos;t implemented and searching/googling shouldlead back to our docs/repo (eventually, hopefully).* Change Wasmtime&apos;s TLS state to a single pointerThis commit updates the management of TLS to rely on just a singlepointer rather than a pair of a pointer and a `bool`. Additionallymanagement of the TLS state is pushed into platform-specific modules toenable different means of managing it, namely the &quot;custom&quot; platform nowhas a C function required to implement TLS state for Wasmtime.* Delay conversion to `Instant` in atomic intrinsicsThe `Duration` type is available in `no_std` but the `Instant` type isnot. The intention is to only support the `threads` proposal if `std` isactive but to assist with this split push the `Duration` further intoWasmtime to avoid using a type that can&apos;t be mentioned in `no_std`.* Gate more parts of Wasmtime on the `profiling` featureMove `serde_json` to an optional dependency and gate the guest profilerentirely on the `profiling` feature.* Refactor conversion to `anyhow::Error` in `wasmtime-environ`Have a dedicated trait for consuming `self` in addition to a`Result`-friendly trait.* Gate `gimli` in Wasmtime on `addr2line`Cut down the dependency list if `addr2line` isn&apos;t enabled since thenthe dependency is not used. While here additionally lift the versionrequirement for `addr2line` up to the workspace level.* Update `bindgen!` to have `no_std`-compatible outputPull most types from Wasmtime&apos;s `__internal` module as the source oftruth.* Use an `Option` for `gc_store` instead of `OnceCell`No need for synchronization here when mutability is already available inthe necessary contexts.* Enable embedder-defined host feature detection* Add `#![no_std]` support to the `wasmtime` crateThis commit enables compiling the `runtime`, `gc`, and `component-model`features of the `wasmtime` crate on targets that do not have `std`. Thistags the crate as `#![no_std]` and then updates everything internally toimport from `core` or `alloc` and adapt for the various idioms. Thisended up requiring some relatively extensive changes, but nothing tootoo bad in the grand scheme of things.* Require `std` for the perfmap profiling agentprtest:full* Fix build on wasm* Fix windows build* Remove unused import* Fix Windows/Unix build without `std` feature* Fix some doc links* Remove unused import* Fix build of wasi-common in isolation* Fix no_std build on macos* Re-fix build* Fix standalone build of wasmtime-cli-flags* Resolve a merge conflict* Review comments* Remove unused import

            List of files:
            /wasmtime-44.0.1/crates/wasmtime/src/runtime/component/resource_table.rs</description>
        <pubDate>Sat, 04 May 2024 22:02:26 +0000</pubDate>
        <dc:creator>Alex Crichton &lt;alex@alexcrichton.com&gt;</dc:creator>
    </item>
<item>
        <title>d4242001 - Support compilation-only build by adding a `runtime` feature (#7766)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/wasmtime/src/runtime/component/resource_table.rs#d4242001</link>
        <description>Support compilation-only build by adding a `runtime` feature (#7766)* Add `runtime` feature to `wasmtime` crateThis feature can be disabled to build `wasmtime` only for compilation.This can be useful when cross-compiling, especially on a target thatcan&apos;t run wasmtime itself (e.g. `wasm32`).* prtest:full* don&apos;t round pages without runtime feature* fix async assertions* move profiling into runtime* enable runtime for wasmtime-wasi* enable runtime for c-api* fix build_artifacts in non-cache case* fix miri extensions* enable runtime for wast* enable runtime for explorer* support cranelift all-arch on wasm32* add doc links for `WeakEngine`* simplify lib runtime cfgs* move limits and resources to runtime* move stack to runtime* move coredump and debug to runtime* add runtime to coredump and async features* add wasm32 build job* combine engine modules* single compile mod* remove allow for macro paths* add comments

            List of files:
            /wasmtime-44.0.1/crates/wasmtime/src/runtime/component/resource_table.rs</description>
        <pubDate>Mon, 29 Jan 2024 15:51:43 +0000</pubDate>
        <dc:creator>Adam Bratschi-Kaye &lt;adam.bratschikaye@dfinity.org&gt;</dc:creator>
    </item>
</channel>
</rss>
