summaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorHenry Gressmann <mail@henrygressmann.de>2024-09-11 22:08:27 +0200
committerHenry Gressmann <mail@henrygressmann.de>2024-09-11 22:08:27 +0200
commit0ed6acf459ff941f3b20b3e7462e4ba1cf7fdbe5 (patch)
treeac47199562c44a915cda56880da4c6b9f87cb196 /crates
parentb0ce7fb5fe1eda408ef40340ac86118f338ececd (diff)
chore: remove nightly features for now
Signed-off-by: Henry Gressmann <mail@henrygressmann.de>
Diffstat (limited to 'crates')
-rw-r--r--crates/tinywasm/Cargo.toml2
-rw-r--r--crates/tinywasm/src/lib.rs3
2 files changed, 2 insertions, 3 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