ReviewOS

also looking at this

craft-native/craft

feat(android): getMemoryUsage and log — ratchet 102 -> 100

#143
Merged chris wants to merge feat/android-tier0-memory-log into main
7 files +377 -3
packages/zig/test/android_conformance_test.zigmodified+4-2
Changes to packages/zig/test/android_conformance_test.zig
@@ -40,6 +40,7 @@ const dispatch_source = @embedFile("src/android_dispatch.zig");
4040/// migrated actions the scan cannot see read as "still owed".
4141const zig_sources = [_][]const u8{
4242 @embedFile("src/bridge_android_device.zig"),
43 @embedFile("src/bridge_android_system.zig"),
4344};
4445
4546/// How many spec actions Zig does not serve yet.
@@ -48,8 +49,9 @@ const zig_sources = [_][]const u8{
4849/// costs. If it ever needs raising, something has left Zig without leaving the
4950/// Kotlin, and that is the conversation this constant exists to force.
5051///
51/// History: 103 at the seam; 102 with getDeviceInfo.
52const max_not_yet_migrated: usize = 102;
52/// History: 103 at the seam; 102 with getDeviceInfo; 100 with getMemoryUsage
53/// and log — the first two that need no Activity at all.
54const max_not_yet_migrated: usize = 100;
5355
5456/// Every `@JavascriptInterface fun <name>(` in the Kotlin bridge.
5557///