Skip to content

Commit

Permalink
fix unknown file extension with rmeta
Browse files Browse the repository at this point in the history
  • Loading branch information
TCROC authored and alexrp committed Dec 10, 2024
1 parent 7575f21 commit 414fc3b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Compilation.zig
Original file line number Diff line number Diff line change
Expand Up @@ -5885,7 +5885,8 @@ pub const FileExt = enum {
pub fn hasObjectExt(filename: []const u8) bool {
return mem.endsWith(u8, filename, ".o") or
mem.endsWith(u8, filename, ".lo") or
mem.endsWith(u8, filename, ".obj");
mem.endsWith(u8, filename, ".obj") or
mem.endsWith(u8, filename, ".rmeta");
}

pub fn hasStaticLibraryExt(filename: []const u8) bool {
Expand Down

0 comments on commit 414fc3b

Please sign in to comment.