Skip to content

Commit 354f5d8

Browse files
committed
Use build abi for building runtimes
1 parent f90db2e commit 354f5d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.zig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,13 +284,13 @@ pub fn build(b: *std.Build) void {
284284

285285
const aarch64_target = b.resolveTargetQuery(.{
286286
.cpu_arch = .aarch64,
287-
.abi = .musl,
287+
.abi = target.result.abi,
288288
.os_tag = .linux,
289289
});
290290

291291
const x86_64_target = b.resolveTargetQuery(.{
292292
.cpu_arch = .x86_64,
293-
.abi = .musl,
293+
.abi = target.result.abi,
294294
.os_tag = .linux,
295295
});
296296

0 commit comments

Comments
 (0)