We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The build.zig
const Builder = @import("std").build.Builder; pub fn build(b: *Builder) void { const target = b.standardTargetOptions(.{}); const mode = b.standardReleaseOptions(); const lib = b.addStaticLibrary("demo", "src/main.zig"); lib.setTarget(target); lib.setBuildMode(mode); lib.install(); var main_tests = b.addTest("src/main.zig"); main_tests.setBuildMode(mode); const test_step = b.step("test", "Run library tests"); test_step.dependOn(&main_tests.step); }
command:
D:\Temp\demo> zig build -Dtarget=x86_64-windows-gnu error: FileNotFound
some details: it seems try to copy libdemo.a but there only demo.lib in cache folder. crash in
zig/lib/std/build.zig
Line 2415 in 0e2d858
zig build ... --name demo ...
Lines 2102 to 2103 in 0e2d858
The text was updated successfully, but these errors were encountered:
fix ziglang#6552
6ad2c2a
use libX.a for any-windows-gnu target
Seems like a duplicate of #6483
Sorry, something went wrong.
build system: implement computeOutFilenames using std.zig.binNameAlloc
33bc1eb
See #6552 #6553 #6483 Also fixes a regression introduced in 1d777e9 of not converting an integer to a string for a command line parameter.
Fixed by 33bc1eb
andrewrk
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
The build.zig
command:
D:\Temp\demo> zig build -Dtarget=x86_64-windows-gnu error: FileNotFound
some details:
it seems try to copy libdemo.a but there only demo.lib in cache folder.
crash in
zig/lib/std/build.zig
Line 2415 in 0e2d858
and got
zig build ... --name demo ...
herezig/lib/std/build.zig
Lines 2102 to 2103 in 0e2d858
The text was updated successfully, but these errors were encountered: