File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
vello_shaders/src/compile Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 3
3
# version like 1.70. Note that we only specify MAJOR.MINOR and not PATCH so that bugfixes still
4
4
# come automatically. If the version specified here is no longer the latest stable version,
5
5
# 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
7
7
# The purpose of checking with the minimum supported Rust toolchain is to detect its staleness.
8
8
# If the compilation fails, then the version specified here needs to be bumped up to reality.
9
9
# Be sure to also update the rust-version property in the workspace Cargo.toml file,
@@ -475,4 +475,4 @@ jobs:
475
475
- uses : actions/checkout@v4
476
476
477
477
- name : check typos
478
- uses : crate-ci/typos@v1.29.9
478
+ uses : crate-ci/typos@v1.32.0
Original file line number Diff line number Diff line change @@ -85,6 +85,13 @@ pub struct ShaderInfo {
85
85
}
86
86
87
87
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
+ ) ]
88
95
pub fn new ( name : & str , source : String , entry_point : & str ) -> Result < Self > {
89
96
let module = wgsl:: parse_str ( & source) . map_err ( |error| Error :: new ( & source, name, error) ) ?;
90
97
let module_info = naga:: valid:: Validator :: new ( ValidationFlags :: all ( ) , Capabilities :: all ( ) )
You can’t perform that action at this time.
0 commit comments