From eb90f76b423a9c0f5e2973f7fff2c25c9df2e242 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Tue, 20 Aug 2019 16:38:01 -0700 Subject: [PATCH] Add #![cfg(windows)] to allow publishing from non-Windows hosts. --- winx/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/winx/src/lib.rs b/winx/src/lib.rs index 05cdbfe490..f017a7fe2b 100644 --- a/winx/src/lib.rs +++ b/winx/src/lib.rs @@ -19,6 +19,7 @@ clippy::use_self ) )] +#![cfg(windows)] #[macro_use] extern crate bitflags;