From 30d90015d71d53f8c214d311d10138ea55dbaf15 Mon Sep 17 00:00:00 2001 From: DorianCoding <108593662+DorianCoding@users.noreply.github.com> Date: Thu, 20 Feb 2025 13:01:08 +0100 Subject: [PATCH] restore config --- build.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.rs b/build.rs index 40392562..07bd99a7 100644 --- a/build.rs +++ b/build.rs @@ -12,10 +12,10 @@ fn main() { #[cfg(feature = "query_logger")] println!("cargo:rustc-cfg=query_logger"); - /* #[cfg(not(any(feature = "sqlite", feature = "mysql", feature = "postgresql")))] + #[cfg(not(any(feature = "sqlite", feature = "mysql", feature = "postgresql")))] compile_error!( "You need to enable one DB backend. To build with previous defaults do: cargo build --features sqlite" - ); */ + ); // Use check-cfg to let cargo know which cfg's we define, // and avoid warnings when they are used in the code.