MIR is a wiser choice
MIR is a wiser choice
Posted Sep 6, 2020 19:30 UTC (Sun) by farnz (subscriber, #17727)In reply to: MIR is a wiser choice by roc
Parent article: Supporting Linux kernel development in Rust
#[!deny(warnings)] sounds like a failure to communicate inside the build system; at the rustc level, there's a --cap-lints option to turn "deny" into "warn" or "allow". I know Cargo threads that through to dependencies, but right now, there's no easy way to supply it to cargo build, bar setting the RUSTFLAGS='-A dead_code' environment variable.
