We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4e1ec89 + 64282a7 commit 8bc5b9cCopy full SHA for 8bc5b9c
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