use deterministic order in relocatable-eh-frame tests

This test does not pass in master branch either if you flip the object
order around.
This commit is contained in:
Andrew Kelley
2024-10-21 21:05:46 -07:00
parent 3deb9ab30a
commit f2efe05155
2 changed files with 33 additions and 10 deletions

View File

@@ -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;