From bbee42f15ebf87d4f16e8998d2c9bb44a452b8ff Mon Sep 17 00:00:00 2001 From: Mike <45243121+tankf33der@users.noreply.github.com> Date: Thu, 8 May 2025 11:11:26 +0300 Subject: [PATCH] comptime: enable ppc64le, add docs (#24433) --- doc/docs.md | 6 +++--- vlib/v/ast/comptime_valid_idents.v | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/docs.md b/doc/docs.md index 5482c83f41..d93ad4fa65 100644 --- a/doc/docs.md +++ b/doc/docs.md @@ -6331,9 +6331,9 @@ 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`, `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` | +| `android`, `mach`, `dragonfly` | `cplusplus` | `ppc64le` | `no_segfault_handler`, `no_backtrace` | +| `gnu`, `hpux`, `haiku`, `qnx` | | `x64`, `x32` | `no_main`, `fast_math`, `apk`, `threads` | +| `solaris`, `termux` | | `little_endian`, `big_endian` | `js_node`, `js_browser`, `js_freestanding` | | `serenity`, `vinix`, `plan9` | | | `interpreter`, `es5`, `profile`, `wasm32` | | | | | `wasm32_emscripten`, `wasm32_wasi` | | | | | `native`, `autofree` | diff --git a/vlib/v/ast/comptime_valid_idents.v b/vlib/v/ast/comptime_valid_idents.v index 0b405a507e..88d05e2d70 100644 --- a/vlib/v/ast/comptime_valid_idents.v +++ b/vlib/v/ast/comptime_valid_idents.v @@ -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', 's390x'] + 'rv32', 's390x', 'ppc64le'] 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',