iree-embedded-sys 0.1.0

Raw FFI bindings to the IREE bare-metal runtime for no_std Cortex-M targets.
docs.rs failed to build iree-embedded-sys-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.

iree-embedded-sys

crates.io docs.rs license

Raw bindgen FFI bindings to the IREE bare-metal runtime, for no_std Cortex-M targets. This is the unsafe -sys layer; most users want the safe wrapper, iree-embedded.

Runtime dependency

The build script links the IREE C runtime, which cargo does not build itself. It resolves the runtime in this order:

  1. IREE_RUNTIME_DIR (archives) and IREE_SRC_DIR (headers), if set, a local build, used for development.
  2. Otherwise it downloads the prebuilt runtime artefact matching your target from the project's GitHub releases and verifies its checksum.

Bindings for the Cortex-M target are committed, so building for thumbv7em-none-eabihf (the deployment target) needs no libclang. Host-target builds, used for cargo test, regenerate their bindings and so do require libclang. Force a refresh of the committed bindings with IREE_EMBEDDED_REGENERATE_BINDINGS=1.

Licence

Licensed under either of Apache-2.0 or MIT at your option.