File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -138,16 +138,17 @@ After this, run `cargo update -p libc` to update the lockfiles.
138
138
Beware that if you patch to a local ` path ` dependency, this will enable
139
139
warnings for that dependency. Some dependencies are not warning-free, and due
140
140
to the ` deny-warnings ` setting in ` config.toml ` , the build may suddenly start
141
- to fail. To work around the warnings, you may want to disable ` deny-warnings `
142
- in the config, or modify the dependency to remove the warnings.
141
+ to fail.
142
+ To work around warnings, you may want to:
143
+ - Modify the dependency to remove the warnings
144
+ - Or for local development purposes, suppress the warnings by setting deny-warnings = false in config.toml.
143
145
144
146
``` toml
145
147
# config.toml
146
148
[rust ]
147
149
deny-warnings = false
148
150
```
149
151
150
-
151
152
[ `libc` ] : https://crates.io/crates/libc
152
153
[ `cc` ] : https://crates.io/crates/cc
153
154
[ patch ] : https://doc.rust-lang.org/stable/cargo/reference/overriding-dependencies.html#the-patch-section
You can’t perform that action at this time.
0 commit comments