File tree Expand file tree Collapse file tree 3 files changed +14
-5
lines changed Expand file tree Collapse file tree 3 files changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,9 @@ EXTRA_ARGS=""
3232if [ " ${OS} " = " linux" ] && [ " ${ARCH} " == " arm64" ]; then
3333 EXTRA_ARGS=" clang_base_path=\" /usr/lib/llvm-21\" clang_use_chrome_plugins=false treat_warnings_as_errors=false"
3434fi
35+ if [ " ${OS} " = " ios" ]; then
36+ EXTRA_ARGS=" v8_enable_pointer_compression=false v8_enable_webassembly=false"
37+ fi
3538
3639TARGET_ARCH=${ARCH}
3740if [ " ${ARCH} " = " amd64" ]; then
Original file line number Diff line number Diff line change @@ -23,8 +23,13 @@ case $(uname -m) in
2323 * ) fail " unsupported architecture: $( uname -m) "
2424esac
2525
26- case " $OSTYPE " in
27- darwin* ) OS=" mac" ;;
28- linux* ) OS=" linux" ;;
29- * ) fail " unsupported platform: ${OSTYPE} "
30- esac
26+ : " ${OS:= unset} "
27+ case " $OS " in
28+ unset)
29+ case " $OSTYPE " in
30+ darwin* ) OS=" mac" ;;
31+ linux* ) OS=" linux" ;;
32+ * ) fail " unsupported platform: ${OSTYPE} "
33+ esac
34+ ;;
35+ esac
Original file line number Diff line number Diff line change @@ -132,6 +132,7 @@ pub fn build(b: *std.Build) !void {
132132 const os = switch (target .result .os .tag ) {
133133 .linux = > "linux" ,
134134 .macos = > "macos" ,
135+ .ios = > "ios" ,
135136 else = > return error .UnsupportedPlatform ,
136137 };
137138
You can’t perform that action at this time.
0 commit comments