use codegen, instead of build.rs, to build header file

This commit is contained in:
Dustin J. Mitchell 2022-02-16 00:28:07 +00:00
parent 02055b122e
commit b1d537ac87
8 changed files with 76 additions and 35 deletions

10
xtask/Cargo.toml Normal file
View file

@ -0,0 +1,10 @@
[package]
name = "xtask"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
anyhow = "1.0"
cbindgen = "0.20.0"