diff options
| author | Ryan Liptak <squeek502@hotmail.com> | 2023-06-24 15:22:56 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-06-25 01:42:12 -0700 |
| commit | b11170294052585ae81b9946d770f860d163da8f (patch) | |
| tree | eb4b73867e878ca8706b73f27eafa21ea6ccaa98 /lib/std/array_list.zig | |
| parent | 9684947faae674e093dda4c81d94f51b9568369e (diff) | |
| download | zig-b11170294052585ae81b9946d770f860d163da8f.tar.gz zig-b11170294052585ae81b9946d770f860d163da8f.zip | |
Recognize the .res extension and link it as if it were an object file
.res files are compiled Windows resource files that get linked into executables/libraries. The linker knows what to do with them, but previously you had to trick Zig into thinking it was an object file (by renaming it to have the .obj extension, for example).
After this commit, the following works:
zig build-exe main.zig resource.res
or, in build.zig:
exe.addObjectFile("resource.res");
Closes #6488
Diffstat (limited to 'lib/std/array_list.zig')
0 files changed, 0 insertions, 0 deletions
