1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

v: add support for iOS crosscompilation (#5943)

This commit is contained in:
pancake
2020-07-23 06:58:44 +02:00
committed by GitHub
parent 0f98445f7f
commit 36352085ae
8 changed files with 46 additions and 8 deletions

View File

@@ -49,8 +49,8 @@ These build flags are enabled on `build` and `run` as long as the backend is set
Change the target OS that V tries to compile for.
By default, the target OS is the host system.
When OS is `cross`, V will attempt to output cross-platform C code.
List of OS supported by V: `linux`, `windows`, `mac`, `freebsd`, `openbsd`, `netbsd`,
`dragonfly`, `solaris`, `android` and `haiku`.
List of OS supported by V: `linux`, `windows`, `ios`, `mac`, `freebsd`, `openbsd`,
`netbsd`, `dragonfly`, `solaris`, `android` and `haiku`.
-sanitize
Pass flags related to sanitization to the C compiler.