mirror of
https://github.com/ziglang/zig.git
synced 2025-12-12 01:03:13 +00:00
* introduce std.atomic.Int
* add src-self-hosted/test.zig which is tested by the main test suite
- it fully utilizes the multithreaded async/await event loop so the
tests should Go Fast
* `stage2/bin/zig build-obj test.zig` is able to spit out an error if 2 exported
functions collide
* ability for `zig test` to accept `--object` and `--assembly`
arguments
* std.build: TestStep supports addLibPath and addObjectFile
12 lines
355 B
Zig
12 lines
355 B
Zig
pub const Stack = @import("stack.zig").Stack;
|
|
pub const QueueMpsc = @import("queue_mpsc.zig").QueueMpsc;
|
|
pub const QueueMpmc = @import("queue_mpmc.zig").QueueMpmc;
|
|
pub const Int = @import("int.zig").Int;
|
|
|
|
test "std.atomic" {
|
|
_ = @import("stack.zig");
|
|
_ = @import("queue_mpsc.zig");
|
|
_ = @import("queue_mpmc.zig");
|
|
_ = @import("int.zig");
|
|
}
|