xed-sys
Rust FFI bindings for Intel XED.
/// Similar to `examples/xed-min.c` from official Intel XED repository.
use *;
Cargo.toml setup
[]
= { = "https://github.com/rust-xed/xed-sys", = "master" }
Building
In order to build this crate, you need:
- Python version 2.7, 3.4 or later (to build XED).
- clang (to build XED and run bindgen).
Alternatively, you may check .travis.yml to see the dependencies installed in the CI setup.
Examples
You can find examples in the examples/ directory which can be compiled and run with Cargo. For instance, the following sequence of commands builds and runs the xed-min example:
cd examples/xed-min
cargo run