File tree Expand file tree Collapse file tree 1 file changed +6
-9
lines changed
Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change 11const std = @import ("std" );
2- const builtin = @import ("builtin" );
3-
42const Build = std .Build ;
3+ const OptimizeMode = std .builtin .OptimizeMode ;
4+ const CrossTarget = std .Target .Query ;
5+ const Compile = Build .Step .Compile ;
6+ const Module = Build .Module ;
7+ const builtin = @import ("builtin" );
8+ const current_zig = builtin .zig_version ;
59
610// Minimum required Zig version for this project
711const min_zig_string = "0.12.0" ;
8- const current_zig = builtin .zig_version ;
9-
1012// NOTE: we should note that when enable tls support we cannot compile with musl
1113
1214// Compile-time check to ensure the Zig version meets the minimum requirement
@@ -19,11 +21,6 @@ comptime {
1921
2022// Define logger and useful type aliases
2123const log = std .log .scoped (.WebUI );
22- const OptimizeMode = std .builtin .OptimizeMode ;
23- const CrossTarget = std .Target .Query ;
24- const Compile = Build .Step .Compile ;
25- const Module = Build .Module ;
26-
2724// Default build configuration options
2825const default_isStatic = true ;
2926const default_enableTLS = false ;
You can’t perform that action at this time.
0 commit comments