Initial commit
Test (in pplus-core) / in-core (push) Failing after 28m44s

This commit is contained in:
alexm committed 2026-11-12 22:23:48 -05:00
commit 568474d52f
1591 files changed
+528213

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
from std.memory.alloc import unsafe_alloc
def main():
# Stage a single encoder reading in a scratch buffer.
# BUG: allocate, write the value, read it back, then release it.
var ptr = unsafe_alloc(1)
ptr.unsafe_write(copy=99)
var value = ptr[]
print("Encoder count:", value)
ptr.unsafe_deinit_pointee()
ptr.unsafe_free()