From 688b01825ac152c64eabced7a620109465f8ce5e Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Mon, 17 Apr 2023 14:55:20 +0200 Subject: [PATCH 1/2] [DOC] Removed paragraph about default-compiler, as it's doesn't exist anymore --- lib/api/src/lib.rs | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/lib/api/src/lib.rs b/lib/api/src/lib.rs index 8d50d4ad7..bc9bfa578 100644 --- a/lib/api/src/lib.rs +++ b/lib/api/src/lib.rs @@ -311,21 +311,6 @@ #![cfg_attr(not(feature = "compiler"), doc = "(disabled),")] //! enables compilation with the wasmer engine. //! -//! The features that set defaults come in sets that are mutually exclusive. -//! -//! The first set is the default compiler set: -//! - `default-cranelift` -#![cfg_attr(feature = "default-cranelift", doc = "(enabled),")] -#![cfg_attr(not(feature = "default-cranelift"), doc = "(disabled),")] -//! set Wasmer's Cranelift compiler as the default, -//! - `default-llvm` -#![cfg_attr(feature = "default-llvm", doc = "(enabled),")] -#![cfg_attr(not(feature = "default-llvm"), doc = "(disabled),")] -//! set Wasmer's LLVM compiler as the default, -//! - `default-singlepass` -#![cfg_attr(feature = "default-singlepass", doc = "(enabled),")] -#![cfg_attr(not(feature = "default-singlepass"), doc = "(disabled),")] -//! set Wasmer's Singlepass compiler as the default. #![cfg_attr( feature = "js", doc = "## Features for the `js` feature group (enabled)" From 844a649629e00c879ee64dd2935c5cdf0df5a109 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Mon, 17 Apr 2023 14:58:50 +0200 Subject: [PATCH 2/2] Switched to `wasmer-wasix` instead of `wasmer-wasi` in doc --- lib/api/src/lib.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/api/src/lib.rs b/lib/api/src/lib.rs index bc9bfa578..56ea197f6 100644 --- a/lib/api/src/lib.rs +++ b/lib/api/src/lib.rs @@ -195,8 +195,8 @@ //! give them access to the outside world with [`imports!`]. //! //! If you're looking for a sandboxed, POSIX-like environment to execute Wasm -//! in, check out the [`wasmer-wasi`] crate for our implementation of WASI, -//! the WebAssembly System Interface. +//! in, check out the [`wasmer-wasix`] crate for our implementation of WASI, +//! the WebAssembly System Interface, and WASIX, the Extended version of WASI. //! //! In the `wasmer` API we support functions which take their arguments and //! return their results dynamically, [`Function`], and functions which @@ -235,7 +235,7 @@ //! - [`wasmer-cache`] for caching compiled Wasm modules, //! - [`wasmer-emscripten`] for running Wasm modules compiled to the //! Emscripten ABI, -//! - [`wasmer-wasi`] for running Wasm modules compiled to the WASI ABI. +//! - [`wasmer-wasix`] for running Wasm modules compiled to the WASI ABI. //! //! The Wasmer project has two major abstractions: //! 1. [Engine][wasmer-compiler], @@ -393,7 +393,7 @@ //! [`wasmer-compiler-singlepass`]: https://docs.rs/wasmer-compiler-singlepass/ //! [`wasmer-compiler-llvm`]: https://docs.rs/wasmer-compiler-llvm/ //! [`wasmer-compiler-cranelift`]: https://docs.rs/wasmer-compiler-cranelift/ -//! [`wasmer-wasi`]: https://docs.rs/wasmer-wasi/ +//! [`wasmer-wasix`]: https://docs.rs/wasmer-wasix/ //! [`wasm-pack`]: https://github.com/rustwasm/wasm-pack/ //! [`wasm-bindgen`]: https://github.com/rustwasm/wasm-bindgen