Skip to content

Commit

Permalink
Fixing derive macro for openssl test.
Browse files Browse the repository at this point in the history
Also updating to latest stable Ubuntu LTS Rust!

Signed-off-by: Larry Dewey <larry.dewey@amd.com>
  • Loading branch information
larrydewey committed Jan 26, 2024
1 parent 35cafd1 commit d366fd5
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
components: rustfmt
toolchain: 1.66.1
toolchain: 1.70
profile: minimal
override: true
- uses: actions-rs/cargo@v1
Expand All @@ -25,7 +25,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
components: clippy
toolchain: 1.66.1
toolchain: 1.70
profile: minimal
override: true
- uses: actions-rs/cargo@v1
Expand All @@ -41,7 +41,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
components: clippy
toolchain: 1.66.1
toolchain: 1.70
profile: minimal
override: true
- uses: actions-rs/cargo@v1
Expand All @@ -56,7 +56,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.66.1
toolchain: 1.70
profile: minimal
override: true
- run: cargo install cargo-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:
fail-fast: false
matrix:
toolchain:
- 1.66.1
- 1.70
- stable
profile:
- name: debug
Expand All @@ -44,7 +44,7 @@ jobs:
fail-fast: false
matrix:
toolchain:
- 1.66.1
- 1.70
- stable
profile:
- name: debug
Expand Down
4 changes: 2 additions & 2 deletions 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.66.1"
rust-version = "1.70"

[badges]
# See https://doc.rust-lang.org/cargo/reference/manifest.html#the-badges-section
Expand Down Expand Up @@ -71,4 +71,4 @@ byteorder = "1.4.3"
[dev-dependencies]
kvm-ioctls = ">=0.12"
kvm-bindings = ">=0.6"
serial_test = "2.0"
serial_test = "2.0"
2 changes: 1 addition & 1 deletion src/measurement/ovmf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ impl OvmfSevMetadataHeader {

/// OVMF Footer
#[repr(C, packed)]
#[derive(Debug)]
#[derive(Debug, Clone, Copy)]
struct OvmfFooterTableEntry {
/// Size
size: u16,
Expand Down

0 comments on commit d366fd5

Please sign in to comment.