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 c04eb9e commit 97c266eCopy full SHA for 97c266e
build.rs
@@ -321,6 +321,8 @@ mod c {
321
// in https://github.com/rust-lang/compiler-rt/blob/c8fbcb3/cmake/config-ix.cmake#L19.
322
cfg.flag_if_supported("-fomit-frame-pointer");
323
cfg.define("VISIBILITY_HIDDEN", None);
324
+ // Avoid implicitly creating references to undefined functions
325
+ cfg.flag("-Werror=implicit-function-declaration");
326
}
327
328
// int_util.c tries to include stdlib.h if `_WIN32` is defined,
0 commit comments