Skip to content

Commit

Permalink
adjust workfloow
Browse files Browse the repository at this point in the history
  • Loading branch information
dskvr committed Sep 14, 2024
1 parent 73ec4c0 commit 92a600c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,14 @@ jobs:
toolchain: stable
target: wasm32-unknown-unknown

- uses: qmaru/[email protected]
- name: Install wasm-pack
uses: qmaru/[email protected]
with:
version: 'latest'

- name: Build with wasm-pack
- name: Clean and Build with wasm-pack
run: |
export RUSTFLAGS="-A warnings"
cargo clean
wasm-pack build --target web --release
- name: Prepare Demo Directory
Expand Down
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,6 @@ pub fn mine_event(
let should_cancel = should_cancel.dyn_into::<Function>().ok();

let mut best_pow: u32 = 0;

#[allow(unused_assignments)]
let mut best_nonce: u64 = 0;
#[allow(unused_assignments)]
Expand Down

0 comments on commit 92a600c

Please sign in to comment.