Skip to content

Commit

Permalink
Version: Bumping minimal supported version
Browse files Browse the repository at this point in the history
Moving to supporting 1.80.0

Signed-off-by: Larry Dewey <larry.dewey@amd.com>
  • Loading branch information
larrydewey committed Sep 12, 2024
1 parent 8ce9b6e commit 681ae36
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
toolchain: 1.70.0
toolchain: 1.80.0
- run: cargo fmt --all -- --check

clippy-openssl:
Expand All @@ -20,7 +20,7 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
toolchain: 1.70.0
toolchain: 1.80.0
- run: cargo clippy --features=openssl,hw_tests,dangerous_hw_tests --all-targets -- -D clippy::all -D unused_imports -D warnings -D clippy::style

clippy-crypto_nossl:
Expand All @@ -31,7 +31,7 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
toolchain: 1.70.0
toolchain: 1.80.0
- run: cargo clippy --features=crypto_nossl,hw_tests,dangerous_hw_tests --all-targets -- -D clippy::all -D unused_imports -D warnings -D clippy::style

readme:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- ubuntu-latest
- macos-12
toolchain:
- 1.70.0
- 1.80.0
- stable
profile:
- name: debug
Expand All @@ -44,7 +44,7 @@ jobs:
- macos-12
- windows-latest
toolchain:
- 1.70.0
- 1.80.0
- stable
profile:
- name: debug
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ categories = [
"hardware-support",
]
exclude = [".gitignore", ".github/*"]
rust-version = "1.70.0"
rust-version = "1.80.0"

[badges]
# See https://doc.rust-lang.org/cargo/reference/manifest.html#the-badges-section
Expand Down
4 changes: 4 additions & 0 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

fn main() {
use std::path::Path;

// Add in configurations to be checked within the code.
println!("cargo::rustc-check-cfg=cfg(has_sev)");
println!("cargo::rustc-check-cfg=cfg(has_sev_guest)");

if cfg!(feature = "hw_tests") || Path::new("/dev/sev").exists() {
println!("cargo:rustc-cfg=has_sev");
Expand Down

0 comments on commit 681ae36

Please sign in to comment.