Skip to content

Commit bee7752

Browse files
committed
Use patched version of autocxx
This includes [1] and [2], which are both needed to generate bindings from content_decryption_module.h without errors. If and when upstream takes the fixes, we can pull from crates.io again. [1] google/autocxx#1478 [2] google/autocxx#1481
1 parent dad0641 commit bee7752

File tree

3 files changed

+7
-16
lines changed

3 files changed

+7
-16
lines changed

Cargo.lock

+5-10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ authors = ["Thomas Hebb <[email protected]>"]
99
edition = "2024"
1010

1111
[dependencies]
12-
autocxx = "0.30"
12+
autocxx = { git = "https://github.com/tchebb/autocxx.git", branch = "openwv-fixes" }
1313
cxx = "1"
1414
prost = "0.13"
1515
thiserror = "2"
@@ -32,7 +32,7 @@ cbc = { version = "0.1", features = ["std"] }
3232
ctr = { version = "0.9", features = ["std"] }
3333

3434
[build-dependencies]
35-
autocxx-build = "0.30"
35+
autocxx-build = { git = "https://github.com/tchebb/autocxx.git", branch = "openwv-fixes" }
3636
prost-build = "0.13"
3737
thiserror = "2"
3838

src/lib.rs

-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
// TODO: Remove once we've updated autocxx to a version with
2-
// https://github.com/google/autocxx/pull/1473
3-
#![allow(unsafe_op_in_unsafe_fn)]
4-
51
use autocxx::include_cpp;
62

73
mod config;

0 commit comments

Comments
 (0)