Skip to content

Commit 0530e1a

Browse files
Be-ingahayzen-kdab
authored andcommitted
meta_project: use extern crate rather than pub use
No need to change the privacy of these; just need to have the symbols referenced within the staticlib crate.
1 parent 2353a8f commit 0530e1a

File tree

1 file changed

+3
-3
lines changed
  • examples/meta_project/rust/main/src

1 file changed

+3
-3
lines changed

examples/meta_project/rust/main/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ mod main_object;
77

88
// Ensure the symbols from the rlib dependencies end up
99
// in the staticlib (if you use Rust symbols from these
10-
// crates in this crate, you can skip these `pub use` statements).
11-
pub use sub1;
12-
pub use sub2;
10+
// crates in this crate, you can skip these `extern crate` statements).
11+
extern crate sub1;
12+
extern crate sub2;

0 commit comments

Comments
 (0)