comptime: enable s390x + docs (#24114)

This commit is contained in:
Mike 2025-04-05 19:00:45 +03:00 committed by GitHub
parent 7dad6e887e
commit 5211debe75
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -6286,7 +6286,7 @@ Full list of builtin options:
|--------------------------------|------------------|-------------------------------|-----------------------------------------------|
| `windows`, `linux`, `macos` | `gcc`, `tinyc` | `amd64`, `arm64`, `aarch64` | `debug`, `prod`, `test` |
| `darwin`, `ios`, `bsd` | `clang`, `mingw` | `i386`, `arm32` | `js`, `glibc`, `prealloc` |
| `freebsd`, `openbsd`, `netbsd` | `msvc` | `rv64`, `rv32` | `no_bounds_checking`, `freestanding` |
| `freebsd`, `openbsd`, `netbsd` | `msvc` | `rv64`, `rv32`, `s390x` | `no_bounds_checking`, `freestanding` |
| `android`, `mach`, `dragonfly` | `cplusplus` | `x64`, `x32` | `no_segfault_handler`, `no_backtrace` |
| `gnu`, `hpux`, `haiku`, `qnx` | | `little_endian`, `big_endian` | `no_main`, `fast_math`, `apk`, `threads` |
| `solaris`, `termux` | | | `js_node`, `js_browser`, `js_freestanding` |

View File

@ -5,7 +5,7 @@ pub const valid_comptime_if_os = ['windows', 'ios', 'macos', 'mach', 'darwin', '
'haiku', 'serenity', 'vinix', 'plan9', 'wasm32_emscripten']
pub const valid_comptime_if_compilers = ['gcc', 'tinyc', 'clang', 'mingw', 'msvc', 'cplusplus']
pub const valid_comptime_if_platforms = ['amd64', 'i386', 'aarch64', 'arm64', 'arm32', 'rv64',
'rv32']
'rv32', 's390x']
pub const valid_comptime_if_cpu_features = ['x64', 'x32', 'little_endian', 'big_endian']
pub const valid_comptime_if_other = ['apk', 'js', 'debug', 'prod', 'test', 'glibc', 'prealloc',
'no_bounds_checking', 'freestanding', 'threads', 'js_node', 'js_browser', 'js_freestanding',