mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Make Rust warnings conditionally fatal
Set rustc flags to treat warnings as fatal if configured with --enable-warnings.
This commit is contained in:
@@ -6,3 +6,6 @@
|
||||
|
||||
@RUST_DL@ [source.vendored-sources]
|
||||
@RUST_DL@ directory = '@TOR_RUST_DEPENDENCIES@'
|
||||
|
||||
@RUST_WARN@ [build]
|
||||
@RUST_WARN@ rustflags = [ "-D", "warnings" ]
|
||||
Reference in New Issue
Block a user