@@ -28,8 +28,6 @@ pub enum FromEnvErrorKind {
28
28
CannotOpenPath ,
29
29
/// Cannot open file descriptor from the jobserver environment variable value.
30
30
CannotOpenFd ,
31
- /// Cannot set file descriptor to non blocking
32
- CannotSetNonBlocking ,
33
31
/// The jobserver style is a simple pipe, but at least one of the file descriptors
34
32
/// is negative, which means it is disabled for this process
35
33
/// ([GNU `make` manual: POSIX Jobserver Interaction](https://www.gnu.org/software/make/manual/make.html#POSIX-Jobserver)).
@@ -49,7 +47,6 @@ impl FromEnvError {
49
47
FromEnvErrorInner :: CannotParse ( _) => FromEnvErrorKind :: CannotParse ,
50
48
FromEnvErrorInner :: CannotOpenPath ( ..) => FromEnvErrorKind :: CannotOpenPath ,
51
49
FromEnvErrorInner :: CannotOpenFd ( ..) => FromEnvErrorKind :: CannotOpenFd ,
52
- FromEnvErrorInner :: CannotSetNonBlocking ( ..) => FromEnvErrorKind :: CannotSetNonBlocking ,
53
50
FromEnvErrorInner :: NegativeFd ( ..) => FromEnvErrorKind :: NegativeFd ,
54
51
FromEnvErrorInner :: NotAPipe ( ..) => FromEnvErrorKind :: NotAPipe ,
55
52
FromEnvErrorInner :: Unsupported => FromEnvErrorKind :: Unsupported ,
@@ -65,7 +62,6 @@ impl std::fmt::Display for FromEnvError {
65
62
FromEnvErrorInner :: CannotParse ( s) => write ! ( f, "cannot parse jobserver environment variable value: {s}" ) ,
66
63
FromEnvErrorInner :: CannotOpenPath ( s, err) => write ! ( f, "cannot open path or name {s} from the jobserver environment variable value: {err}" ) ,
67
64
FromEnvErrorInner :: CannotOpenFd ( fd, err) => write ! ( f, "cannot open file descriptor {fd} from the jobserver environment variable value: {err}" ) ,
68
- FromEnvErrorInner :: CannotSetNonBlocking ( fd, err) => write ! ( f, "cannot set file descriptor {fd} to be non-blocking: {err}" ) ,
69
65
FromEnvErrorInner :: NegativeFd ( fd) => write ! ( f, "file descriptor {fd} from the jobserver environment variable value is negative" ) ,
70
66
FromEnvErrorInner :: NotAPipe ( fd, None ) => write ! ( f, "file descriptor {fd} from the jobserver environment variable value is not a pipe" ) ,
71
67
FromEnvErrorInner :: NotAPipe ( fd, Some ( err) ) => write ! ( f, "file descriptor {fd} from the jobserver environment variable value is not a pipe: {err}" ) ,
@@ -93,7 +89,6 @@ pub(crate) enum FromEnvErrorInner {
93
89
CannotParse ( String ) ,
94
90
CannotOpenPath ( String , std:: io:: Error ) ,
95
91
CannotOpenFd ( RawFd , std:: io:: Error ) ,
96
- CannotSetNonBlocking ( RawFd , std:: io:: Error ) ,
97
92
NegativeFd ( RawFd ) ,
98
93
NotAPipe ( RawFd , Option < std:: io:: Error > ) ,
99
94
Unsupported ,
0 commit comments