Skip to content

Commit 414fc3b

Browse files
TCROCalexrp
authored andcommitted
fix unknown file extension with rmeta
1 parent 7575f21 commit 414fc3b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: src/Compilation.zig

+2-1
Original file line numberDiff line numberDiff line change
@@ -5885,7 +5885,8 @@ pub const FileExt = enum {
58855885
pub fn hasObjectExt(filename: []const u8) bool {
58865886
return mem.endsWith(u8, filename, ".o") or
58875887
mem.endsWith(u8, filename, ".lo") or
5888-
mem.endsWith(u8, filename, ".obj");
5888+
mem.endsWith(u8, filename, ".obj") or
5889+
mem.endsWith(u8, filename, ".rmeta");
58895890
}
58905891

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

0 commit comments

Comments
 (0)