| author | |
| committer | |
| log | caaa26c9f0db92c463a826f15c8392162be2e037 |
| tree | 758f8a2e68353e2f931f365952d3194ec81906a5 |
| parent | 4a387996311a025a021409f08a61bab9e9885987 |
2 files changed, 11 insertions(+), 0 deletions(-)
lib/std/build.zig+7| ... | ... | @@ -2558,3 +2558,10 @@ pub const InstalledFile = struct { |
| 2558 | 2558 | dir: InstallDir, |
| 2559 | 2559 | path: []const u8, |
| 2560 | 2560 | }; |
| 2561 | ||
| 2562 | test "" { | |
| 2563 | // The only purpose of this test is to get all these untested functions | |
| 2564 | // to be referenced to avoid regression so it is okay to skip some targets. | |
| 2565 | if (comptime std.Target.current.cpu.arch.ptrBitWidth() == 64) | |
| 2566 | std.meta.refAllDecls(@This()); | |
| 2567 | } |
lib/std/build/emit_raw.zig+4| ... | ... | @@ -215,3 +215,7 @@ pub const InstallRawStep = struct { |
| 215 | 215 | try emitRaw(builder.allocator, full_src_path, full_dest_path); |
| 216 | 216 | } |
| 217 | 217 | }; |
| 218 | ||
| 219 | test "" { | |
| 220 | std.meta.refAllDecls(InstallRawStep); | |
| 221 | } |