mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-27 11:05:06 +00:00
The main crate already has `#![deny(warnings)]`. Set RUSTFLAGS in CI to enforce this for other crates in the workspace.
4 lines
75 B
Rust
4 lines
75 B
Rust
fn main() {
|
|
println!("cargo::rustc-check-cfg=cfg(assert_no_panic)");
|
|
}
|