mirror of
https://github.com/thunderbrewhq/system.git
synced 2026-02-03 16:39:07 +00:00
fix(build): fix zig detection script
This commit is contained in:
parent
2289568b77
commit
67216b79ee
1 changed files with 2 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
const std = @import("std");
|
const std = @import("std");
|
||||||
|
|
||||||
pub fn add_defines(target: std.Build.ResolvedTarget, compile_step: *std.Build.Step.Compile) void {
|
pub fn add_defines(compile_step: *std.Build.Step.Compile) void {
|
||||||
const t = target.result;
|
const t = compile_step.rootModuleTarget();
|
||||||
|
|
||||||
// define size of pointer
|
// define size of pointer
|
||||||
var is64Bits = true;
|
var is64Bits = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue