<?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 lib.rs</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>bbd12e92 - wasmtime-cache: use `wasmtime_environ::Error` instead of `anyhow` (#12210)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/cache/src/lib.rs#bbd12e92</link>
        <description>wasmtime-cache: use `wasmtime_environ::Error` instead of `anyhow` (#12210)

            List of files:
            /wasmtime-44.0.1/crates/cache/src/lib.rs</description>
        <pubDate>Fri, 26 Dec 2025 19:22:13 +0000</pubDate>
        <dc:creator>Nick Fitzgerald &lt;fitzgen@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>61a371ac - CacheConfigs are always enabled; clarify directory validation (#11376)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/cache/src/lib.rs#61a371ac</link>
        <description>CacheConfigs are always enabled; clarify directory validation (#11376)

            List of files:
            /wasmtime-44.0.1/crates/cache/src/lib.rs</description>
        <pubDate>Mon, 04 Aug 2025 15:26:29 +0000</pubDate>
        <dc:creator>Jesse Rusak &lt;me@jesserusak.com&gt;</dc:creator>
    </item>
<item>
        <title>2bac6574 - Update the `log` dependency (#11197)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/cache/src/lib.rs#2bac6574</link>
        <description>Update the `log` dependency (#11197)* Update the `log` dependencyThis enables getting warnings about formatting strings in the `log`crate directives which are then additionally fixed here as well.* Update dependency directive in `Cargo.toml`

            List of files:
            /wasmtime-44.0.1/crates/cache/src/lib.rs</description>
        <pubDate>Mon, 07 Jul 2025 23:25:45 +0000</pubDate>
        <dc:creator>Alex Crichton &lt;alex@alexcrichton.com&gt;</dc:creator>
    </item>
<item>
        <title>390e1549 - wasmtime: Fix rendering of `Cache` and `CacheConfig` docs (#11015)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/cache/src/lib.rs#390e1549</link>
        <description>wasmtime: Fix rendering of `Cache` and `CacheConfig` docs (#11015)Use the setting name rather than `$setting` for documentationrendering.

            List of files:
            /wasmtime-44.0.1/crates/cache/src/lib.rs</description>
        <pubDate>Wed, 11 Jun 2025 16:07:32 +0000</pubDate>
        <dc:creator>Sa&#250;l Cabrera &lt;saulecabrera@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>4c8edb95 - More clearly flag internal crates as such (#10963)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/cache/src/lib.rs#4c8edb95</link>
        <description>More clearly flag internal crates as such (#10963)* More clearly flag internal crates as suchThis commit is an attempt to more clearly flag internal crates in thisproject as internal and not intended for external use. Specifically:* Many crates are renamed from `wasmtime-foo` to  `wasmtime-internal-foo`.* All of these crates now have `INTERNAL: ...` in their crates.io  description.* All of these crates now have a warning at the top of their  documentation discouraging use.This change is a result of rustsec/advisory-db#1999 where the goal is tobe crystal clear from a project perspective that usage of these cratesare highly discouraged and not supported. We&apos;ll still probably get suchadvisories but we won&apos;t be considering them CVEs from the project itselfdue to the internal nature of these crates and the discouragingwarnings.Some concrete changes used here are:* Inter-crate dependencies still use `wasmtime_foo` for naming and do  so with Cargo&apos;s package-renaming features.* Crate renames are specified at the workspace level so the rename is  only in one locations and all other inherit it.* Contribution documentation now has some brief guidelines about crate  organization.* Update vet config* Update checks for wasmtime-fiberprtest:full* Update publish script* Another fiber rename* Fix some doc tests

            List of files:
            /wasmtime-44.0.1/crates/cache/src/lib.rs</description>
        <pubDate>Fri, 06 Jun 2025 21:13:36 +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/cache/src/lib.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/cache/src/lib.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>2cd52b76 - Allow creation of a CacheConfig without loading from a file (#10665)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/cache/src/lib.rs#2cd52b76</link>
        <description>Allow creation of a CacheConfig without loading from a file (#10665)* cache: Add builder pattern for CacheConfig* wasmtime: Add cache_config method to wasmtime::Config* Refactor test_builder_default to use test_prolog helper* Remove enabled option from CacheConfigBuilder and always set to true* Change builder methods to take &amp;mut self and return &amp;mut Self* Simplify cache configuration APIA new `cache_config(Option&lt;CacheConfig&gt;)` method replaces multiple methodsfor controlling module caching. Now `None` disables caching, and users candirectly provide a cache config or load one from a file.* Make cache configuration optional* Add Cache struct to separate configuration from runtime (wip)* Ensure default values earlier* Consolidate CacheConfig and CacheConfigBuilder* Set Cache directly on wastime::Config and make it easier to create onefrom a file* Validate after loading file again* Move cache to top-level module* Fix tests

            List of files:
            /wasmtime-44.0.1/crates/cache/src/lib.rs</description>
        <pubDate>Tue, 29 Apr 2025 14:50:26 +0000</pubDate>
        <dc:creator>Ben Brandt &lt;benjamin.j.brandt@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>a0442ea0 - Enforce `uninlined_format_args` for the workspace (#9065)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/cache/src/lib.rs#a0442ea0</link>
        <description>Enforce `uninlined_format_args` for the workspace (#9065)* Enforce `uninlined_format_args` for the workspace* fix: failing `Monolith Checks` job* fix: formatting

            List of files:
            /wasmtime-44.0.1/crates/cache/src/lib.rs</description>
        <pubDate>Mon, 05 Aug 2024 09:59:59 +0000</pubDate>
        <dc:creator>Hamir Mahal &lt;hamirmahal@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>f676c176 - Enable rustc&apos;s `unused-lifetimes` lint (#8711)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/cache/src/lib.rs#f676c176</link>
        <description>Enable rustc&apos;s `unused-lifetimes` lint (#8711)* Enable rustc&apos;s `unused-lifetimes` lintThis is allow-by-default doesn&apos;t seem to have any false positives inWasmtime&apos;s codebase so enable it by default to help clean up vestiges ofold refactorings.* Remove another unused lifetime* Remove another unused lifetime

            List of files:
            /wasmtime-44.0.1/crates/cache/src/lib.rs</description>
        <pubDate>Thu, 30 May 2024 19:37:58 +0000</pubDate>
        <dc:creator>Alex Crichton &lt;alex@alexcrichton.com&gt;</dc:creator>
    </item>
<item>
        <title>60539520 - Switch from `bincode` to `postcard` for serializing (#8476)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/cache/src/lib.rs#60539520</link>
        <description>Switch from `bincode` to `postcard` for serializing (#8476)Wasmtime and Cranelift have a few miscellaenous use cases for &quot;just takethis Rust type and make it bytes&quot;, for example Wasmtime&apos;s serializationof internal metadata into a compiled module. Previously Wasmtime usedthe `bincode` crate for performing these tasks as the format wasgenerally optimized to be small and fast, not general purpose (e.g.JSON). The `bincode` crate on crates.io doesn&apos;t work on `no_std`,however, and with the work in #8341 that&apos;s an issue now for Wasmtime.This crate switches instead to the `postcard` crate. This crate islisted in Serde&apos;s documentation as:&gt; Postcard, a no_std and embedded-systems friendly compact binary&gt; format.While I&apos;ve not personally used it before it checks all the boxes werelied on `bincode` for and additionally works with `no_std`. Afterauditing the crate this commit then switches out Wasmtime&apos;s usage of`bincode` for `postcard` throughout the repository.

            List of files:
            /wasmtime-44.0.1/crates/cache/src/lib.rs</description>
        <pubDate>Thu, 25 Apr 2024 20:43:35 +0000</pubDate>
        <dc:creator>Alex Crichton &lt;alex@alexcrichton.com&gt;</dc:creator>
    </item>
<item>
        <title>1ced2ef4 - crates/cache: print warning information only when the renaming truly fails (#7497)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/cache/src/lib.rs#1ced2ef4</link>
        <description>crates/cache: print warning information only when the renaming truly fails (#7497)

            List of files:
            /wasmtime-44.0.1/crates/cache/src/lib.rs</description>
        <pubDate>Wed, 08 Nov 2023 15:04:35 +0000</pubDate>
        <dc:creator>Xinzhao Xu &lt;z2d@jifangcheng.com&gt;</dc:creator>
    </item>
<item>
        <title>08403c99 - Update base64 dependency to 0.21.0 (#5702)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/cache/src/lib.rs#08403c99</link>
        <description>Update base64 dependency to 0.21.0 (#5702)* Update base64 to 0.21.0* Update code for base64 0.21.0

            List of files:
            /wasmtime-44.0.1/crates/cache/src/lib.rs</description>
        <pubDate>Tue, 07 Feb 2023 04:34:01 +0000</pubDate>
        <dc:creator>Brendan Burns &lt;bburns@microsoft.com&gt;</dc:creator>
    </item>
<item>
        <title>c73be1f1 - Use an mmap-friendly serialization format (#3257)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/cache/src/lib.rs#c73be1f1</link>
        <description>Use an mmap-friendly serialization format (#3257)* Use an mmap-friendly serialization formatThis commit reimplements the main serialization format for Wasmtime&apos;sprecompiled artifacts. Previously they were generally a binary blob of`bincode`-encoded metadata prefixed with some versioning information.The downside of this format, though, is that loading a precompiledartifact required pushing all information through `bincode`. This isinefficient when some data, such as trap/address tables, are rarelyaccessed.The new format added in this commit is one which is designed to be`mmap`-friendly. This means that the relevant parts of the precompiledartifact are already page-aligned for updating permissions of pieceshere and there. Additionally the artifact is optimized so that if datais rarely read then we can delay reading it until necessary.The new artifact format for serialized modules is an ELF file. This isnot a public API guarantee, so it cannot be relied upon. In the meantimethough this is quite useful for exploring precompiled modules withstandard tooling like `objdump`. The ELF file is already constructed aspart of module compilation, and this is the main contents of theserialized artifact.THere is some extra information, though, not encoded in each module&apos;sindividual ELF file such as type information. This information continuesto be `bincode`-encoded, but it&apos;s intended to be much smaller and muchfaster to deserialize. This extra information is appended to the end ofthe ELF file. This means that the original ELF file is still a valid ELFfile, we just get to have extra bits at the end. More information on thenew format can be found in the module docs of the serialization moduleof Wasmtime.Another refatoring implemented as part of this commit is to deserializeand store object files directly in `mmap`-backed storage. This avoidsthe need to copy bytes after the artifact is loaded into memory for eachcompiled module, and in a future commit it opens up the door to avoidingcopying the text section into a `CodeMemory`. For now, though, the mainchange is that copies are not necessary when loading from a precompiledcompilation artifact once the artifact is itself in mmap-based memory.To assist with managing `mmap`-based memory a new `MmapVec` type wasadded to `wasmtime_jit` which acts as a form of `Vec&lt;T&gt;` backed by a`wasmtime_runtime::Mmap`. This type notably supports `drain(..N)` toslice the buffer into disjoint regions that are all separately owned,such as having a separately owned window into one artifact for allobject files contained within.Finally this commit implements a small refactoring in `wasmtime-cache`to use the standard artifact format for cache entries rather than abincode-encoded version. This required some more hooks forserializing/deserializing but otherwise the crate still performs asbefore.* Review comments

            List of files:
            /wasmtime-44.0.1/crates/cache/src/lib.rs</description>
        <pubDate>Mon, 30 Aug 2021 14:19:20 +0000</pubDate>
        <dc:creator>Alex Crichton &lt;alex@alexcrichton.com&gt;</dc:creator>
    </item>
<item>
        <title>cbabcacb - wasmtime: Option to disable parallel compilation (#3169)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/cache/src/lib.rs#cbabcacb</link>
        <description>wasmtime: Option to disable parallel compilation (#3169)* Introduce parallel-compilation configuration switch* Plumb parallel_compilation config to compilation* Adjust obj.rs* Address review* Fix compilation fail in `cache` crate* Fix obj.rsAlso remove the now unneeded feature in /Cargo.toml* fmt

            List of files:
            /wasmtime-44.0.1/crates/cache/src/lib.rs</description>
        <pubDate>Tue, 10 Aug 2021 19:09:15 +0000</pubDate>
        <dc:creator>Sergei Shulepov &lt;s.pepyakin@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>5c4c03d2 - Don&apos;t hash for the cache if it&apos;s disabled (#2816)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/cache/src/lib.rs#5c4c03d2</link>
        <description>Don&apos;t hash for the cache if it&apos;s disabled (#2816)This fixes an issue where even if the wasmtime cache was disabled we&apos;restill calculating the sha256 of modules for the hash key. This hashwas then simply discarded if the cache was disabled!

            List of files:
            /wasmtime-44.0.1/crates/cache/src/lib.rs</description>
        <pubDate>Thu, 08 Apr 2021 16:48:24 +0000</pubDate>
        <dc:creator>Alex Crichton &lt;alex@alexcrichton.com&gt;</dc:creator>
    </item>
<item>
        <title>a464465e - Code review feedback changes.</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/cache/src/lib.rs#a464465e</link>
        <description>Code review feedback changes.* Add `anyhow` dependency to `wasmtime-runtime`.* Revert `get_data` back to `fn`.* Remove `DataInitializer` and box the data in `Module` translation instead.* Improve comments on `MemoryInitialization`.* Remove `MemoryInitialization::OutOfBounds` in favor of proper bulk memory  semantics.* Use segmented memory initialization except for when the uffd feature is  enabled on Linux.* Validate modules with the allocator after translation.* Updated various functions in the runtime to return `anyhow::Result`.* Use a slice when copying pages instead of `ptr::copy_nonoverlapping`.* Remove unnecessary casts in `OnDemandAllocator::deallocate`.* Better document the `uffd` feature.* Use WebAssembly page-sized pages in the paged initialization.* Remove the stack pool from the uffd handler and simply protect just the guard  pages.

            List of files:
            /wasmtime-44.0.1/crates/cache/src/lib.rs</description>
        <pubDate>Thu, 04 Mar 2021 00:41:33 +0000</pubDate>
        <dc:creator>Peter Huene &lt;peter@huene.dev&gt;</dc:creator>
    </item>
<item>
        <title>c8871ee1 - Allow instance allocators control over module compilation.</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/cache/src/lib.rs#c8871ee1</link>
        <description>Allow instance allocators control over module compilation.This commit introduces two new methods on `InstanceAllocator`:* `validate_module` - this method is used to validate a module after  translation but before compilation. It will be used for the upcoming pooling  allocator to ensure a module being compiled adheres to the limits of the  allocator.* `adjust_tunables` - this method is used to adjust the `Tunables` given the  JIT compiler.  The pooling allocator will use this to force all memories to  be static during compilation.

            List of files:
            /wasmtime-44.0.1/crates/cache/src/lib.rs</description>
        <pubDate>Tue, 08 Dec 2020 06:12:33 +0000</pubDate>
        <dc:creator>Peter Huene &lt;peter@huene.dev&gt;</dc:creator>
    </item>
<item>
        <title>e4c3fc5c - Update immediate and transitive dependencies</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/cache/src/lib.rs#e4c3fc5c</link>
        <description>Update immediate and transitive dependenciesI don&apos;t think this has happened in awhile but I&apos;ve run a `cargo update`as well as trimming some of the duplicate/older dependencies in`Cargo.lock` by updating some of our immediate dependencies as well.

            List of files:
            /wasmtime-44.0.1/crates/cache/src/lib.rs</description>
        <pubDate>Thu, 05 Nov 2020 16:16:48 +0000</pubDate>
        <dc:creator>Alex Crichton &lt;alex@alexcrichton.com&gt;</dc:creator>
    </item>
<item>
        <title>08f9eb17 - Making caching support optional in Wasmtime (#2119)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/crates/cache/src/lib.rs#08f9eb17</link>
        <description>Making caching support optional in Wasmtime (#2119)This commit moves all of the caching support that currently lives in`wasmtime-environ` into a `wasmtime-cache` crate and makes it optional. Thegoal here is to slim down the `wasmtime-environ` crate and clearly separateboundaries where caching is a standalone and optional feature, not intertwinedwith other crates.

            List of files:
            /wasmtime-44.0.1/crates/cache/src/lib.rs</description>
        <pubDate>Fri, 07 Aug 2020 20:42:40 +0000</pubDate>
        <dc:creator>Alex Crichton &lt;alex@alexcrichton.com&gt;</dc:creator>
    </item>
</channel>
</rss>
