Files
Magisk/native/src/base
topjohnwu a70a7e67b0 Fix host build compatibility with GCC
Fix compilation errors when building host binaries (such as magiskboot)
using GCC on Linux:
- Define _GNU_SOURCE in base and boot build.rs for glibc extensions.
- Add missing <cstdarg>, <cstring>, and <memory> standard headers.
- Provide a fallback definition for __printflike on glibc.
- Implement portable strscpy without relying on BSD strlcpy.
- Add unwrap_ref in bootimg.hpp to allow binding references to packed
  struct members under GCC.
- Remove cxx_impl_annotations in codegen.rs to prevent always_inline
  from being emitted on header declarations without function bodies.

Assisted-by: Gemini 3.8 Flash
2026-10-03 06:35:05 +00:00
..
2025-08-29 01:44:06 -07:00
2026-07-31 22:57:41 -07:00
2026-10-03 06:35:05 +00:00
2026-10-03 06:35:05 +00:00
2026-10-02 17:17:48 -07:00
2026-10-02 17:17:48 -07:00
2026-10-02 17:17:48 -07:00
2025-10-02 04:03:08 -07:00
2026-10-02 17:17:48 -07:00
2026-10-02 17:17:48 -07:00
2026-10-02 17:17:48 -07:00