Require to build with rcon feature on Windows

This commit is contained in:
timvisee 2023-01-30 18:06:28 +01:00
parent 4b1857f48d
commit b609f86bde
No known key found for this signature in database
GPG Key ID: B8DB720BC383E172

7
build.rs Normal file
View File

@ -0,0 +1,7 @@
fn main() {
// rcon is required on Windows
#[cfg(all(windows, not(feature = "rcon")))]
{
compile_error!("required feature missing on Windows: rcon");
}
}