File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,10 @@ use wasmtime::component::{HasData, Linker};
1010/// [`Linker`], which corresponds to the `wasi:clocks/imports` world supported by
1111/// this module.
1212///
13+ /// This is low-level API for advanced use cases,
14+ /// [`wasmtime_wasi::p3::add_to_linker`](crate::p3::add_to_linker) can be used instead
15+ /// to add *all* wasip3 interfaces (including the ones from this module) to the `linker`.
16+ ///
1317/// # Example
1418///
1519/// ```
Original file line number Diff line number Diff line change @@ -6,16 +6,14 @@ use wasmtime::component::{HasData, Linker};
66
77/// Add all WASI interfaces from this module into the `linker` provided.
88///
9- /// This function will add the `async` variant of all interfaces into the
10- /// [`Linker`] provided. By `async` this means that this function is only
11- /// compatible with [`Config::async_support(true)`][async]. For embeddings with
12- /// async support disabled see [`add_to_linker_sync`] instead.
13- ///
14- /// This function will add all interfaces implemented by this crate to the
9+ /// This function will add all interfaces implemented by this module to the
1510/// [`Linker`], which corresponds to the `wasi:random/imports` world supported by
1611/// this crate.
1712///
18- /// [async]: wasmtime::Config::async_support
13+ /// This is low-level API for advanced use cases,
14+ /// [`wasmtime_wasi::p3::add_to_linker`](crate::p3::add_to_linker) can be used instead
15+ /// to add *all* wasip3 interfaces (including the ones from this module) to the `linker`.
16+ ///
1917///
2018/// # Example
2119///
You can’t perform that action at this time.
0 commit comments