Skip to content

Commit 20e1676

Browse files
committed
make clippy only run on library
1 parent bbf0192 commit 20e1676

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/rust-checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ jobs:
3636
- uses: actions-rs/cargo@v1
3737
with:
3838
command: clippy
39-
args: --all --all-targets -- -D warnings
39+
args: --all --lib -- -D warnings

tests/message-board-sync.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const SAPLING_EFVK: &str = "zxviews1q0duytgcqqqqpqre26wkl45gvwwwd706xw608hucmvfa
2121
#[wasm_bindgen_test]
2222
async fn test_message_board() {
2323
initialize();
24-
#[cfg(all(feature = "wasm-parallel"))]
24+
#[cfg(feature = "wasm-parallel")]
2525
let _ = wasm_bindgen_futures::JsFuture::from(wasm_bindgen_rayon::init_thread_pool(10)).await;
2626
let main_handler = thread::Builder::new()
2727
.spawn_async(|| async {

tests/simple-sync-and-send.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ pub fn initialize() {
2323
#[wasm_bindgen_test]
2424
async fn test_get_and_scan_range() {
2525
initialize();
26-
#[cfg(all(feature = "wasm-parallel"))]
26+
#[cfg(feature = "wasm-parallel")]
2727
let _ = JsFuture::from(wasm_bindgen_rayon::init_thread_pool(10)).await;
2828
assert!(!thread::is_web_worker_thread());
2929
let main_handler = thread::Builder::new().spawn_async(|| async {

0 commit comments

Comments
 (0)