mirror of
https://github.com/deuxfleurs-org/garage.git
synced 2026-09-04 19:25:42 +00:00
Error messages when system-libs XOR bundled-libs != 1
This commit is contained in:
@@ -11,6 +11,12 @@ mod server;
|
|||||||
#[cfg(feature = "telemetry-otlp")]
|
#[cfg(feature = "telemetry-otlp")]
|
||||||
mod tracing_setup;
|
mod tracing_setup;
|
||||||
|
|
||||||
|
#[cfg(not(any(feature = "bundled-libs", feature = "system-libs")))]
|
||||||
|
compile_error!("Either bundled-libs or system-libs Cargo feature must be enabled");
|
||||||
|
|
||||||
|
#[cfg(all(feature = "bundled-libs", feature = "system-libs"))]
|
||||||
|
compile_error!("Only one of bundled-libs and system-libs Cargo features must be enabled");
|
||||||
|
|
||||||
use std::net::SocketAddr;
|
use std::net::SocketAddr;
|
||||||
use std::path::PathBuf;
|
use std::path::PathBuf;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user