Skip to content

Commit 90bcf18

Browse files
ci: update to stable Rust 1.87, typos 1.32.0 (#1012)
Co-authored-by: ajakubowicz-canva <[email protected]>
1 parent 377cc3c commit 90bcf18

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
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.86" # In quotes because otherwise (e.g.) 1.70 would be interpreted as 1.7
6+
RUST_STABLE_VER: "1.87" # 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,
@@ -475,4 +475,4 @@ jobs:
475475
- uses: actions/checkout@v4
476476

477477
- name: check typos
478-
uses: crate-ci/typos@v1.29.9
478+
uses: crate-ci/typos@v1.32.0

vello_shaders/src/compile/mod.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,13 @@ pub struct ShaderInfo {
8585
}
8686

8787
impl ShaderInfo {
88+
#[cfg_attr(
89+
target_pointer_width = "64",
90+
expect(
91+
clippy::result_large_err,
92+
reason = "Deferred: This is a cold code path."
93+
)
94+
)]
8895
pub fn new(name: &str, source: String, entry_point: &str) -> Result<Self> {
8996
let module = wgsl::parse_str(&source).map_err(|error| Error::new(&source, name, error))?;
9097
let module_info = naga::valid::Validator::new(ValidationFlags::all(), Capabilities::all())

0 commit comments

Comments
 (0)