push configuration check to veilid-server

This commit is contained in:
John Smith 2023-12-17 10:05:08 -05:00 committed by Christien Rioux
parent 25637e5ff5
commit 5ad4814515
2 changed files with 5 additions and 1 deletions

View File

@ -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<String>,

View File

@ -1 +1 @@
compile_error!{"async-std compilation for windows is currently unsupported"}
compile_error! {"async-std compilation for windows is currently unsupported"}