summaryrefslogtreecommitdiff
path: root/examples/rust
diff options
context:
space:
mode:
Diffstat (limited to 'examples/rust')
-rw-r--r--examples/rust/README.md2
-rw-r--r--examples/rust/rust-toolchain.toml2
2 files changed, 4 insertions, 0 deletions
diff --git a/examples/rust/README.md b/examples/rust/README.md
index 1b6be2f..c24054c 100644
--- a/examples/rust/README.md
+++ b/examples/rust/README.md
@@ -2,3 +2,5 @@
This is a seperate crate that generates WebAssembly from Rust code.
It is used by the `wasm-rust` example.
+
+Requires the `wasm32-unknown-unknown` target to be installed.
diff --git a/examples/rust/rust-toolchain.toml b/examples/rust/rust-toolchain.toml
new file mode 100644
index 0000000..6c22ba5
--- /dev/null
+++ b/examples/rust/rust-toolchain.toml
@@ -0,0 +1,2 @@
+[toolchain]
+channel="nightly-2024-02-11"