mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-21 10:01:42 +01:00
Merge pull request #2487 from aiongg/clipboard-wasm-imports
Clipboard: craft-platform's clipboard feature builds for wasm32
This commit is contained in:
1 file changed
+3
-1
@@ -4,7 +4,9 @@
|
||||
use std::borrow::Cow;
|
||||
use std::path::PathBuf;
|
||||
|
||||
use super::convert::{rgba8_flavor, rgba8_image, trim_cr, uri_list};
|
||||
use super::convert::{rgba8_flavor, rgba8_image};
|
||||
#[cfg(not(target_arch = "wasm32"))]
|
||||
use super::convert::{trim_cr, uri_list};
|
||||
use super::types::{BITMAP, ClipboardError, ClipboardImage, Flavor, HTML, PNG, RGBA8, TEXT, URI_LIST};
|
||||
|
||||
/// What a write did.
|
||||
|
||||
Reference in new issue
Block a user