1
1
mirror of https://github.com/tweag/asterius.git synced 2024-08-16 12:10:33 +03:00
This commit is contained in:
Cheng Shao 2021-12-21 13:28:46 +00:00
parent e176ea9541
commit 12991c4ceb
2 changed files with 6 additions and 3 deletions

View File

@ -31,3 +31,6 @@ checkC dflags cmm_stream = withTempDir "ahc-staging" $ \d -> do
let p = d </> "test.c"
_ <- withFile p WriteMode $ \h -> outputC dflags h cmm_stream
callProcess "ahc" ["-o", d </> "test.o", "-c", p]
_ <- readProcess "wasm2wat" ["--enable-all", d </> "test.o"] ""
_ <- readProcess "wasm-objdump" ["-d", d </> "test.o"] ""
pure ()

View File

@ -12,10 +12,10 @@
"homepage": "https://input-output-hk.github.io/haskell.nix",
"owner": "input-output-hk",
"repo": "haskell.nix",
"rev": "e95a1f0dacbc64603c31d11e36e4ba1af8f0eb43",
"sha256": "160cf7ha2c5wkbymy3h4skzw1l3x4i8dhj2arvq3bdz92gg1d6cb",
"rev": "ef29898dabdc25a34bb3bd2c6c32056f1edba5f1",
"sha256": "1106frgj71dmnximsmbhnbahvn2n68064z25lpx0ds8a11qpi3q8",
"type": "tarball",
"url": "https://github.com/input-output-hk/haskell.nix/archive/e95a1f0dacbc64603c31d11e36e4ba1af8f0eb43.tar.gz",
"url": "https://github.com/input-output-hk/haskell.nix/archive/ef29898dabdc25a34bb3bd2c6c32056f1edba5f1.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
"hs-nix-tools": {