diff --git a/build.zig b/build.zig index b2252906b..147516be0 100644 --- a/build.zig +++ b/build.zig @@ -276,7 +276,7 @@ pub fn buildAndLinkDeps(step: *std.build.Step.Compile, opts: Options) !void { if (vmEngine == .c) { const lib = try buildCVM(b, opts); if (opts.target.getCpuArch().isWasm()) { - step.stack_protector = false; + lib.stack_protector = false; } step.linkLibrary(lib); }