Clipboard: the native-only conversions are imported only off wasm

This commit is contained in:
aiongg
2026-11-20 02:55:37 +00:00
parent bbe5b514a8
commit fa8447050d
+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.