Merge pull request #2487 from aiongg/clipboard-wasm-imports

Clipboard: craft-platform's clipboard feature builds for wasm32
This commit is contained in:
aiongg authored and GitHub committed 2026-11-19 23:24:47 -05:00
commit 3e9bbdff11
1 file changed
+3 -1
+3 -1
View File
@@ -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.