Skip to content

Commit 6708e70

Browse files
ci: Update stable Rust to 1.82 (linebender#393)
This adds a config to silence the lint about the unexpected_cfg in the benchmarks.
1 parent 5719d80 commit 6708e70

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ env:
33
# version like 1.70. Note that we only specify MAJOR.MINOR and not PATCH so that bugfixes still
44
# come automatically. If the version specified here is no longer the latest stable version,
55
# then please feel free to submit a PR that adjusts it along with the potential clippy fixes.
6-
RUST_STABLE_VER: "1.79" # In quotes because otherwise (e.g.) 1.70 would be interpreted as 1.7
6+
RUST_STABLE_VER: "1.82" # In quotes because otherwise (e.g.) 1.70 would be interpreted as 1.7
77
# The purpose of checking with the minimum supported Rust toolchain is to detect its staleness.
88
# If the compilation fails, then the version specified here needs to be bumped up to reality.
99
# Be sure to also update the rust-version property in the workspace Cargo.toml file,

Cargo.toml

+4
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ categories = ["graphics"]
1717
[package.metadata.docs.rs]
1818
features = ["mint", "schemars", "serde"]
1919

20+
[lints]
21+
# This can be removed once we fix the benchmarks.
22+
rust.unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] }
23+
2024
[features]
2125
default = ["std"]
2226
std = []

0 commit comments

Comments
 (0)