1Password / arboard

A clipboard for Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fails to build on FreeBSD

mneumann opened this issue · comments

error[E0432]: unresolved import `crate::common::ScopeGuard`
  --> src/x11_clipboard.rs:45:13
   |
45 | use crate::{common::ScopeGuard, common_linux::into_unknown, Error, LinuxClipboardKind};
   |             ^^^^^^^^^^^^^^^^^^ no `ScopeGuard` in `common`

For more information about this error, try `rustc --explain E0432`.
error: could not compile `arboard` due to previous error
warning: build failed, waiting for other jobs to finish...
error: build failed

Sorry that this broke your code, I wasn't aware this crate had any usage on FreeBSD 😓.

It's a dependency of egui :). Fixed by #46

This fix is now published in version 2.1.1.