Skip to content

Commit f116fc2

Browse files
committed
Test the unsafe_extern_blocks feature
1 parent 3fc16c5 commit f116fc2

File tree

4 files changed

+24
-0
lines changed

4 files changed

+24
-0
lines changed

bindgen-tests/tests/expectations/tests/extern_blocks_post_1_82.rs

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

bindgen-tests/tests/expectations/tests/extern_blocks_pre_1_82.rs

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
// bindgen-flags: --no-layout-tests --rust-target=1.82
2+
3+
void cool_function(int i, char c);
4+
5+
static int cool_static;
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
// bindgen-flags: --no-layout-tests --rust-target=1.81
2+
3+
void cool_function(int i, char c);
4+
5+
static int cool_static;

0 commit comments

Comments
 (0)