File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -258,7 +258,7 @@ pub fn build(b: *std.Build) !void {
258
258
// Utility library suite
259
259
const util_libs_step = b .step ("util_libs" , "Install utility library suite" );
260
260
261
- if (! target .result .isDarwin ()) {
261
+ if (! target .result .os . tag . isDarwin ()) {
262
262
const dislocator_lib = b .addSharedLibrary (.{
263
263
.name = "dislocator" ,
264
264
.pic = true ,
@@ -464,7 +464,7 @@ fn setupLLVMTooling(
464
464
llvm_cpp_flags .appendSliceAssumeCapacity (&.{
465
465
b .fmt ("-std={s}" , .{if (llvm_major < 10 ) "gnu++11" else if (llvm_major < 16 ) "c++14" else "c++17" }),
466
466
});
467
- if (enable_wafl and target .result .isWasm ()) {
467
+ if (enable_wafl and target .result .cpu . arch . isWasm ()) {
468
468
llvm_cpp_flags .appendSliceAssumeCapacity (&.{ "-DNDEBUG" , "-DNO_TLS" });
469
469
}
470
470
You can’t perform that action at this time.
0 commit comments