Skip to content

Commit 7c52996

Browse files
code review feedback - enable all the other tests
1 parent 86e9573 commit 7c52996

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

sparse_strips/vello_sparse_tests/build.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
//! This build step exists primarily for the wasm32 target testing the browser exclusive "webgl"
77
//! feature which cannot read snapshot images from the file system. Instead, the reference images
88
//! are inlined into the binary.
9-
#[cfg(not(feature = "webgl"))]
9+
#[cfg(not(target_arch = "wasm32"))]
1010
fn main() {}
11-
#[cfg(feature = "webgl")]
11+
#[cfg(target_arch = "wasm32")]
1212
fn main() {
1313
use std::fs;
1414
use std::io::Write;

sparse_strips/vello_sparse_tests/tests/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
2121
#![allow(missing_docs, reason = "we don't need docs for testing")]
2222
#![allow(clippy::cast_possible_truncation, reason = "not critical for testing")]
23-
#![cfg(all(target_arch = "wasm32", feature = "webgl"))]
23+
24+
#[cfg(all(target_arch = "wasm32", feature = "webgl"))]
2425
wasm_bindgen_test::wasm_bindgen_test_configure!(run_in_browser);
2526

2627
mod basic;

0 commit comments

Comments
 (0)