Skip to content

Commit

Permalink
rust: Use zephyr-sys to get bindings
Browse files Browse the repository at this point in the history
Instead of trying to manually generate the bindings, use those generated by
bindgen in the zephyr-sys crate.

Signed-off-by: David Brown <david.brown@linaro.org>
  • Loading branch information
d3zd3z committed Aug 27, 2024
1 parent aaf40b5 commit 9f71cc7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/rust/zephyr/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }

0 comments on commit 9f71cc7

Please sign in to comment.