We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
-Werror=implicit-function-declaration
1 parent 4e1ec89 commit 64282a7Copy full SHA for 64282a7
build.rs
@@ -327,6 +327,8 @@ mod c {
327
// in https://github.com/rust-lang/compiler-rt/blob/c8fbcb3/cmake/config-ix.cmake#L19.
328
cfg.flag_if_supported("-fomit-frame-pointer");
329
cfg.define("VISIBILITY_HIDDEN", None);
330
+ // Avoid implicitly creating references to undefined functions
331
+ cfg.flag("-Werror=implicit-function-declaration");
332
}
333
334
// int_util.c tries to include stdlib.h if `_WIN32` is defined,
0 commit comments