Skip to content

Commit

Permalink
Fix compilation on rust 1.80.
Browse files Browse the repository at this point in the history
This will discontinue support of rust 1.6x.
  • Loading branch information
lshqqytiger committed Aug 20, 2024
1 parent 569ae15 commit 2f2e38a
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 17 deletions.
40 changes: 32 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Make sure you have the following installed:
- Git
- CMake
- Python 3
- Rust (1.66.1 or newer)
- Rust (1.7x or newer)
- C++ compiler
- [ROCm](https://rocm.docs.amd.com/en/latest/deploy/linux/install_overview.html) 6.0+ (or [HIP SDK](https://rocm.docs.amd.com/projects/install-on-windows/en/latest/) on Windows)
- (Windows only) Recent [AMD Radeon Software Adrenalin](https://www.amd.com/en/technologies/software)
Expand Down
2 changes: 1 addition & 1 deletion xtask/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ cargo_metadata = "=0.17.0"
cargo-platform = "=0.1.5"
serde = "1.0.193"
serde_json = "1.0.108"
time = { version = "=0.3.23", features = ["local-offset"] }
time = { version = "=0.3.36", features = ["local-offset"] }

[target.'cfg(windows)'.dependencies]
zip = { version = "0.6.6", features = ["deflate", "time"], default-features = false }
Expand Down
5 changes: 1 addition & 4 deletions zluda/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,4 @@ gag = "1.0.0"
libc = "0.2"

[build-dependencies]
vergen = { version = "7.5.1", default-features = false, features = ["git"] }
# We don't use time crate, but this coerces vergen to not use newer version that requires
# higher minimum rust version
time = "=0.3.23"
vergen = { version = "7.5.1", default-features = false, features = ["git"] }
3 changes: 0 additions & 3 deletions zluda_rt/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ float-cmp = "0.9.0"

[build-dependencies]
vergen = { version = "7.5.1", default-features = false, features = ["git"] }
# We don't use time crate, but this coerces vergen to not use newer version that requires
# higher minimum rust version
time = "=0.3.23"

[package.metadata.zluda]
broken = true
Expand Down

0 comments on commit 2f2e38a

Please sign in to comment.