From 5bf2188a4fded1a04f1126e444e586e6aef47064 Mon Sep 17 00:00:00 2001 From: "Alex M. M." Date: Mon, 13 May 2024 22:14:11 +0200 Subject: [PATCH] Add `tokio_unstable` to the list of reachable `#[cfg(...)]`s --- build.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build.rs b/build.rs index 9808e9d259b..2d9b7cebfab 100644 --- a/build.rs +++ b/build.rs @@ -11,4 +11,6 @@ compile_error!( If you are unsure, go with `rustls_backend`." ); -fn main() {} +fn main() { + println!("cargo:rustc-check-cfg=cfg(tokio_unstable)"); +}