Skip to content

Commit 0dd3f63

Browse files
authored
Merge pull request #1427 from google/fix-extern-warning
Fix warning about extern with nightly.
2 parents 6a622af + a0955e6 commit 0dd3f63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

integration-tests/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ pub fn do_run_test_manual(
431431

432432
rust_code.append_all(quote! {
433433
#[link(name="autocxx-demo")]
434-
extern {}
434+
extern "C" {}
435435
});
436436
info!("Unexpanded Rust: {}", rust_code);
437437

0 commit comments

Comments
 (0)