fix completions
build / build (push) Successful in 1m12s

This commit is contained in:
2026-08-20 18:45:22 -06:00
parent 5a173a7a3b
commit 6c29f3779a
3 changed files with 12 additions and 8 deletions
+5
View File
@@ -55,6 +55,11 @@
guile guile
rust-analyzer rust-analyzer
wasmtime wasmtime
# bashInteractive is necessary to work around an
# optparse-applicative issue
#
# https://github.com/pcapriotti/optparse-applicative/pull/408
bashInteractive
]; ];
}; };
}; };
+6 -8
View File
@@ -77,8 +77,6 @@ inspectWasm wat = do
let wasmtools_cfg let wasmtools_cfg
= proc "wasm-tools" ["print", "-pf", "--print-operand-stack" = proc "wasm-tools" ["print", "-pf", "--print-operand-stack"
,"--color", "always", "-"] ,"--color", "always", "-"]
-- & setStdin (byteStringInput . view lazy . encodeUtf8 $ wat)
-- & setStdout byteStringOutput
& setStdin createPipe & setStdin createPipe
& setStdout createPipe & setStdout createPipe
& setStderr inherit & setStderr inherit
@@ -128,12 +126,12 @@ driver opts = do
(eval >>> fmap writeObj (eval >>> fmap writeObj
>>> T.unwords >>> T.unwords
>>> hPutStrLn FS.stdout) >>> hPutStrLn FS.stdout)
dumpOrRun False (rt_is #CPS) when (rt_is #CPS) do
(pure closedCps) closedCps
(const $ pure ()) & CPS.evalProgram
(CPS.evalProgram >>> fmap writeObj & fmap writeObj
>>> T.unwords & T.unwords
>>> hPutStrLn FS.stdout) & hPutStrLn FS.stdout
dumpOrRun opts.inspectWasm (rt_is #Wasm) dumpOrRun opts.inspectWasm (rt_is #Wasm)
(lowerProgram cps) (lowerProgram cps)
inspectWasm inspectWasm
+1
View File
@@ -53,6 +53,7 @@ parser = do
, short 'o' , short 'o'
, metavar "FILE" , metavar "FILE"
, value "-" , value "-"
, action "file"
] ]
sourceFile <- argument str . fold $ sourceFile <- argument str . fold $
[ metavar "FILE" [ metavar "FILE"