Skip to content

Remove cabal.project.wasm32-wasi #343

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci-wasm32-wasi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@ jobs:
cp ~/.ghc-wasm/wasi-sdk/share/misc/config.* .
autoreconf -i

cabal --project-file=cabal.project.wasm32-wasi build -w wasm32-wasi-ghc --with-ghc-pkg=wasm32-wasi-ghc-pkg --with-hsc2hs=wasm32-wasi-hsc2hs --with-gcc=wasm32-wasi-clang
cabal build -w wasm32-wasi-ghc --with-ghc-pkg=wasm32-wasi-ghc-pkg --with-hsc2hs=wasm32-wasi-hsc2hs --with-gcc=wasm32-wasi-clang

./test-wasm32-wasi.mjs
8 changes: 0 additions & 8 deletions cabal.project.wasm32-wasi

This file was deleted.

14 changes: 10 additions & 4 deletions unix.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ test-suite unix-tests

test-suite FdReadBuf001
-- JS: missing "pipe"
if arch(javascript)
if arch(javascript) || arch(wasm32)
build-depends: unbuildable<0
buildable: False

Expand All @@ -200,7 +200,9 @@ test-suite FdReadBuf001
type: exitcode-stdio-1.0
default-language: Haskell2010
build-depends: base, unix
ghc-options: -Wall -threaded
ghc-options: -Wall
if !arch(wasm32)
ghc-options: -threaded

test-suite ForkProcess01
-- JS: missing "forkProcess"
Expand Down Expand Up @@ -356,7 +358,9 @@ test-suite Semaphore002
type: exitcode-stdio-1.0
default-language: Haskell2010
build-depends: base, unix
ghc-options: -Wall -threaded
ghc-options: -Wall
if !arch(wasm32)
ghc-options: -threaded

test-suite SemaphoreInterrupt
-- JS: missing "sem_open"
Expand All @@ -369,7 +373,9 @@ test-suite SemaphoreInterrupt
type: exitcode-stdio-1.0
default-language: Haskell2010
build-depends: base, unix
ghc-options: -Wall -threaded
ghc-options: -Wall
if !arch(wasm32)
ghc-options: -threaded

test-suite T13660
hs-source-dirs: tests
Expand Down
Loading