wasmtime-cli 41.0.3

Command-line interface for Wasmtime
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Memory Protection Keys (MPK)

You can also [browse this source code online][code] and clone the wasmtime
repository to run the example locally.

[code]: https://github.com/bytecodealliance/wasmtime/blob/main/examples/mpk.rs

This example demonstrates using the [Memory Protection Keys](https://www.man7.org/linux/man-pages/man7/pkeys.7.html) feature on supported platforms.

## Host Source

<!-- langtabs-start -->

```rust
{{#include ../examples/mpk.rs}}
```

<!-- langtabs-end -->