elaborate on warnings
This commit is contained in:
parent
bf46b0f7e7
commit
451d43fad7
|
|
@ -138,8 +138,10 @@ After this, run `cargo update -p libc` to update the lockfiles.
|
||||||
Beware that if you patch to a local `path` dependency, this will enable
|
Beware that if you patch to a local `path` dependency, this will enable
|
||||||
warnings for that dependency. Some dependencies are not warning-free, and due
|
warnings for that dependency. Some dependencies are not warning-free, and due
|
||||||
to the `deny-warnings` setting in `config.toml`, the build may suddenly start
|
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.
|
||||||
in the config, or modify the dependency to remove the warnings.
|
To work around warnings, you may want to:
|
||||||
|
- Modify the dependency to remove the warnings
|
||||||
|
- Or for local development purposes, suppress the warnings by setting deny-warnings = false in config.toml.
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
# config.toml
|
# config.toml
|
||||||
|
|
@ -147,7 +149,6 @@ in the config, or modify the dependency to remove the warnings.
|
||||||
deny-warnings = false
|
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