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 {
258258 // Utility library suite
259259 const util_libs_step = b .step ("util_libs" , "Install utility library suite" );
260260
261- if (! target .result .isDarwin ()) {
261+ if (! target .result .os . tag . isDarwin ()) {
262262 const dislocator_lib = b .addSharedLibrary (.{
263263 .name = "dislocator" ,
264264 .pic = true ,
@@ -464,7 +464,7 @@ fn setupLLVMTooling(
464464 llvm_cpp_flags .appendSliceAssumeCapacity (&.{
465465 b .fmt ("-std={s}" , .{if (llvm_major < 10 ) "gnu++11" else if (llvm_major < 16 ) "c++14" else "c++17" }),
466466 });
467- if (enable_wafl and target .result .isWasm ()) {
467+ if (enable_wafl and target .result .cpu . arch . isWasm ()) {
468468 llvm_cpp_flags .appendSliceAssumeCapacity (&.{ "-DNDEBUG" , "-DNO_TLS" });
469469 }
470470
You can’t perform that action at this time.
0 commit comments