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

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");
}
}