Expand description
Build utilities for ReifyDB target detection.
This crate provides a single function to emit the reifydb_target cfg
based on the compilation target. Add this crate as a build-dependency
and call emit_target_cfg() from your build.rs.
§Supported Targets
native- Default for non-WASM targetswasm- For wasm32-unknown-unknown (JS-WASM) targetswasi- For wasm32-wasip1 (WASI) targetsdst- (Future) Deterministic software testing
Functions§
- emit_
target_ cfg - Emit the
reifydb_targetcfg based on the current compilation target.