Haiku: add workaround for missing F_DUPFD_CLOEXEC

The src/libstd/sys/unix/net.rs file depends on it. It is missing
from Haiku. This workaround should actually 'fix' the problem,
but it turns out the fds-are-cloexec.rs test hangs. I do not
know how related these two issues are, but it warrants further
investigation.

The test is ignored on this platform for now.

* Hand rebased from Niels original work on 1.9.0
This commit is contained in:
Niels Sascha Reedijk 2016-09-24 23:42:50 -05:00 committed by Alexander von Gluck IV
parent 783ab7766f
commit ba6eb57909

View file

@ -11,6 +11,7 @@
// ignore-windows
// ignore-android
// ignore-emscripten
// ignore-haiku
#![feature(libc)]