Skip to main content

Crate reifydb_build

Crate reifydb_build 

Source
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 targets
  • wasm - For wasm32-unknown-unknown (JS-WASM) targets
  • wasi - For wasm32-wasip1 (WASI) targets
  • dst - (Future) Deterministic software testing

Functions§

emit_target_cfg
Emit the reifydb_target cfg based on the current compilation target.