import from root (@ prefix)

This commit is contained in:
2026-07-02 08:15:07 +02:00
parent 78fb661d1a
commit 95c6c3b746
3 changed files with 20 additions and 3 deletions
+5 -1
View File
@@ -626,7 +626,11 @@
- `heap.free(ptr ?*mut u8) void` forwards to C `free`, including `none` / null
- typed allocation, allocator parameters, arenas/pools, build-mode heap policy, and escaping-allocation diagnostics remain deferred
26. comptime polymorphism (zig inspired)
26. import from project "root" (implemented)
- imports beginning with `@` resolve from the compiler process cwd / project root
- `heap :: import "@std/mem/heap"` works from any package depth without `../../../` path math
27. comptime polymorphism (zig inspired)
## A word on multi-unwrap