Also applied default-features=false to spirv-builder

This commit is contained in:
Sylvester Hesp 2022-11-22 16:18:03 +01:00
parent e7df2feb27
commit 5e7a0755c2
6 changed files with 6 additions and 6 deletions

View File

@ -34,7 +34,7 @@ repository = "https://github.com/EmbarkStudios/rust-gpu"
spirv-std = { path = "./crates/spirv-std", version = "=0.4.0-alpha.17" }
spirv-std-types = { path = "./crates/spirv-std/shared", version = "=0.4.0-alpha.17" }
spirv-std-macros = { path = "./crates/spirv-std/macros", version = "=0.4.0-alpha.17" }
spirv-builder = { path = "./crates/spirv-builder", version = "=0.4.0-alpha.17" }
spirv-builder = { path = "./crates/spirv-builder", version = "=0.4.0-alpha.17", default-features = false }
rustc_codegen_spirv = { path = "./crates/rustc_codegen_spirv", version = "=0.4.0-alpha.17", default-features = false }
rustc_codegen_spirv-types = { path = "./crates/rustc_codegen_spirv-types", version = "=0.4.0-alpha.17" }

View File

@ -18,7 +18,7 @@ watch = ["notify"]
[dependencies]
rustc_codegen_spirv-types.workspace = true
# See comment in lib.rs invoke_rustc for why this is here
rustc_codegen_spirv = { workspace = true }
rustc_codegen_spirv.workspace = true
memchr = "2.4"
raw-string = "0.3.5"
serde = { version = "1.0", features = ["derive"] }

View File

@ -14,4 +14,4 @@ use-installed-tools = ["spirv-builder/use-installed-tools"]
use-compiled-tools = ["spirv-builder/use-compiled-tools"]
[dependencies]
spirv-builder = { workspace = true, default-features = false }
spirv-builder.workspace = true

View File

@ -28,7 +28,7 @@ strum = { version = "0.23.0", default_features = false, features = ["std", "deri
bytemuck = "1.6.3"
[target.'cfg(not(any(target_os = "android", target_arch = "wasm32")))'.dependencies]
spirv-builder = { workspace = true, default-features = false, features = ["watch"] }
spirv-builder = { workspace = true, features = ["watch"] }
[target.'cfg(target_os = "android")'.dependencies]
ndk-glue = "0.4"

View File

@ -14,4 +14,4 @@ use-installed-tools = ["spirv-builder/use-installed-tools"]
use-compiled-tools = ["spirv-builder/use-compiled-tools"]
[dependencies]
spirv-builder = { workspace = true, default-features = false }
spirv-builder.workspace = true

View File

@ -15,5 +15,5 @@ use-compiled-tools = ["rustc_codegen_spirv/use-compiled-tools"]
[dependencies]
compiletest = { version = "0.7.0", package = "compiletest_rs" }
rustc_codegen_spirv = { workspace = true }
rustc_codegen_spirv.workspace = true
structopt = "0.3.21"