docs(typedef): clarify OQ-070 WASM vs no_std distinction
WASM (wasm32-unknown-unknown) has std via wasm-bindgen and is not blocked by this OQ. The crate is WASM-clean by construction. This OQ is about bare-metal embedded targets only.
This commit is contained in:
1 parent
c6ab00d141
commit
01cc3a0367
1 file changed
+8
-2
@@ -6,11 +6,17 @@
|
||||
- **Door type**: Two-way (additive — can be added as a feature gate
|
||||
without changing the existing `std` API)
|
||||
- **Priority**: low
|
||||
- **Impacts**: Blocks embedded/WASM-bare-metal deployment targets (microcontrollers, `no_std` environments). Does NOT block WASM-browser (has `std` via `wasm-bindgen`). Does NOT block any current deployment target.
|
||||
- **Impacts**: Blocks bare-metal embedded targets (microcontrollers
|
||||
running Rust without `std`). Does NOT block any current deployment
|
||||
target. Does NOT block WASM — `wasm32-unknown-unknown` has `std`
|
||||
available via `wasm-bindgen`; the crate is WASM-clean by construction
|
||||
(no tokio, no platform deps, `jsonschema` builds for WASM with
|
||||
`default-features = false`).
|
||||
- **Blocked on**: An embedded use case that requires `no_std` + `alloc`
|
||||
(e.g., a microcontroller running Rust without `std`).
|
||||
- **Resolution**: Not yet decidable. Target `std` for v1. If embedded
|
||||
use cases emerge, `no_std` + `alloc` can be added as a feature gate
|
||||
later. The engine's core is already allocation-free; the `jsonschema`
|
||||
later. The engine's core (offset computation, read/write) is already
|
||||
allocation-free — it operates on `&[u8]` slices. The `jsonschema`
|
||||
dependency is the only `alloc` consumer.
|
||||
- **Cross-references**: ADR-095
|
||||
Reference in new issue
Block a user