mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-27 05:44:08 +00:00

Add a check for 2024 edition warnings so we make sure users can use Slint in a crate using the 2024 edition when it gets released. The warnings can be silenced as we don't handle types in Slint that have Drop with side effects other than memory allocations
14 lines
417 B
Rust
14 lines
417 B
Rust
// Copyright © SixtyFPS GmbH <info@slint.dev>
|
|
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-2.0 OR LicenseRef-Slint-Software-3.0
|
|
|
|
#![deny(warnings)]
|
|
#![deny(rust_2018_idioms)]
|
|
#![deny(unsafe_code)]
|
|
#![deny(rust_2024_compatibility)]
|
|
|
|
#[cfg(test)]
|
|
include!(concat!(env!("OUT_DIR"), "/generated.rs"));
|
|
|
|
fn main() {
|
|
println!("Nothing to see here, please run me through cargo test :)");
|
|
}
|