diff options
| -rw-r--r-- | crates/tinywasm/Cargo.toml | 2 | ||||
| -rw-r--r-- | crates/tinywasm/src/lib.rs | 3 | ||||
| -rw-r--r-- | examples/rust/Cargo.toml | 4 |
3 files changed, 4 insertions, 5 deletions
diff --git a/crates/tinywasm/Cargo.toml b/crates/tinywasm/Cargo.toml index 264d4b9..4dc82bb 100644 --- a/crates/tinywasm/Cargo.toml +++ b/crates/tinywasm/Cargo.toml @@ -35,7 +35,7 @@ logging=["log", "tinywasm-parser?/logging", "tinywasm-types/logging"] std=["tinywasm-parser?/std", "tinywasm-types/std"] parser=["dep:tinywasm-parser"] archive=["tinywasm-types/archive"] -nightly=[] +# nightly=[] [[test]] name="test-wasm-1" diff --git a/crates/tinywasm/src/lib.rs b/crates/tinywasm/src/lib.rs index 7038dd6..d3431e2 100644 --- a/crates/tinywasm/src/lib.rs +++ b/crates/tinywasm/src/lib.rs @@ -4,8 +4,8 @@ attr(deny(warnings, rust_2018_idioms), allow(dead_code, unused_assignments, unused_variables)) ))] #![warn(missing_docs, missing_debug_implementations, rust_2018_idioms, unreachable_pub)] -#![cfg_attr(feature = "nightly", feature(portable_simd))] #![forbid(unsafe_code)] +// #![cfg_attr(feature = "nightly", feature(portable_simd))] //! A tiny WebAssembly Runtime written in Rust //! @@ -26,7 +26,6 @@ //! With all these features disabled, `TinyWasm` only depends on `core`, `alloc` and `libm`. //! By disabling `std`, you can use `TinyWasm` in `no_std` environments. This requires //! a custom allocator and removes support for parsing from files and streams, but otherwise the API is the same. -//! Additionally, to have proper error types in `no_std`, you currently need a `nightly` compiler to use the unstable error trait in `core`. //! //! ## Getting Started //! The easiest way to get started is to use the [`Module::parse_bytes`] function to load a diff --git a/examples/rust/Cargo.toml b/examples/rust/Cargo.toml index af2391a..f691a1b 100644 --- a/examples/rust/Cargo.toml +++ b/examples/rust/Cargo.toml @@ -10,13 +10,13 @@ forced-target="wasm32-unknown-unknown" edition="2021" [dependencies] -tinywasm={path="../../crates/tinywasm", features=["parser", "std", "nightly"]} +tinywasm={path="../../crates/tinywasm", features=["parser", "std"]} argon2={version="0.5"} [[bin]] name="hello" path="src/hello.rs" - + [[bin]] name="print" path="src/print.rs" |
