diff options
author | Christian Duerr <chrisduerr@users.noreply.github.com> | 2019-04-01 22:27:27 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-01 22:27:27 +0000 |
commit | 5523f64c6f939ced94d55c569f592320442e8eb9 (patch) | |
tree | c1a3977bdefdf0306670a9cb894a38c58040b43b /font/src/darwin/mod.rs | |
parent | a9c6e2807f3a205ee1adc8adb732aac9215ea6cb (diff) |
Revert daemon removal
This reverts the removal of the call to libc::daemon and instead adds an
annotation to ignore the deprecation warnings on macos.
This will not be an issue in the future since macOS is only discouraging
the use of `daemon`, but I'm not aware of any intention to actually
remove it.
This fixes #2211.
Diffstat (limited to 'font/src/darwin/mod.rs')
-rw-r--r-- | font/src/darwin/mod.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/font/src/darwin/mod.rs b/font/src/darwin/mod.rs index 15a97e24..44cbdf30 100644 --- a/font/src/darwin/mod.rs +++ b/font/src/darwin/mod.rs @@ -622,7 +622,6 @@ mod tests { 101...150 => '~', 151...200 => '*', 201...255 => '#', - _ => unreachable!(), }; print!("{}", c); } |