Skip to content

Commit c045e8e

Browse files
committed
cbindgen: ignore ffi modules
1 parent 214a4e2 commit c045e8e

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed

src/bar/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ pub mod imp;
33
#[cfg(not(feature = "bindings"))]
44
use self::imp::ffi;
55

6+
/// cbindgen:ignore
67
#[cfg(feature = "bindings")]
78
mod ffi;
89
#[cfg(feature = "bindings")]

src/foo/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ pub mod imp;
33
#[cfg(not(feature = "bindings"))]
44
use self::imp::ffi;
55

6+
/// cbindgen:ignore
67
#[cfg(feature = "bindings")]
78
mod ffi;
89
#[cfg(feature = "bindings")]

src/nameable/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#[cfg(not(feature = "bindings"))]
22
pub mod imp;
33

4+
/// cbindgen:ignore
45
#[cfg(feature = "bindings")]
56
mod ffi;
67
#[cfg(feature = "bindings")]

src/rstring/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#[cfg(not(feature = "bindings"))]
22
pub mod imp;
33

4+
/// cbindgen:ignore
45
#[cfg(feature = "bindings")]
56
mod ffi;
67
#[cfg(feature = "bindings")]

src/shared_rstring/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#[cfg(not(feature = "bindings"))]
22
pub mod imp;
33

4+
/// cbindgen:ignore
45
#[cfg(feature = "bindings")]
56
mod ffi;
67
#[cfg(feature = "bindings")]

0 commit comments

Comments
 (0)