diff options
| author | Travis Lange <travislange12@gmail.com> | 2024-12-10 08:41:45 -0500 |
|---|---|---|
| committer | Alex Rønne Petersen <alex@alexrp.com> | 2024-12-10 21:12:55 +0100 |
| commit | 414fc3b207b2447f2ea131b57495b3480a3b4a94 (patch) | |
| tree | a2b900f3b97b4badcfb51282c2927fd9f68601f4 /src/Compilation.zig | |
| parent | 7575f212128df84c8b86ee3c89d940313380d902 (diff) | |
| download | zig-414fc3b207b2447f2ea131b57495b3480a3b4a94.tar.gz zig-414fc3b207b2447f2ea131b57495b3480a3b4a94.zip | |
fix unknown file extension with rmeta
Diffstat (limited to 'src/Compilation.zig')
| -rw-r--r-- | src/Compilation.zig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Compilation.zig b/src/Compilation.zig index 0a8e1ef157..c198b5af82 100644 --- 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 { |
