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.
1.2 KiB
1.2 KiB
OQ-070: no_std + alloc support
- Origin: crates/typedef/overview.md;
docs/research/alknet-typedef/findings.md§"Open Questions" (OQ 6) - Status: deferred(scope)
- Door type: Two-way (additive — can be added as a feature gate
without changing the existing
stdAPI) - Priority: low
- Impacts: Blocks bare-metal embedded targets (microcontrollers
running Rust without
std). Does NOT block any current deployment target. Does NOT block WASM —wasm32-unknown-unknownhasstdavailable viawasm-bindgen; the crate is WASM-clean by construction (no tokio, no platform deps,jsonschemabuilds for WASM withdefault-features = false). - Blocked on: An embedded use case that requires
no_std+alloc(e.g., a microcontroller running Rust withoutstd). - Resolution: Not yet decidable. Target
stdfor v1. If embedded use cases emerge,no_std+alloccan be added as a feature gate later. The engine's core (offset computation, read/write) is already allocation-free — it operates on&[u8]slices. Thejsonschemadependency is the onlyallocconsumer. - Cross-references: ADR-095