Closed asomers closed 1 year ago
That commit looks like it's adding support for CWD.
Ah. They moved the line that disabled it.
Yeah; Haiku's AT_FDCWD
is -1, which can't currently be stored in a BorrowedFd
.
I submitted https://github.com/Stebalien/tempfile/pull/247 as a possible fix here.
fixed by #247
(3.7.1 has been released)
Tempfile 3.7.0 fails to build on Haiku:
v3.6.0 worked just fine. The problem seems to be that Rustix 0.38.0 removed
CWD
. See https://github.com/bytecodealliance/rustix/commit/23af8a8c4ca37f6fdf602a26a67d3e32a1f64e80#diff-9f7a9943fff7afdd02920889c8f84454a8968e2f8015fd1ae06742255f82fe85 . I suggest removing thepersist
method on Haiku. That should be sufficient to get compilation working again.