Update version and remove usage of or_patterns (#607)

This commit is contained in:
XAMPPRocky 2021-04-29 10:55:51 +02:00 committed by GitHub
parent a14e3ec110
commit 538cdd2ea7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 17 additions and 16 deletions

12
Cargo.lock generated
View File

@ -400,7 +400,7 @@ dependencies = [
[[package]]
name = "compute-shader"
version = "0.4.0-alpha.6"
version = "0.4.0-alpha.7"
dependencies = [
"spirv-std",
]
@ -2100,7 +2100,7 @@ checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
[[package]]
name = "rustc_codegen_spirv"
version = "0.4.0-alpha.6"
version = "0.4.0-alpha.7"
dependencies = [
"bimap",
"hashbrown",
@ -2330,7 +2330,7 @@ dependencies = [
[[package]]
name = "spirv-builder"
version = "0.4.0-alpha.6"
version = "0.4.0-alpha.7"
dependencies = [
"lazy_static",
"memchr",
@ -2343,7 +2343,7 @@ dependencies = [
[[package]]
name = "spirv-std"
version = "0.4.0-alpha.6"
version = "0.4.0-alpha.7"
dependencies = [
"bitflags",
"num-traits",
@ -2353,7 +2353,7 @@ dependencies = [
[[package]]
name = "spirv-std-macros"
version = "0.4.0-alpha.6"
version = "0.4.0-alpha.7"
dependencies = [
"heck",
"proc-macro2",
@ -2384,7 +2384,7 @@ dependencies = [
[[package]]
name = "spirv-types"
version = "0.4.0-alpha.6"
version = "0.4.0-alpha.7"
[[package]]
name = "spirv_cross"

View File

@ -1,6 +1,6 @@
[package]
name = "rustc_codegen_spirv"
version = "0.4.0-alpha.6"
version = "0.4.0-alpha.7"
authors = ["Embark <opensource@embark-studios.com>"]
edition = "2018"
license = "MIT OR Apache-2.0"

View File

@ -1,6 +1,6 @@
[package]
name = "spirv-builder"
version = "0.4.0-alpha.6"
version = "0.4.0-alpha.7"
authors = ["Embark <opensource@embark-studios.com>"]
edition = "2018"
license = "MIT OR Apache-2.0"

View File

@ -1,6 +1,6 @@
[package]
name = "spirv-std"
version = "0.4.0-alpha.6"
version = "0.4.0-alpha.7"
authors = ["Embark <opensource@embark-studios.com>"]
edition = "2018"
license = "MIT OR Apache-2.0"

View File

@ -1,6 +1,6 @@
[package]
name = "spirv-std-macros"
version = "0.4.0-alpha.6"
version = "0.4.0-alpha.7"
authors = ["Embark <opensource@embark-studios.com>"]
edition = "2018"
license = "MIT OR Apache-2.0"

View File

@ -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")),
}
);

View File

@ -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;

View File

@ -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 <opensource@embark-studios.com>"]
edition = "2018"
license = "MIT OR Apache-2.0"

View File

@ -1,6 +1,6 @@
[package]
name = "compute-shader"
version = "0.4.0-alpha.6"
version = "0.4.0-alpha.7"
authors = ["Embark <opensource@embark-studios.com>"]
edition = "2018"
license = "MIT OR Apache-2.0"