Skip to content

Commit c5fb7ae

Browse files
committed
Disable broken image/svg tests under wasm32.
1 parent 23ccc5e commit c5fb7ae

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

druid/src/widget/image.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@ impl Default for ImageData {
213213
}
214214
}
215215

216+
#[cfg(not(target_arch = "wasm32"))]
216217
#[cfg(test)]
217218
mod tests {
218219
use super::*;

druid/src/widget/svg.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,7 @@ fn color_from_usvg(paint: &usvg::Paint, opacity: usvg::Opacity) -> Color {
239239
}
240240
}
241241

242+
#[cfg(not(target_arch = "wasm32"))]
242243
#[cfg(test)]
243244
mod tests {
244245
use super::*;

0 commit comments

Comments
 (0)