@@ -142,7 +142,7 @@ struct PackagingPlanner {
142
142
var packageInputs : [ MiniMake . TaskKey ] = [ ]
143
143
144
144
// Guess the build configuration from the parent directory name of .wasm file
145
- let ( buildConfiguration, triple ) = deriveBuildConfiguration ( )
145
+ let ( buildConfiguration, _ ) = deriveBuildConfiguration ( )
146
146
let wasm : MiniMake . TaskKey
147
147
148
148
let shouldOptimize : Bool
@@ -215,7 +215,7 @@ struct PackagingPlanner {
215
215
216
216
/// Construct the test build plan and return the root task key
217
217
func planTestBuild(
218
- make: inout MiniMake ,
218
+ make: inout MiniMake
219
219
) throws -> ( rootTask: MiniMake . TaskKey , binDir: URL ) {
220
220
var ( allTasks, outputDirTask) = try planBuildInternal (
221
221
make: & make, splitDebug: false
@@ -259,7 +259,7 @@ struct PackagingPlanner {
259
259
" PACKAGE_TO_JS_MODULE_PATH " : wasmFilename,
260
260
" PACKAGE_TO_JS_PACKAGE_NAME " : options. packageName ?? packageId. lowercased ( ) ,
261
261
]
262
- let ( buildConfiguration , triple) = deriveBuildConfiguration ( )
262
+ let ( _ , triple) = deriveBuildConfiguration ( )
263
263
let conditions = [
264
264
" USE_SHARED_MEMORY " : triple == " wasm32-unknown-wasip1-threads " ,
265
265
" IS_WASI " : triple. hasPrefix ( " wasm32-unknown-wasi " ) ,
@@ -299,4 +299,4 @@ func logCommandExecution(_ command: String, _ arguments: [String]) {
299
299
var fullArguments = [ command]
300
300
fullArguments. append ( contentsOf: arguments)
301
301
print ( " $ \( fullArguments. map { " \" \( $0) \" " } . joined ( separator: " " ) ) " )
302
- }
302
+ }
0 commit comments