tokio-rs / tokio-uds

Unix Domain Sockets for tokio
Apache License 2.0
52 stars 25 forks source link

ucred problems on openbsd #34

Closed Superpat closed 6 years ago

Superpat commented 6 years ago

Hi! In trying to compile pijul for openbsd 6.3-current, rustc 1.25.0,, I get the following error:

Compiling tokio-uds v0.1.7
error[E0425]: cannot find function `get_peer_cred` in module `ucred`
   --> /home/patrick/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-uds-0.1.7/src/lib.rs:310:16
    |
310 |         ucred::get_peer_cred(self)
    |                ^^^^^^^^^^^^^ not found in `ucred`

error: aborting due to previous error

error: Could not compile `tokio-uds`.
warning: build failed, waiting for other jobs to finish...
error: failed to compile `pijul v0.9.0`, intermediate artifacts can be found at `/tmp/cargo-install.DADQlJvS3dW6`

Caused by:
  build failed
Superpat commented 6 years ago

I did not see the pull request to add openbsd support.