The best way to control Claude Code, Codex and more from any computer or phone

main
patch 25 lines 1.14 KB
Raw
1 diff --git a/src/build/GhosttyZig.zig b/src/build/GhosttyZig.zig
2 index 44c300e15..f8d4296a2 100644
3 --- a/src/build/GhosttyZig.zig
4 +++ b/src/build/GhosttyZig.zig
5 @@ -123,7 +123,7 @@ fn initVt(
6 // no-libcxx mode (HWY_NO_LIBCXX / SIMDUTF_NO_LIBCXX) so we
7 // don't need libcpp. System-provided simdutf headers still
8 // use C++ stdlib headers, so we need libcpp in that case.
9 - .link_libc = if (cfg.simd) true else null,
10 + .link_libc = if (cfg.simd or cfg.target.result.abi.isAndroid()) true else null,
11 .link_libcpp = if (cfg.simd and
12 b.systemIntegrationOption("simdutf", .{}) and
13 cfg.target.result.abi != .msvc) true else null,
14 diff --git a/src/terminal/c/sys.zig b/src/terminal/c/sys.zig
15 index c4b2b17f2..afb98ed4b 100644
16 --- a/src/terminal/c/sys.zig
17 +++ b/src/terminal/c/sys.zig
18 @@ -227,6 +227,7 @@ pub fn logStderr(
19 message_len: usize,
20 ) callconv(lib.calling_conv) void {
21 if (comptime builtin.target.cpu.arch.isWasm()) return;
22 + if (comptime builtin.target.abi.isAndroid()) return;
23
24 const scope = scope_ptr[0..scope_len];
25 const message = message_ptr[0..message_len];