Hacker News new | ask | show | jobs
by AnIdiotOnTheNet 1181 days ago
Because there'd need to be a magical exception for the "core" namespace that makes it not just a file of Zig code somewhere like every other module.
1 comments

Isn't there already a magical exception for "root" and "builtin"?
not really, those are two modules that are always available to you, but you still have to import them like any other Zig module `const builtin = @import("builtin");`