mirror of
https://github.com/ziglang/zig.git
synced 2026-02-13 04:48:20 +00:00
reference emit_raw in std lib tests
This commit is contained in:
parent
4a38799631
commit
caaa26c9f0
@ -2558,3 +2558,10 @@ pub const InstalledFile = struct {
|
||||
dir: InstallDir,
|
||||
path: []const u8,
|
||||
};
|
||||
|
||||
test "" {
|
||||
// The only purpose of this test is to get all these untested functions
|
||||
// to be referenced to avoid regression so it is okay to skip some targets.
|
||||
if (comptime std.Target.current.cpu.arch.ptrBitWidth() == 64)
|
||||
std.meta.refAllDecls(@This());
|
||||
}
|
||||
|
||||
@ -215,3 +215,7 @@ pub const InstallRawStep = struct {
|
||||
try emitRaw(builder.allocator, full_src_path, full_dest_path);
|
||||
}
|
||||
};
|
||||
|
||||
test "" {
|
||||
std.meta.refAllDecls(InstallRawStep);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user