File tree Expand file tree Collapse file tree 1 file changed +1
-17
lines changed
Expand file tree Collapse file tree 1 file changed +1
-17
lines changed Original file line number Diff line number Diff line change @@ -20,22 +20,6 @@ import NIOPosix
2020import SystemPackage
2121import WasmKitGDBHandler
2222
23- #if hasFeature(RetroactiveAttribute)
24- extension Logger . Level : @retroactive ExpressibleByArgument { }
25- extension FilePath : @retroactive ExpressibleByArgument {
26- public init ? ( argument: String ) {
27- self . init ( argument)
28- }
29- }
30- #else
31- extension Logger . Level : ExpressibleByArgument { }
32- extension FilePath : ExpressibleByArgument {
33- public init ? ( argument: String ) {
34- self . init ( argument)
35- }
36- }
37- #endif
38-
3923@main
4024struct Entrypoint : AsyncParsableCommand {
4125 @Option ( help: " TCP port that a debugger can connect to " )
@@ -52,7 +36,7 @@ struct Entrypoint: AsyncParsableCommand {
5236 )
5337 var logLevel = Logger . Level. info
5438
55- @Argument
39+ @Argument ( transform : { FilePath ( $0 ) } )
5640 var wasmModulePath : FilePath
5741
5842 func run( ) async throws {
You can’t perform that action at this time.
0 commit comments