Skip to content

Commit de10ed0

Browse files
committed
make rspirv dep a workspace git dep instead of a patch
1 parent 8a74989 commit de10ed0

8 files changed

Lines changed: 8 additions & 10 deletions

File tree

rust/Cargo.lock

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rust/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ collapsible_if = "allow"
1717
manual_is_multiple_of = "allow"
1818
derivable_impls = "allow"
1919

20-
[patch.crates-io]
20+
[workspace.dependencies]
2121
rspirv = { git = "https://github.com/gfx-rs/rspirv", branch = "sdk-update" }
22-
spirv = { git = "https://github.com/gfx-rs/rspirv", branch = "sdk-update", package = "spirv" }
22+
spirv = { git = "https://github.com/gfx-rs/rspirv", branch = "sdk-update" }

rust/spirv-tools-cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ publish = false
99

1010
[dependencies]
1111
clap = { version = "4.5", features = ["derive"] }
12-
rspirv = { version = "0.12.0", default-features = false }
12+
rspirv.workspace = true
1313
spirv-tools-core = { path = "../spirv-tools-core" }
1414
spirv-tools-ffi = { path = "../spirv-tools-ffi" }
1515
thiserror = "1.0"

rust/spirv-tools-core/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ publish = false
1010
[dependencies]
1111
bitflags = "2.4"
1212
once_cell = "1.19"
13-
rspirv = { version = "0.12.0", default-features = false }
13+
rspirv.workspace = true
1414
thiserror = "1.0"
1515
libc = "0.2"
1616

1717
[build-dependencies]
1818
serde = { version = "1.0", features = ["derive"] }
1919
serde_json = "1.0"
20-
spirv = { version = "0.3.0", default-features = false }
20+
spirv.workspace = true
2121
heck = "0.4"
2222

2323
[lints]

rust/spirv-tools-ffi/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ crate-type = ["staticlib", "rlib"]
1414
cxx = "1"
1515
spirv-tools-core = { path = "../spirv-tools-core" }
1616
spirv-tools-opt = { path = "../spirv-tools-opt" }
17-
rspirv = "0.12"
17+
rspirv.workspace = true
1818
thiserror = "1"
1919
arbitrary = { version = "1.3", features = ["derive"] }
2020
fastrand = "2.1"

rust/spirv-tools-opt/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ egglog = { git = "https://github.com/egraphs-good/egglog.git" }
1111
spirv-tools-core = { path = "../spirv-tools-core" }
1212
arbitrary = { version = "1.3", features = ["derive"] }
1313
thiserror = "1.0"
14-
rspirv = "0.12"
14+
rspirv.workspace = true
1515
clap = { version = "4.5", features = ["derive"] }
1616

1717
[dev-dependencies]

rust/spirv-tools-opt/fuzz/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ cargo-fuzz = true
1111
libfuzzer-sys = "0.4"
1212
spirv-tools-opt = { path = ".." }
1313
arbitrary = { version = "1", features = ["derive"] }
14-
rspirv = { git = "https://github.com/gfx-rs/rspirv", branch = "sdk-update" }
14+
rspirv.workspace = true
1515

1616
[workspace]
1717
members = ["."]

rust/spirv-tools/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ license = "Apache-2.0"
88
[dependencies]
99
spirv-tools-core = { path = "../spirv-tools-core" }
1010
spirv-tools-opt = { path = "../spirv-tools-opt" }
11-
rspirv = "0.12"
1211

1312
[features]
1413
default = []

0 commit comments

Comments
 (0)