Skip to content

Commit

Permalink
Update version and remove usage of or_patterns (#607)
Browse files Browse the repository at this point in the history
  • Loading branch information
XAMPPRocky committed May 3, 2021
1 parent 53bc324 commit ff171ed
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 16 deletions.
12 changes: 6 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/rustc_codegen_spirv/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rustc_codegen_spirv"
version = "0.4.0-alpha.6"
version = "0.4.0-alpha.7"
authors = ["Embark <[email protected]>"]
edition = "2018"
license = "MIT OR Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion crates/spirv-builder/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "spirv-builder"
version = "0.4.0-alpha.6"
version = "0.4.0-alpha.7"
authors = ["Embark <[email protected]>"]
edition = "2018"
license = "MIT OR Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion crates/spirv-std/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "spirv-std"
version = "0.4.0-alpha.6"
version = "0.4.0-alpha.7"
authors = ["Embark <[email protected]>"]
edition = "2018"
license = "MIT OR Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion crates/spirv-std/macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "spirv-std-macros"
version = "0.4.0-alpha.6"
version = "0.4.0-alpha.7"
authors = ["Embark <[email protected]>"]
edition = "2018"
license = "MIT OR Apache-2.0"
Expand Down
6 changes: 3 additions & 3 deletions crates/spirv-std/macros/src/image.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@ impl Parse for ImageType {
let int = input.parse::<syn::LitInt>().unwrap();
set_unique!(
dimensionality = match (int.base10_digits(), int.suffix()) {
("1", "D" | "d") => Dimensionality::OneD,
("2", "D" | "d") => Dimensionality::TwoD,
("3", "D" | "d") => Dimensionality::ThreeD,
("1", "D") | ("1", "d") => Dimensionality::OneD,
("2", "D") | ("2", "d") => Dimensionality::TwoD,
("3", "D") | ("3", "d") => Dimensionality::ThreeD,
_ => return Err(syn::Error::new(int.span(), "Unexpected integer")),
}
);
Expand Down
3 changes: 2 additions & 1 deletion crates/spirv-std/macros/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@
)]
// END - Embark standard lints v0.3
// crate-specific exceptions:
#![allow()]
// `or_patterns` is not stable yet.
#![allow(clippy::unnested_or_patterns)]

mod image;

Expand Down
2 changes: 1 addition & 1 deletion crates/spirv-std/shared/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "spirv-types"
description = "SPIR-V types shared between spirv-std and spirv-std-macros"
version = "0.4.0-alpha.6"
version = "0.4.0-alpha.7"
authors = ["Embark <[email protected]>"]
edition = "2018"
license = "MIT OR Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/shaders/compute-shader/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "compute-shader"
version = "0.4.0-alpha.6"
version = "0.4.0-alpha.7"
authors = ["Embark <[email protected]>"]
edition = "2018"
license = "MIT OR Apache-2.0"
Expand Down

0 comments on commit ff171ed

Please sign in to comment.