@@ -142,7 +142,7 @@ struct PackagingPlanner {
142142 var packageInputs : [ MiniMake . TaskKey ] = [ ]
143143
144144 // Guess the build configuration from the parent directory name of .wasm file
145- let ( buildConfiguration, triple ) = deriveBuildConfiguration ( )
145+ let ( buildConfiguration, _ ) = deriveBuildConfiguration ( )
146146 let wasm : MiniMake . TaskKey
147147
148148 let shouldOptimize : Bool
@@ -215,7 +215,7 @@ struct PackagingPlanner {
215215
216216 /// Construct the test build plan and return the root task key
217217 func planTestBuild(
218- make: inout MiniMake ,
218+ make: inout MiniMake
219219 ) throws -> ( rootTask: MiniMake . TaskKey , binDir: URL ) {
220220 var ( allTasks, outputDirTask) = try planBuildInternal (
221221 make: & make, splitDebug: false
@@ -259,7 +259,7 @@ struct PackagingPlanner {
259259 " PACKAGE_TO_JS_MODULE_PATH " : wasmFilename,
260260 " PACKAGE_TO_JS_PACKAGE_NAME " : options. packageName ?? packageId. lowercased ( ) ,
261261 ]
262- let ( buildConfiguration , triple) = deriveBuildConfiguration ( )
262+ let ( _ , triple) = deriveBuildConfiguration ( )
263263 let conditions = [
264264 " USE_SHARED_MEMORY " : triple == " wasm32-unknown-wasip1-threads " ,
265265 " IS_WASI " : triple. hasPrefix ( " wasm32-unknown-wasi " ) ,
@@ -299,4 +299,4 @@ func logCommandExecution(_ command: String, _ arguments: [String]) {
299299 var fullArguments = [ command]
300300 fullArguments. append ( contentsOf: arguments)
301301 print ( " $ \( fullArguments. map { " \" \( $0) \" " } . joined ( separator: " " ) ) " )
302- }
302+ }
0 commit comments