Clarify how to disable warnings in deps
This commit is contained in:
parent
b20c899ee1
commit
69b7b0bc91
|
|
@ -141,6 +141,13 @@ to the `deny-warnings` setting in `config.toml`, the build may suddenly start
|
||||||
to fail. To work around the warnings, you may want to disable `deny-warnings`
|
to fail. To work around the warnings, you may want to disable `deny-warnings`
|
||||||
in the config, or modify the dependency to remove the warnings.
|
in the config, or modify the dependency to remove the warnings.
|
||||||
|
|
||||||
|
```toml
|
||||||
|
# /config.toml
|
||||||
|
[rust]
|
||||||
|
deny-warnings = false
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
[`libc`]: https://crates.io/crates/libc
|
[`libc`]: https://crates.io/crates/libc
|
||||||
[`cc`]: https://crates.io/crates/cc
|
[`cc`]: https://crates.io/crates/cc
|
||||||
[patch]: https://doc.rust-lang.org/stable/cargo/reference/overriding-dependencies.html#the-patch-section
|
[patch]: https://doc.rust-lang.org/stable/cargo/reference/overriding-dependencies.html#the-patch-section
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue