docs: Update descriptions of `host_machine.system()` about Windows

There are two environments on Windows:

* When invoked in a Cygwin or MSYS2 MSYS shell, `host_machine.system()` returns `cygwin`.
* When invoked in a MSYS2 MINGW32/MINGW64/UCRT64/CLANG64/etc., `host_machine.system()` returns `windows`.
pull/13583/head
LIU Hao 5 months ago committed by Jussi Pakkanen
parent 0534753662
commit 7071ee632c
  1. 4
      docs/markdown/Reference-tables.md

@ -155,7 +155,7 @@ These are provided by the `.system()` method call.
| Value | Comment |
| ----- | ------- |
| android | By convention only, subject to change |
| cygwin | The Cygwin environment for Windows |
| cygwin | Cygwin or MSYS2 environment on Windows |
| darwin | Either OSX or iOS |
| dragonfly | DragonFly BSD |
| emscripten | Emscripten's JavaScript environment |
@ -165,7 +165,7 @@ These are provided by the `.system()` method call.
| linux | |
| netbsd | |
| openbsd | |
| windows | Any version of Windows |
| windows | Native Windows (not Cygwin or MSYS2) |
| sunos | illumos and Solaris |
Any string not listed above is not guaranteed to remain stable in

Loading…
Cancel
Save