From 5ad481451567049c0978b7288c92eca861e4d1d4 Mon Sep 17 00:00:00 2001 From: John Smith Date: Sun, 17 Dec 2023 10:05:08 -0500 Subject: [PATCH] push configuration check to veilid-server --- veilid-server/src/main.rs | 4 ++++ veilid-tools/src/ipc/ipc_async_std/windows.rs | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/veilid-server/src/main.rs b/veilid-server/src/main.rs index 03c94e63..630a9d5d 100644 --- a/veilid-server/src/main.rs +++ b/veilid-server/src/main.rs @@ -4,6 +4,9 @@ #![deny(unused_must_use)] #![recursion_limit = "256"] +#[cfg(all(feature = "rt-async-std", windows))] +compile_error! {"async-std compilation for windows is currently unsupported"} + mod client_api; mod server; mod settings; @@ -77,6 +80,7 @@ pub struct CmdlineArgs { /// Turn on OpenTelemetry tracing /// /// This option uses the GRPC OpenTelemetry protocol, not HTTP. The format for the endpoint is host:port, like 'localhost:4317' + #[cfg(feature = "opentelemetry-otlp")] #[arg(long, value_name = "endpoint")] otlp: Option, diff --git a/veilid-tools/src/ipc/ipc_async_std/windows.rs b/veilid-tools/src/ipc/ipc_async_std/windows.rs index 9ba0c76f..2a7d26d2 100644 --- a/veilid-tools/src/ipc/ipc_async_std/windows.rs +++ b/veilid-tools/src/ipc/ipc_async_std/windows.rs @@ -1 +1 @@ -compile_error!{"async-std compilation for windows is currently unsupported"} \ No newline at end of file +compile_error! {"async-std compilation for windows is currently unsupported"}