1
1
mirror of https://github.com/anoma/juvix.git synced 2024-09-11 16:26:33 +03:00

Fix benchmark wasmer command (#2268)

The benchmark run has been failing since the latest release of wasmer.


https://github.com/anoma/juvix-nightly-builds/actions/runs/5746121923/job/15575622923

wasmer no longer supports the --disable-cache option and there's no
equivalent that I can find in the new CLI.
This commit is contained in:
Paul Cadman 2023-08-03 13:44:36 +01:00 committed by GitHub
parent 22de9d0233
commit 18b664aa53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,7 +64,7 @@ defaultExt :: [String]
defaultExt = [".exe"]
runWasm :: Path Abs File -> IO ()
runWasm p = void (readProcess "wasmer" [toFilePath p, "--disable-cache"] "")
runWasm p = void (readProcess "wasmer" [toFilePath p] "")
runExe :: Path Abs File -> IO ()
runExe p = void (readProcess (toFilePath p) [] "")