mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-15 03:25:46 -04:00
Cargo nightly now checks whether a cfg option exists. We need to declare the custom options we use and fix those that are wrong. Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
8 lines
255 B
Rust
8 lines
255 B
Rust
fn main() {
|
|
// Prevent unnecessary rerunning of this build script
|
|
println!("cargo:rerun-if-changed=build.rs");
|
|
|
|
// Prevent nightly CI from erroring on tarpaulin_include attribute
|
|
println!("cargo:rustc-check-cfg=cfg(tarpaulin_include)");
|
|
}
|