Skip to content

Commit 005e64b

Browse files
committed
Do not require using extern instead of extern C
1 parent 939a2e5 commit 005e64b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

ci/style.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
//! * No trailing whitespace
1818
//! * No tabs
1919
//! * 80-character lines
20-
//! * `extern` instead of `extern "C"`
2120
//! * Specific module layout:
2221
//! 1. use directives
2322
//! 2. typedefs
@@ -126,9 +125,6 @@ fn check_style(file: &str, path: &Path, err: &mut Errors) {
126125
if line.len() > 80 {
127126
err.error(path, i, "line longer than 80 chars");
128127
}
129-
if line.contains("extern \"C\"") {
130-
err.error(path, i, "use `extern` instead of `extern \"C\"");
131-
}
132128
if line.contains("#[cfg(") && !line.contains(" if ")
133129
&& !(line.contains("target_endian") ||
134130
line.contains("target_arch"))

0 commit comments

Comments
 (0)