File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -30,8 +30,11 @@ pub fn build(b: *std.Build) !void {
3030 });
3131 try addCommonRequirements (mod , & deps );
3232
33+ // Workaround: uucode's generated tables trigger a crash in Zig's
34+ // self-hosted x86_64 backend. Force LLVM until this is resolved upstream.
3335 const exe = b .addExecutable (.{
3436 .name = "koino" ,
37+ .use_llvm = true ,
3538 .root_module = b .createModule (.{
3639 .root_source_file = b .path ("src/main.zig" ),
3740
@@ -57,6 +60,7 @@ pub fn build(b: *std.Build) !void {
5760
5861 const example = b .addExecutable (.{
5962 .name = "koino_example" ,
63+ .use_llvm = true ,
6064 .root_module = b .createModule (.{
6165 .root_source_file = b .path ("examples/to-html.zig" ),
6266
@@ -78,6 +82,7 @@ pub fn build(b: *std.Build) !void {
7882 example_run_step .dependOn (& example_run_cmd .step );
7983
8084 const test_exe = b .addTest (.{
85+ .use_llvm = true ,
8186 .root_module = b .createModule (.{
8287 .root_source_file = b .path ("src/main.zig" ),
8388
You can’t perform that action at this time.
0 commit comments