Commit 542d65fc authored by David Brown's avatar David Brown Committed by David Brown
Browse files

rust: Use zephyr-sys to get bindings

Instead of trying to manually generate the bindings, use those generated by
bindgen in the zephyr-sys crate.

Signed-off-by: default avatarDavid Brown <david.brown@linaro.org>
parent f806a3f9
Loading
Loading
Loading
Loading
+4 −1
Changes for lib/rust/zephyr/Cargo.toml: 4 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -9,8 +9,11 @@ description = """
Functionality for Rust-based applications that run on Zephyr.
"""

[dependencies]
zephyr-sys = { version = "0.1.0", path = "../zephyr-sys" }

# These are needed at build time.
# Whether these need to be vendored is an open question.  They are not
# used by the core Zephyr tree, but are needed by zephyr applications.
[build-dependencies]
zephyr-build = "0.1.0"
zephyr-build = { version = "0.1.0", path = "../zephyr-build" }