Skip to content

Commit e03309f

Browse files
committed
Small fixes to check.sh
1 parent 879fb3d commit e03309f

3 files changed

Lines changed: 3 additions & 5 deletions

File tree

Cargo.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1414,9 +1414,9 @@ checksum = "3a3076410a55c90011c298b04d0cfa770b00fa04e1e3c97d3f6c9de105a03844"
14141414

14151415
[[package]]
14161416
name = "flate2"
1417-
version = "1.1.7"
1417+
version = "1.1.9"
14181418
source = "registry+https://github.com/rust-lang/crates.io-index"
1419-
checksum = "a2152dbcb980c05735e2a651d96011320a949eb31a0c8b38b72645ce97dec676"
1419+
checksum = "843fba2746e448b37e26a819579957415c8cef339bf08564fe8b7ddbd959573c"
14201420
dependencies = [
14211421
"crc32fast",
14221422
"miniz_oxide",

scripts/check.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ set -x
99
# Checks all tests, lints etc.
1010
# Basically does what the CI does.
1111

12-
cargo +1.92 install --quiet typos-cli
12+
cargo +1.92.0 install --quiet typos-cli
1313

1414
export RUSTFLAGS="-D warnings"
1515
export RUSTDOCFLAGS="-D warnings" # https://github.com/emilk/egui/pull/1454

scripts/clippy_wasm/clippy.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,10 @@ disallowed-methods = [
3737
{ path = "poll_promise::Promise::block_until_ready_mut", reason = "Cannot block on Web" },
3838
{ path = "poll_promise::Promise::block_until_ready", reason = "Cannot block on Web" },
3939
{ path = "rayon::spawn", reason = "Cannot spawn threads on wasm" },
40-
{ path = "std::sync::mpsc::Receiver::into_iter", reason = "Cannot block on Web" },
4140
{ path = "std::sync::mpsc::Receiver::iter", reason = "Cannot block on Web" },
4241
{ path = "std::sync::mpsc::Receiver::recv_timeout", reason = "Cannot block on Web" },
4342
{ path = "std::sync::mpsc::Receiver::recv", reason = "Cannot block on Web" },
4443
{ path = "std::thread::spawn", reason = "Cannot spawn threads on wasm" },
45-
{ path = "std::time::Duration::elapsed", reason = "use `web-time` crate instead for wasm/web compatibility" },
4644
{ path = "std::time::Instant::now", reason = "use `web-time` crate instead for wasm/web compatibility" },
4745
{ path = "std::time::SystemTime::now", reason = "use `web-time` or `time` crates instead for wasm/web compatibility" },
4846
]

0 commit comments

Comments
 (0)