mirror of
https://github.com/VibedByKaKi/t3-code-android-nightly.git
synced 2026-10-09 20:01:15 +02:00
Co-authored-by: Horus Lugo <horusgoul@gmail.com> Co-authored-by: Claude Fable 5 <noreply@anthropic.com> Co-authored-by: maria-rcks <maria@kuuro.net> Co-authored-by: Shivam Sharma <91240327+shivamhwp@users.noreply.github.com> Co-authored-by: Ben Davis <45952064+bmdavis419@users.noreply.github.com> Co-authored-by: Alex <me@pixp.cc> Co-authored-by: codex <codex@users.noreply.github.com> Co-authored-by: Julius Marminge <julius@mac.lan>
25 lines
1.1 KiB
Diff
25 lines
1.1 KiB
Diff
diff --git a/src/build/GhosttyZig.zig b/src/build/GhosttyZig.zig
|
|
index 44c300e15..f8d4296a2 100644
|
|
--- a/src/build/GhosttyZig.zig
|
|
+++ b/src/build/GhosttyZig.zig
|
|
@@ -123,7 +123,7 @@ fn initVt(
|
|
// no-libcxx mode (HWY_NO_LIBCXX / SIMDUTF_NO_LIBCXX) so we
|
|
// don't need libcpp. System-provided simdutf headers still
|
|
// use C++ stdlib headers, so we need libcpp in that case.
|
|
- .link_libc = if (cfg.simd) true else null,
|
|
+ .link_libc = if (cfg.simd or cfg.target.result.abi.isAndroid()) true else null,
|
|
.link_libcpp = if (cfg.simd and
|
|
b.systemIntegrationOption("simdutf", .{}) and
|
|
cfg.target.result.abi != .msvc) true else null,
|
|
diff --git a/src/terminal/c/sys.zig b/src/terminal/c/sys.zig
|
|
index c4b2b17f2..afb98ed4b 100644
|
|
--- a/src/terminal/c/sys.zig
|
|
+++ b/src/terminal/c/sys.zig
|
|
@@ -227,6 +227,7 @@ pub fn logStderr(
|
|
message_len: usize,
|
|
) callconv(lib.calling_conv) void {
|
|
if (comptime builtin.target.cpu.arch.isWasm()) return;
|
|
+ if (comptime builtin.target.abi.isAndroid()) return;
|
|
|
|
const scope = scope_ptr[0..scope_len];
|
|
const message = message_ptr[0..message_len];
|