Add PosixFilePath and friends support (for AFPP)#202
Add PosixFilePath and friends support (for AFPP)#202Bodigrim merged 2 commits intohaskell:masterfrom
Conversation
cabal.project
Outdated
| source-repository-package | ||
| type: git | ||
| location: https://github.com/hasufell/filepath.git | ||
| tag: babf4068bd7e3c84b87033ed12542a34efa6a462 |
b7f1a64 to
2a96025
Compare
|
@hasufell could you please rebase? |
c98b694 to
4d7bce9
Compare
|
ping |
76b3442 to
c0fd56c
Compare
hs-viktor
left a comment
There was a problem hiding this comment.
Looks fine with minor nits. Please address those you don't object to, and rebase...
|
@hasufell could you please rebase? |
done |
|
Now that we have CI for "wasm", it is no longer in the way of routine work by wasm-agnostic maintainers. :-( |
|
I’m AFK, but either Wasm CI job should honor settings in |
567811d to
c7c32da
Compare
|
The ARM CI isn't working yet, and I should look a bit more carefully at the new Posix-flavoured Terminal.hsc. |
|
@TerrorJack |
|
Sure I'll open a PR against |
|
@Bodigrim It should work now if you restart the job; I looked into it, and it seems to be a transient network failure; I added retry logic to the curl scripts. |
|
Not due to a network failure: https://github.com/haskell/unix/runs/7280567595?check_suite_focus=true I don't know what |
|
It's now a cabal bound issue, since |
|
We might have been hit by https://gitlab.haskell.org/ghc/ghc/-/issues/21738 |
|
@hasufell Thanks for the pointer! Given |
|
To provide more context, the job is to added to test |
Yes |
|
If you push the fix at https://gist.github.com/TerrorJack/6352f35dc53e7b1b1baef4391ff86c3d, the |
8605076 to
2d86597
Compare
hs-viktor
left a comment
There was a problem hiding this comment.
LGTM. Modulo a pending rebase and ideally a successful CI run.
|
|
||
| import System.Posix.Types | ||
| import System.Posix.IO.Common | ||
| import System.Posix.IO.ByteString ( fdRead, fdWrite ) |
There was a problem hiding this comment.
We import fdRead and fdWrite from ByteString now.
|
@hasufell there are several redundant imports. GHC build will choke on warnings. |
be2f725 to
7f32a74
Compare
Depends on: haskell/filepath#103
For testing simple file operations, you can use https://github.com/hasufell/file-io (also please review the posix module)
@Bodigrim