diff options
author | Joe Wilm <joe@jwilm.com> | 2016-10-08 20:57:30 -0700 |
---|---|---|
committer | Joe Wilm <joe@jwilm.com> | 2016-10-08 20:57:30 -0700 |
commit | 5ddf5257474e5e123fd6a10cc59dba17b8d11524 (patch) | |
tree | f4d2490c21de76a304b0423acc4a80c09d7ff90f /copypasta/src/lib.rs | |
parent | 9d491f9f676536634040fea8294dc672f3466e26 (diff) | |
download | alacritty-5ddf5257474e5e123fd6a10cc59dba17b8d11524.tar.gz alacritty-5ddf5257474e5e123fd6a10cc59dba17b8d11524.zip |
Implement copypasta::Load for macos::Clipboard
Diffstat (limited to 'copypasta/src/lib.rs')
-rw-r--r-- | copypasta/src/lib.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/copypasta/src/lib.rs b/copypasta/src/lib.rs index 722142aa..9fe354f6 100644 --- a/copypasta/src/lib.rs +++ b/copypasta/src/lib.rs @@ -1,5 +1,9 @@ //! A cross-platform clipboard library +// This has to be here due to macro_use +#[cfg(target_os = "macos")] +#[macro_use] extern crate objc; + /// Types that can get the system clipboard contents pub trait Load : Sized { /// Errors encountered when working with a clipboard. Each implementation is |