Skip to content

Commit

Permalink
Remove the NONE case from the OS enum.
Browse files Browse the repository at this point in the history
The `none` os constraint value remains as a standard platform.

While names such as 'freestanding' or 'standalone' have been proposed,
the name remains 'none' to be consistent with the naming of targets
triples such as 'arm-none-eabi' that will satisfy this constaint.
  • Loading branch information
wildarch committed Mar 13, 2019
1 parent e6cc20e commit 8132e00
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/main/java/com/google/devtools/build/lib/util/OS.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ public enum OS {
FREEBSD("freebsd", "FreeBSD"),
LINUX("linux", "Linux"),
WINDOWS("windows", "Windows"),
NONE("none", "No OS"),
UNKNOWN("unknown", "");

private static final EnumSet<OS> POSIX_COMPATIBLE = EnumSet.of(DARWIN, FREEBSD, LINUX);
Expand Down

0 comments on commit 8132e00

Please sign in to comment.