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

This commit is contained in:
2026-08-20 18:27:36 -06:00
parent 5a173a7a3b
commit 6c29f3779a
3 changed files with 12 additions and 8 deletions
+5
View File
@@ -55,6 +55,11 @@
guile
rust-analyzer
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
= proc "wasm-tools" ["print", "-pf", "--print-operand-stack"
,"--color", "always", "-"]
-- & setStdin (byteStringInput . view lazy . encodeUtf8 $ wat)
-- & setStdout byteStringOutput
& setStdin createPipe
& setStdout createPipe
& setStderr inherit
@@ -128,12 +126,12 @@ driver opts = do
(eval >>> fmap writeObj
>>> T.unwords
>>> hPutStrLn FS.stdout)
dumpOrRun False (rt_is #CPS)
(pure closedCps)
(const $ pure ())
(CPS.evalProgram >>> fmap writeObj
>>> T.unwords
>>> hPutStrLn FS.stdout)
when (rt_is #CPS) do
closedCps
& CPS.evalProgram
& fmap writeObj
& T.unwords
& hPutStrLn FS.stdout
dumpOrRun opts.inspectWasm (rt_is #Wasm)
(lowerProgram cps)
inspectWasm
+1
View File
@@ -53,6 +53,7 @@ parser = do
, short 'o'
, metavar "FILE"
, value "-"
, action "file"
]
sourceFile <- argument str . fold $
[ metavar "FILE"