You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since the code under test is currently compiled on all platforms.
The current tests' assertions are not guaranteed to hold outside of
Windows systems. (It would be unusual to call the functions they
are testing outside of Windows. Those functions are themselves
mainly not marked to be conditionally compiled so that their
callers uses techniques like `if cfg!(windows)` that aren't
technically conditional compilation. Those techniques are
themselves valuable because they can sometimes be simpler or more
readable than conditional compilation or easier to avoid
false-positive diagnostics, and because they allow type checking to
occur even when building on other platforms, while still usually
being fast because "runtime" conditions that are `false` constants
still facilitate removal of dead code as an optimization.) So the
tests of those functions are likewise built on all targets, but
marked conditonally ignored on non-Windows platforms.
0 commit comments