Skip to content

Commit

Permalink
Also applied default-features=false to spirv-builder
Browse files Browse the repository at this point in the history
  • Loading branch information
oisyn committed Nov 22, 2022
1 parent e7df2fe commit 5e7a075
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }

Expand Down
2 changes: 1 addition & 1 deletion crates/spirv-builder/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
Expand Down
2 changes: 1 addition & 1 deletion examples/multibuilder/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion examples/runners/wgpu/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion examples/runners/wgpu/builder/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 5e7a075

Please sign in to comment.