Skip to content

Commit

Permalink
Update the outdated wee_alloc Cargo.toml comment and do not use wee_a…
Browse files Browse the repository at this point in the history
…lloc when running CI tests
  • Loading branch information
ndebuhr committed Feb 21, 2022
1 parent f9f9a6c commit e8e2c3b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
key: ${{ runner.os }}-cargo-${{ matrix.rust }}-${{ hashFiles('./sim/Cargo.lock') }}
- name: Run Tests
working-directory: ./sim
run: cargo test --all-features -- --nocapture
run: cargo test --features simx,console_error_panic_hook -- --nocapture

wasm-pack:
name: Test (wasm)
Expand Down
2 changes: 0 additions & 2 deletions sim/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ console_error_panic_hook = { version = "0.1", optional = true }
# `wee_alloc` is a tiny allocator for wasm that is only ~1K in code size
# compared to the default allocator's ~10K. It is slower than the default
# allocator, however.
#
# Unfortunately, `wee_alloc` requires nightly Rust when targeting wasm for now.
wee_alloc = { version = "0.4", optional = true }

[dev-dependencies]
Expand Down
2 changes: 0 additions & 2 deletions simx/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ console_error_panic_hook = { version = "0.1.6", optional = true }
# `wee_alloc` is a tiny allocator for wasm that is only ~1K in code size
# compared to the default allocator's ~10K. It is slower than the default
# allocator, however.
#
# Unfortunately, `wee_alloc` requires nightly Rust when targeting wasm for now.
wee_alloc = { version = "0.4.5", optional = true }

[dev-dependencies]
Expand Down

0 comments on commit e8e2c3b

Please sign in to comment.