mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-03 06:53:18 +02:00
bindings/rust/libflashrom-sys: Create thin rust bindgen binding
Use bindgen to create a rust library that calls into libflashrom using FFI. BUG=b:230545739 BRANCH=None TEST=cargo test Change-Id: I36ba70de2bca8f83d2fdd6fd4c9b7c28a11624ee Signed-off-by: Evan Benn <evanbenn@chromium.org> Reviewed-on: https://review.coreboot.org/c/flashrom/+/65280 Reviewed-by: Edward O'Callaghan <quasisec@chromium.org> Reviewed-by: Peter Marheine <pmarheine@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:

committed by
Edward O'Callaghan

parent
6c1b0acc4c
commit
06d32e1147
10
bindings/rust/libflashrom-sys/Cargo.toml
Normal file
10
bindings/rust/libflashrom-sys/Cargo.toml
Normal file
@ -0,0 +1,10 @@
|
||||
[package]
|
||||
name = "libflashrom-sys"
|
||||
version = "0.1.0"
|
||||
links = "flashrom"
|
||||
build = "build.rs"
|
||||
edition = "2021"
|
||||
|
||||
[build-dependencies]
|
||||
pkg-config = "0.3.19"
|
||||
bindgen = "0.59.2"
|
Reference in New Issue
Block a user