Skip to content

Commit 542d65f

Browse files
committed
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: David Brown <[email protected]>
1 parent f806a3f commit 542d65f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/rust/zephyr/Cargo.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,11 @@ description = """
99
Functionality for Rust-based applications that run on Zephyr.
1010
"""
1111

12+
[dependencies]
13+
zephyr-sys = { version = "0.1.0", path = "../zephyr-sys" }
14+
1215
# These are needed at build time.
1316
# Whether these need to be vendored is an open question. They are not
1417
# used by the core Zephyr tree, but are needed by zephyr applications.
1518
[build-dependencies]
16-
zephyr-build = "0.1.0"
19+
zephyr-build = { version = "0.1.0", path = "../zephyr-build" }

0 commit comments

Comments
 (0)