diff options
Diffstat (limited to 'src/Compilation.zig')
| -rw-r--r-- | src/Compilation.zig | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Compilation.zig b/src/Compilation.zig index a5bf7a0ebb..e236fcea43 100644 --- a/src/Compilation.zig +++ b/src/Compilation.zig @@ -1358,7 +1358,7 @@ pub fn performAllTheWork(self: *Compilation) error{ TimerUnsupported, OutOfMemor self.failed_c_objects.putAssumeCapacityNoClobber(c_object, try ErrorMsg.create( self.gpa, 0, - "unable to build C object: {}", + "unable to build C object: {s}", .{@errorName(err)}, )); c_object.status = .{ .failure = {} }; @@ -2356,7 +2356,8 @@ fn wantBuildGLibCFromSource(comp: Compilation) bool { } fn wantBuildMuslFromSource(comp: Compilation) bool { - return comp.wantBuildLibCFromSource() and comp.getTarget().isMusl(); + return comp.wantBuildLibCFromSource() and comp.getTarget().isMusl() and + !comp.getTarget().isWasm(); } fn wantBuildMinGWFromSource(comp: Compilation) bool { |
