mirror of
https://github.com/ziglang/zig.git
synced 2024-12-02 18:12:34 +00:00
60cd11bd4b
It had the downside of running all the comptime blocks and resolving all the usingnamespaces of each system, when just trying to discover if the current system is a particular one. For Darwin, where it's nice to use `std.Target.current.isDarwin()`, this demonstrates the utility that #425 would provide.
4 lines
101 B
Zig
4 lines
101 B
Zig
const std = @import("../std.zig");
|
|
pub usingnamespace std.c;
|
|
pub usingnamespace @import("bits.zig");
|