Update cargo-gpu, remove legacy-target-specs to fix nix builds (#3257)

update cargo-gpu, remove legacy-target-specs to fix nix builds
This commit is contained in:
Firestar99 2025-10-06 10:56:56 +02:00 committed by GitHub
parent 074a33f58f
commit bfba632100
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 10 additions and 10 deletions

18
Cargo.lock generated
View File

@ -648,17 +648,17 @@ dependencies = [
[[package]] [[package]]
name = "cargo-gpu" name = "cargo-gpu"
version = "0.1.0" version = "0.1.0"
source = "git+https://github.com/rust-gpu/cargo-gpu?rev=f969528e87baa17a7d48eecf4a6fcfdcaaf30566#f969528e87baa17a7d48eecf4a6fcfdcaaf30566" source = "git+https://github.com/rust-gpu/cargo-gpu?rev=1358ab005b9a6b076117ef35f9de597c64f85670#1358ab005b9a6b076117ef35f9de597c64f85670"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"cargo_metadata", "cargo_metadata",
"clap", "clap",
"crossterm", "crossterm",
"directories", "directories",
"dunce",
"env_logger", "env_logger",
"log", "log",
"relative-path", "relative-path",
"rustc_codegen_spirv-target-specs 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
"semver", "semver",
"serde", "serde",
"serde_json", "serde_json",
@ -1322,6 +1322,12 @@ dependencies = [
"serde", "serde",
] ]
[[package]]
name = "dunce"
version = "1.0.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813"
[[package]] [[package]]
name = "dyn-any" name = "dyn-any"
version = "0.3.1" version = "0.3.1"
@ -4784,12 +4790,6 @@ version = "2.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "357703d41365b4b27c590e3ed91eabb1b663f07c4c084095e60cbed4362dff0d" checksum = "357703d41365b4b27c590e3ed91eabb1b663f07c4c084095e60cbed4362dff0d"
[[package]]
name = "rustc_codegen_spirv-target-specs"
version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6c89eaf493b3dfc730cda42a77014aad65e03213992c7afe0dff60a9f7d3dd94"
[[package]] [[package]]
name = "rustc_codegen_spirv-target-specs" name = "rustc_codegen_spirv-target-specs"
version = "0.9.0" version = "0.9.0"
@ -5335,7 +5335,7 @@ dependencies = [
"memchr", "memchr",
"notify", "notify",
"raw-string", "raw-string",
"rustc_codegen_spirv-target-specs 0.9.0 (git+https://github.com/rust-gpu/rust-gpu?rev=c12f216121820580731440ee79ebc7403d6ea04f)", "rustc_codegen_spirv-target-specs",
"rustc_codegen_spirv-types", "rustc_codegen_spirv-types",
"semver", "semver",
"serde", "serde",

View File

@ -196,7 +196,7 @@ poly-cool = "0.3"
spin = "0.10" spin = "0.10"
clap = "4.5" clap = "4.5"
spirv-std = { git = "https://github.com/rust-gpu/rust-gpu", rev = "c12f216121820580731440ee79ebc7403d6ea04f", features = ["bytemuck"] } spirv-std = { git = "https://github.com/rust-gpu/rust-gpu", rev = "c12f216121820580731440ee79ebc7403d6ea04f", features = ["bytemuck"] }
cargo-gpu = { git = "https://github.com/rust-gpu/cargo-gpu", rev = "f969528e87baa17a7d48eecf4a6fcfdcaaf30566" } cargo-gpu = { git = "https://github.com/rust-gpu/cargo-gpu", rev = "1358ab005b9a6b076117ef35f9de597c64f85670", default-features = false }
[workspace.lints.rust] [workspace.lints.rust]
unexpected_cfgs = { level = "allow", check-cfg = ['cfg(target_arch, values("spirv"))'] } unexpected_cfgs = { level = "allow", check-cfg = ['cfg(target_arch, values("spirv"))'] }