Skip to content
This repository was archived by the owner on Oct 3, 2025. It is now read-only.

Commit 0ed6acf

Browse files
chore: remove nightly features for now
Signed-off-by: Henry Gressmann <[email protected]>
1 parent b0ce7fb commit 0ed6acf

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

crates/tinywasm/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ logging=["log", "tinywasm-parser?/logging", "tinywasm-types/logging"]
3535
std=["tinywasm-parser?/std", "tinywasm-types/std"]
3636
parser=["dep:tinywasm-parser"]
3737
archive=["tinywasm-types/archive"]
38-
nightly=[]
38+
# nightly=[]
3939

4040
[[test]]
4141
name="test-wasm-1"

crates/tinywasm/src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
attr(deny(warnings, rust_2018_idioms), allow(dead_code, unused_assignments, unused_variables))
55
))]
66
#![warn(missing_docs, missing_debug_implementations, rust_2018_idioms, unreachable_pub)]
7-
#![cfg_attr(feature = "nightly", feature(portable_simd))]
87
#![forbid(unsafe_code)]
8+
// #![cfg_attr(feature = "nightly", feature(portable_simd))]
99

1010
//! A tiny WebAssembly Runtime written in Rust
1111
//!
@@ -26,7 +26,6 @@
2626
//! With all these features disabled, `TinyWasm` only depends on `core`, `alloc` and `libm`.
2727
//! By disabling `std`, you can use `TinyWasm` in `no_std` environments. This requires
2828
//! a custom allocator and removes support for parsing from files and streams, but otherwise the API is the same.
29-
//! Additionally, to have proper error types in `no_std`, you currently need a `nightly` compiler to use the unstable error trait in `core`.
3029
//!
3130
//! ## Getting Started
3231
//! The easiest way to get started is to use the [`Module::parse_bytes`] function to load a

examples/rust/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ forced-target="wasm32-unknown-unknown"
1010
edition="2021"
1111

1212
[dependencies]
13-
tinywasm={path="../../crates/tinywasm", features=["parser", "std", "nightly"]}
13+
tinywasm={path="../../crates/tinywasm", features=["parser", "std"]}
1414
argon2={version="0.5"}
1515

1616
[[bin]]
1717
name="hello"
1818
path="src/hello.rs"
19-
19+
2020
[[bin]]
2121
name="print"
2222
path="src/print.rs"

0 commit comments

Comments
 (0)