Generate cxx binding in build.rs

This commit is contained in:
topjohnwu
2023-05-19 15:16:54 -07:00
parent 57bd450798
commit 2bcf2e76f1
27 changed files with 169 additions and 49 deletions
+3
View File
@@ -6,6 +6,9 @@ edition = "2021"
[lib]
path = "lib.rs"
[build-dependencies]
cxx-gen = { path = "../external/cxx-rs/gen/lib" }
[dependencies]
cxx = { path = "../external/cxx-rs" }
libc = "0.2"