examples: always build in debug mode

There's no reason I can think of for these to be optimized.
This commit is contained in:
torque 2023-08-23 22:25:36 -07:00
parent 18205a5533
commit 1256feb7ef
Signed by: torque
SSH Key Fingerprint: SHA256:nCrXefBNo6EbjNSQhv0nXmEg/VuNq3sMF5b8zETw3Tk

View File

@ -64,7 +64,7 @@ pub fn add_examples(b: *std.build, options: ExampleOptions) void {
.name = example.name, .name = example.name,
.root_source_file = .{ .path = example.file }, .root_source_file = .{ .path = example.file },
.target = options.target, .target = options.target,
.optimize = options.optimize, .optimize = .Debug,
}); });
ex_exe.addModule("nats", options.nats_module); ex_exe.addModule("nats", options.nats_module);