mirror of https://github.com/yewstack/yew
Fix CI for 1.80 (#3691)
* fix rust 1.80 lints * attempt to fix benchmark ci
This commit is contained in:
parent
89c9dfe527
commit
37e668b19b
|
@ -49,6 +49,10 @@ jobs:
|
|||
cache-dependency-path: js-framework-benchmark/package-lock.json
|
||||
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
- name: Setup chrome
|
||||
uses: browser-actions/setup-chrome@v1
|
||||
with:
|
||||
install-chromedriver: true
|
||||
|
||||
- name: setup js-framework-benchmark
|
||||
working-directory: js-framework-benchmark
|
||||
|
|
|
@ -20,3 +20,4 @@ lto = true
|
|||
codegen-units = 1
|
||||
panic = "abort"
|
||||
opt-level = 3
|
||||
|
||||
|
|
|
@ -28,3 +28,7 @@ prettyplease = "0.2"
|
|||
rustversion = "1"
|
||||
trybuild = "1"
|
||||
yew = { path = "../yew" }
|
||||
|
||||
[lints.rust]
|
||||
unexpected_cfgs = { level = "allow", check-cfg = ['cfg(nightly_yew)'] }
|
||||
|
||||
|
|
|
@ -100,3 +100,7 @@ default = []
|
|||
[package.metadata.docs.rs]
|
||||
all-features = true
|
||||
rustdoc-args = ["--cfg", "documenting"]
|
||||
|
||||
[lints.rust]
|
||||
unexpected_cfgs = { level = "allow", check-cfg = ['cfg(nightly_yew)'] }
|
||||
|
||||
|
|
|
@ -248,6 +248,7 @@ impl BList {
|
|||
let rights_to = rev_bundles.len() - matching_len_start;
|
||||
let mut spliced_middle =
|
||||
rev_bundles.splice(matching_len_end..rights_to, std::iter::empty());
|
||||
#[allow(clippy::mutable_key_type)]
|
||||
let mut spare_bundles: HashSet<KeyedEntry> =
|
||||
HashSet::with_capacity((matching_len_end..rights_to).len());
|
||||
for (idx, r) in (&mut spliced_middle).enumerate() {
|
||||
|
|
Loading…
Reference in New Issue