chore: make implicit function declarations a compile-time error
This commit is contained in:
parent
25cb8c7dac
commit
cf418a286e
1 changed files with 2 additions and 1 deletions
|
|
@ -370,7 +370,8 @@ impl Loader {
|
|||
.opt_level(2)
|
||||
.cargo_metadata(false)
|
||||
.target(BUILD_TARGET)
|
||||
.host(BUILD_TARGET);
|
||||
.host(BUILD_TARGET)
|
||||
.flag_if_supported("-Werror=implicit-function-declaration");
|
||||
let compiler = config.get_compiler();
|
||||
let mut command = Command::new(compiler.path());
|
||||
for (key, value) in compiler.env() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue