Files
status-app/mobile/scripts
Sale Djenic 99c95234d9 fix: turning off lto (Link-Time Optimization) flag for iOS builds
On iOS, Nim builds --app:staticlib, so the .a ships bitcode, and the actual LTO + codegen happens at Xcode's final link.
ThinLTO is aggressive about cross-module optimization, and it occasionally miscompiles code with subtle semantics.
The exact pattern that's failing — Nim's ORC move/destructor handling around std/json's ref-based JsonNode built
via %* (a newJObject() followed by a run of OrderedTable inserts) — is a classic place for an over-eager optimizer to
wrongly drop the populated temporary or elide the inserts, yielding an empty {}.
2026-07-22 08:45:27 +02:00
..
2026-03-14 20:54:15 +05:30
2025-06-03 16:44:03 +03:00
2026-07-07 10:44:53 +03:00
2026-03-14 20:54:15 +05:30