Skip to content

Commit 001b709

Browse files
bushrat011899Ethiraric
authored andcommitted
Updated justfile & respective changelogs.
1 parent c00647b commit 001b709

File tree

3 files changed

+27
-0
lines changed

3 files changed

+27
-0
lines changed

justfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,16 @@ before_commit:
1111
cargo build --release --package bench_compare --bin bench_compare --manifest-path bench/tools/bench_compare/Cargo.toml
1212
cargo build --release --package walk --bin walk --manifest-path parser/tools/walk/Cargo.toml
1313
just check_doc
14+
just check_no_std
1415

1516
check_doc:
1617
RUSTDOCFLAGS="-D warnings" cargo doc --all-features --document-private-items
1718

1819
fuzz:
1920
CARGO_PROFILE_RELEASE_LTO=false cargo +nightly fuzz run parse
21+
22+
# You may need to add the wasm32v1-none target using:
23+
# rustup target add wasm32v1-none
24+
# Checks for no_std compatibility using wasm32v1-none
25+
check_no_std:
26+
cargo check -p saphyr --no-default-features --target wasm32v1-none

parser/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## Upcoming
44

5+
**Changes**:
6+
7+
- Added `no_std` support
8+
59
## v0.0.6
610

711
**Fixes**:

saphyr/CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,22 @@
22

33
## Upcoming
44

5+
**Changes**:
6+
7+
- Added `no_std` support.
8+
9+
**Breaking Changes**:
10+
11+
- `LoadError` is now a `non_exhaustive` enum.
12+
This allows adding variants with features without violating the additive
13+
nature of Cargo features.
14+
Consider using a wildcard `_` pattern to exhaustively match on `LoadError`.
15+
- `LoadError::Io` is now gated behind the `encoding` feature.
16+
Previously, `LoadError::Io` was incompatible with `no_std` due to its reliance
17+
on `std::io::Error`.
18+
This error variant would only occur with the `encoding` feature enabled; now
19+
this is codified.
20+
521
## v0.0.6
622

723
**Fixes**:

0 commit comments

Comments
 (0)