diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2024-10-21 21:05:46 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2024-10-23 16:27:39 -0700 |
| commit | f2efe051558cb7cfac6f489eb4e3adbfcbb44e4f (patch) | |
| tree | 59c090aab5e61fb4ed8dd9597db517428b881c55 /src/Compilation.zig | |
| parent | 3deb9ab30abcc418758b0365d2c0596a610555b4 (diff) | |
| download | zig-f2efe051558cb7cfac6f489eb4e3adbfcbb44e4f.tar.gz zig-f2efe051558cb7cfac6f489eb4e3adbfcbb44e4f.zip | |
use deterministic order in relocatable-eh-frame tests
This test does not pass in master branch either if you flip the object
order around.
Diffstat (limited to 'src/Compilation.zig')
| -rw-r--r-- | src/Compilation.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Compilation.zig b/src/Compilation.zig index 066dfc3220..546f98e3e4 100644 --- a/src/Compilation.zig +++ b/src/Compilation.zig @@ -6059,7 +6059,7 @@ test "classifyFileExt" { try std.testing.expectEqual(FileExt.zig, classifyFileExt("foo.zig")); } -pub fn get_libc_crt_file(comp: *Compilation, arena: Allocator, basename: []const u8) !Path { +fn get_libc_crt_file(comp: *Compilation, arena: Allocator, basename: []const u8) !Path { return (try crtFilePath(&comp.crt_files, basename)) orelse { const lci = comp.libc_installation orelse return error.LibCInstallationNotAvailable; const crt_dir_path = lci.crt_dir orelse return error.LibCInstallationMissingCrtDir; |
