<?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 mpk.rs</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>94740588 - Migrate the Wasmtime CLI to `wasmtime::error` (#12295)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/examples/mpk.rs#94740588</link>
        <description>Migrate the Wasmtime CLI to `wasmtime::error` (#12295)* Migrate wasmtime-cli to `wasmtime::error`* migrate benches to `wasmtime::error` as well* Remove new usage of anyhow that snuck in

            List of files:
            /wasmtime-44.0.1/examples/mpk.rs</description>
        <pubDate>Fri, 09 Jan 2026 19:15:48 +0000</pubDate>
        <dc:creator>Nick Fitzgerald &lt;fitzgen@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>698028ce - Add a configuration knob for `PAGEMAP_SCAN` (#11433)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/examples/mpk.rs#698028ce</link>
        <description>Add a configuration knob for `PAGEMAP_SCAN` (#11433)* Add a configuration knob for `PAGEMAP_SCAN`This commit adds `PoolingAlloationConfig::pagemap_scan` and additionallyadds `-Opooling-pagemap-scan` to configure on the CLI. This is the sametri-state configuration option as `MpkEnable` so that enum was renamedto just `Enabled` and repurposed for both options.This then additionally turns the option off-by-default instead of theprevious on-by-default-if-able-to to enable more slowly rolling out thisfeature.* Fix broken test

            List of files:
            /wasmtime-44.0.1/examples/mpk.rs</description>
        <pubDate>Thu, 14 Aug 2025 22:07:53 +0000</pubDate>
        <dc:creator>Alex Crichton &lt;alex@alexcrichton.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/examples/mpk.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/examples/mpk.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>64561149 - mpk: fix example CLI argument (#10777)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/examples/mpk.rs#64561149</link>
        <description>mpk: fix example CLI argument (#10777)The `--memory-size` argument caused failures when running the `mpk.rs`example. This was due to some `clap`-related conversions that no longerworked as when this was written:```thread &apos;main&apos; panicked at examples/mpk.rs:69:18:Mismatch between definition and access of `memory_size`. Could notdowncast to usize, need to downcast to u64```This change explicitly uses `u64` for the CLI argument, fixing thefailure.

            List of files:
            /wasmtime-44.0.1/examples/mpk.rs</description>
        <pubDate>Wed, 14 May 2025 21:08:52 +0000</pubDate>
        <dc:creator>Andrew Brown &lt;andrew.brown@intel.com&gt;</dc:creator>
    </item>
<item>
        <title>8e883429 - Update some dependencies on their major version tracks (#10425)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/examples/mpk.rs#8e883429</link>
        <description>Update some dependencies on their major version tracks (#10425)* Update rustix to 1.0.x* Bump itertools to its latest version* Update base64 to its latest version* Update wit-bindgen to its latest version* Update v8 to its latest version on crates.ioJust keeping up-to-date* Update capstone dependency to its latest version* Update libtest-mimic to its latest version* Update cargo-metadata dependency* Update thiserror dependency to latest* Update bytesize dependency* Drop getrandom dependency from test-programsFavor using `wasi::random_get` instead for now.* Fix deny.toml syntax* Fix merge conflict* Downgrade v8 to respect MSRV* Fix compile on windows

            List of files:
            /wasmtime-44.0.1/examples/mpk.rs</description>
        <pubDate>Thu, 20 Mar 2025 01:40:14 +0000</pubDate>
        <dc:creator>Alex Crichton &lt;alex@alexcrichton.com&gt;</dc:creator>
    </item>
<item>
        <title>71cb94be - Burn down the `allow_attributes_without_reason` backlog (#9712)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/examples/mpk.rs#71cb94be</link>
        <description>Burn down the `allow_attributes_without_reason` backlog (#9712)* Burn down the `allow_attributes_without_reason` backlogJust a bit, not everything fixed.* Fix wasi-nn annotations* Tweak `#[cfg]`

            List of files:
            /wasmtime-44.0.1/examples/mpk.rs</description>
        <pubDate>Tue, 03 Dec 2024 16:57:45 +0000</pubDate>
        <dc:creator>Alex Crichton &lt;alex@alexcrichton.com&gt;</dc:creator>
    </item>
<item>
        <title>45b60bd6 - Start using `#[expect]` instead of `#[allow]` (#9696)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/examples/mpk.rs#45b60bd6</link>
        <description>Start using `#[expect]` instead of `#[allow]` (#9696)* Start using `#[expect]` instead of `#[allow]`In Rust 1.81, our new MSRV, a new feature was added to Rust to use`#[expect]` to control lint levels. This new lint annotation willsilence a lint but will itself cause a lint if it doesn&apos;t actuallysilence anything. This is quite useful to ensure that annotations don&apos;tget stale over time.Another feature is the ability to use a `reason` directive on theattribute with a string explaining why the attribute is there. Thisstring is then rendered in compiler messages if a warning or errorhappens.This commit migrates applies a few changes across the workspace:* Some `#[allow]` are changed to `#[expect]` with a `reason`.* Some `#[allow]` have a `reason` added if the lint conditionally fires  (mostly related to macros).* Some `#[allow]` are removed since the lint doesn&apos;t actually fire.* The workspace configures `clippy::allow_attributes_without_reason = &apos;warn&apos;`  as a &quot;ratchet&quot; to prevent future regressions.* Many crates are annotated to allow `allow_attributes_without_reason`  during this transitionary period.The end-state is that all crates should use`#[expect(..., reason = &quot;...&quot;)]` for any lint that unconditionally firesbut is expected. The `#[allow(..., reason = &quot;...&quot;)]` lint should be usedfor conditionally firing lints, primarily in macro-related code.The `allow_attributes_without_reason = &apos;warn&apos;` level is intended to bepermanent but the transitionary`#[expect(clippy::allow_attributes_without_reason)]` crate annotationsto go away over time.* Fix adapter buildprtest:full* Fix one-core build of icache coherence* Use `allow` for missing_docsWork around rust-lang/rust#130021 which was fixed in Rust 1.83 and isn&apos;tfixed for our MSRV at this time.* More MSRV compat

            List of files:
            /wasmtime-44.0.1/examples/mpk.rs</description>
        <pubDate>Mon, 02 Dec 2024 17:19:20 +0000</pubDate>
        <dc:creator>Alex Crichton &lt;alex@alexcrichton.com&gt;</dc:creator>
    </item>
<item>
        <title>7a28a5b9 - Remove static/dynamic memories from public docs (#9545)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/examples/mpk.rs#7a28a5b9</link>
        <description>Remove static/dynamic memories from public docs (#9545)* Remove static/dynamic memories from public docsThis commit removes the terminology of &quot;static&quot; and &quot;dynamic&quot; memoriesfrom the public-facing documentation of Wasmtime, notably on the`Config` structure and its various configuration settings. The goal ofthis commit is in the same vein as #9543 which is to simplify the memorysettings of Wasmtime for users in this case.This change doesn&apos;t actually have any code changes beyond renames (andhandling now-deprecated CLI options). The goal of this commit is tobasically rewrite how we document the effect of various settings ofWasmtime. Notably:* `Config::static_memory_maximum_size` is now `memory_reservation`.* `Config::static_memory_forced` is now `memory_reservation_is_maximum`.* `Config::dynamic_memory_reserved_for_growth` is now  `memory_reservation_for_growth`.Documentation for all of these options has been rewritten and updated totake into account the removal of &quot;dynamic&quot; and &quot;static&quot; terminology.Additionally more words have been written about the various effects ofeach setting and how things related to wasm features such as index typesizes and custom page sizes.The rewritten documentation is intended to basically already match whatWasmtime does today. I believe that all of these settings are useful inone form or another so none have been dropped but the updateddocumentation is intended to help simplify the mental model for howthey&apos;re processed internally and how they affect allocations and such.* Fix how the setting is flipped* Review comments

            List of files:
            /wasmtime-44.0.1/examples/mpk.rs</description>
        <pubDate>Tue, 05 Nov 2024 01:05:58 +0000</pubDate>
        <dc:creator>Alex Crichton &lt;alex@alexcrichton.com&gt;</dc:creator>
    </item>
<item>
        <title>48d5338b - Merge static/dynamic guard size options (#9528)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/examples/mpk.rs#48d5338b</link>
        <description>Merge static/dynamic guard size options (#9528)* Merge static/dynamic guard size optionsThis commit is the first of what will likely be a few to refactor thememory-related configuration options in Wasmtime. The end goal of theserefactorings is to fix some preexisting issues and additionally make theconfiguration easier to understand for both users and implementorsalike. First on the chopping block here is to merge the`dynamic_memory_guard_size` and `static_memory_guard_size` options intoone option. AFAIK there&apos;s not a strong reason to have separateconfiguration options for these so it&apos;s hopefully simpler to have asingle `memory_guard_size` option which applies to all linear memoriesequally.I&apos;ll note that the old CLI options are preserved but are documented asdeprecated. We don&apos;t currently warn on using &quot;deprecated options&quot; so fornow the old options are just documented as deprecated and are otherwisesilently accepted.* Fix compilation of C API* Fix build of fuzzers

            List of files:
            /wasmtime-44.0.1/examples/mpk.rs</description>
        <pubDate>Fri, 01 Nov 2024 17:21:11 +0000</pubDate>
        <dc:creator>Alex Crichton &lt;alex@alexcrichton.com&gt;</dc:creator>
    </item>
<item>
        <title>906ea017 - Use bytes for maximum size of linear memory with pooling (#8628)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/examples/mpk.rs#906ea017</link>
        <description>Use bytes for maximum size of linear memory with pooling (#8628)* Use bytes for maximum size of linear memory with poolingThis commit changes configuration of the pooling allocator to use abyte-based unit rather than a page based unit. The previous`PoolingAllocatorConfig::memory_pages` configuration option configuresthe maximum size that a linear memory may grow to at runtime. This is animportant factor in calculation of stripes for MPK and is also acoarse-grained knob apart from `StoreLimiter` to limit memoryconsumption. This configuration option has been renamed to`max_memory_size` and documented that it&apos;s in terms of bytes rather thanpages as before.Additionally the documented constraint of `max_memory_size` must besmaller than `static_memory_bound` is now additionally enforced as aminor clean-up as part of this PR as well.* Review comments* Fix benchmark build

            List of files:
            /wasmtime-44.0.1/examples/mpk.rs</description>
        <pubDate>Fri, 17 May 2024 04:06:39 +0000</pubDate>
        <dc:creator>Alex Crichton &lt;alex@alexcrichton.com&gt;</dc:creator>
    </item>
<item>
        <title>9ce3ffe1 - Update some CI dependencies (#7983)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/examples/mpk.rs#9ce3ffe1</link>
        <description>Update some CI dependencies (#7983)* Update some CI dependencies* Update to the latest nightly toolchain* Update mdbook* Update QEMU for cross-compiled testing* Update `cargo nextest` for usage with MIRIprtest:full* Remove lots of unnecessary imports* Downgrade qemu as 8.2.1 seems to segfault* Remove more imports* Remove unused winch trait method* Fix warnings about unused trait methods* More unused imports* More unused imports

            List of files:
            /wasmtime-44.0.1/examples/mpk.rs</description>
        <pubDate>Thu, 22 Feb 2024 23:54:03 +0000</pubDate>
        <dc:creator>Alex Crichton &lt;alex@alexcrichton.com&gt;</dc:creator>
    </item>
<item>
        <title>57efd608 - mpk: add an example testing the memory limits (#7609)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/examples/mpk.rs#57efd608</link>
        <description>mpk: add an example testing the memory limits (#7609)* mpk: allow checking for MPK without a config instanceIt is inconvenient to have to construct a `PoolingAllocationConfig` inorder to check if memory protection keys are available. This removesthe unused `&amp;self` restriction.* mpk: improve logging of calculated slab layoutWhen double-checking the slab layout calculations it is quite convenientto see the total slab size. This helps in correlating with mappedregions.* mpk: add an example testing the memory limitsThis adds an example that can be run with `cargo run --example mpk`. Notonly does the example demonstrate how to build a pool-allocated enginethat uses MPK, it performs an exponential search to find the maximumnumber of slots the system can support, with and without MPK.* review: document Linux requirement* review: `env_logger::init`* review: replace `proc-maps` with manual parsing* vet: audit `bytesize`* fix: provide `main` for non-Linux systems* fix: move `cfg` to avoid unused code

            List of files:
            /wasmtime-44.0.1/examples/mpk.rs</description>
        <pubDate>Sat, 02 Dec 2023 00:46:12 +0000</pubDate>
        <dc:creator>Andrew Brown &lt;andrew.brown@intel.com&gt;</dc:creator>
    </item>
</channel>
</rss>
