Skip to content

Commit 5211deb

Browse files
authored
comptime: enable s390x + docs (#24114)
1 parent 7dad6e8 commit 5211deb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/docs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6286,7 +6286,7 @@ Full list of builtin options:
62866286
|--------------------------------|------------------|-------------------------------|-----------------------------------------------|
62876287
| `windows`, `linux`, `macos` | `gcc`, `tinyc` | `amd64`, `arm64`, `aarch64` | `debug`, `prod`, `test` |
62886288
| `darwin`, `ios`, `bsd` | `clang`, `mingw` | `i386`, `arm32` | `js`, `glibc`, `prealloc` |
6289-
| `freebsd`, `openbsd`, `netbsd` | `msvc` | `rv64`, `rv32` | `no_bounds_checking`, `freestanding` |
6289+
| `freebsd`, `openbsd`, `netbsd` | `msvc` | `rv64`, `rv32`, `s390x` | `no_bounds_checking`, `freestanding` |
62906290
| `android`, `mach`, `dragonfly` | `cplusplus` | `x64`, `x32` | `no_segfault_handler`, `no_backtrace` |
62916291
| `gnu`, `hpux`, `haiku`, `qnx` | | `little_endian`, `big_endian` | `no_main`, `fast_math`, `apk`, `threads` |
62926292
| `solaris`, `termux` | | | `js_node`, `js_browser`, `js_freestanding` |

vlib/v/ast/comptime_valid_idents.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ pub const valid_comptime_if_os = ['windows', 'ios', 'macos', 'mach', 'darwin', '
55
'haiku', 'serenity', 'vinix', 'plan9', 'wasm32_emscripten']
66
pub const valid_comptime_if_compilers = ['gcc', 'tinyc', 'clang', 'mingw', 'msvc', 'cplusplus']
77
pub const valid_comptime_if_platforms = ['amd64', 'i386', 'aarch64', 'arm64', 'arm32', 'rv64',
8-
'rv32']
8+
'rv32', 's390x']
99
pub const valid_comptime_if_cpu_features = ['x64', 'x32', 'little_endian', 'big_endian']
1010
pub const valid_comptime_if_other = ['apk', 'js', 'debug', 'prod', 'test', 'glibc', 'prealloc',
1111
'no_bounds_checking', 'freestanding', 'threads', 'js_node', 'js_browser', 'js_freestanding',

0 commit comments

Comments
 (0)