zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 414fc3b207b2447f2ea131b57495b3480a3b4a94 (tree)
parent 7575f212128df84c8b86ee3c89d940313380d902
Author: Travis Lange <travislange12@gmail.com>
Date:   Tue, 10 Dec 2024 08:41:45 -0500

fix unknown file extension with rmeta

Diffstat:
Msrc/Compilation.zig | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/Compilation.zig b/src/Compilation.zig @@ -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 {