From 358f957a4981ebdc0f854f7d55477234e58e4544 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Tue, 24 Mar 2020 15:17:14 -0500 Subject: [PATCH] Adjust release notes for `Caller` type (#1393) Take into account comments on #1392 --- RELEASES.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/RELEASES.md b/RELEASES.md index 3464f4f903..5f4c794274 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -27,7 +27,10 @@ Unreleased * The `wasmtime::Caller` type now exists as a first-class way to access the caller's exports, namely memory, when implementing host APIs. This can be the first argument of functions defined with `Func::new` or `Func::wrap` which - allows easily implementing methods which take a pointer into wasm memory. + allows easily implementing methods which take a pointer into wasm memory. Note + that this only works for accessing the caller's `Memory` for now and it must + be exported. This will eventually be replaced with a more general-purpose + mechanism like interface types. [#1290](https://github.com/bytecodealliance/wasmtime/pull/1290) * The bulk memory proposal has been fully implemented.