Skip to content

Commit 1a3d206

Browse files
committed
Enable std-trait workaround for windows/unix targets
From `v0.1.0` to `v0.1.6` we had this enabled for windows/unix, and we inadvertantly removed it. Signed-off-by: Joe Richey <joerichey@google.com>
1 parent 6a051b8 commit 1a3d206

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,12 +164,15 @@ mod util;
164164
// for some platforms, even if they don't enable the "std" feature.
165165
#[cfg(any(
166166
feature = "std",
167+
windows,
167168
target_os = "android",
168169
target_os = "dragonfly",
169170
target_os = "emscripten",
170171
target_os = "freebsd",
172+
target_os = "fuchsia",
171173
target_os = "haiku",
172174
target_os = "illumos",
175+
target_os = "ios",
173176
target_os = "linux",
174177
target_os = "macos",
175178
target_os = "netbsd",

0 commit comments

Comments
 (0)