From c0181e0e1cdac231e3575dbbd20244b0835d6de2 Mon Sep 17 00:00:00 2001 From: Jake Petroules Date: Fri, 30 May 2025 14:01:39 -0700 Subject: [PATCH] Fix the build on WASI chmod is now defined in the WebAssembly SDK headers. --- Package.swift | 1 - 1 file changed, 1 deletion(-) diff --git a/Package.swift b/Package.swift index 283944c..b3383af 100644 --- a/Package.swift +++ b/Package.swift @@ -24,7 +24,6 @@ let package = Package( .define("_WASI_EMULATED_SIGNAL", .when(platforms: [.wasi])), .define("_WASI_EMULATED_PROCESS_CLOCKS", .when(platforms: [.wasi])), .define("_WASI_EMULATED_GETPID", .when(platforms: [.wasi])), - .define("chmod(a,b)=0", .when(platforms: [.wasi])), ], linkerSettings: [ .linkedLibrary("wasi-emulated-signal", .when(platforms: [.wasi])),