diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 3e97e538..8e923e03 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -9,7 +9,7 @@ jobs: - uses: actions-rs/toolchain@v1 with: components: rustfmt - toolchain: 1.66.1 + toolchain: 1.70.0 profile: minimal override: true - uses: actions-rs/cargo@v1 @@ -25,7 +25,7 @@ jobs: - uses: actions-rs/toolchain@v1 with: components: clippy - toolchain: 1.66.1 + toolchain: 1.70.0 profile: minimal override: true - uses: actions-rs/cargo@v1 @@ -41,7 +41,7 @@ jobs: - uses: actions-rs/toolchain@v1 with: components: clippy - toolchain: 1.66.1 + toolchain: 1.70.0 profile: minimal override: true - uses: actions-rs/cargo@v1 @@ -56,7 +56,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions-rs/toolchain@v1 with: - toolchain: 1.66.1 + toolchain: 1.70.0 profile: minimal override: true - run: cargo install cargo-readme diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ec59f62d..e9f024fc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,7 +18,7 @@ jobs: fail-fast: false matrix: toolchain: - - 1.66.1 + - 1.70.0 - stable profile: - name: debug @@ -44,7 +44,7 @@ jobs: fail-fast: false matrix: toolchain: - - 1.66.1 + - 1.70.0 - stable profile: - name: debug diff --git a/Cargo.toml b/Cargo.toml index f7967a3b..15f41347 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,7 +20,7 @@ categories = [ "hardware-support", ] exclude = [".gitignore", ".github/*"] -rust-version = "1.66.1" +rust-version = "1.70.0" [badges] # See https://doc.rust-lang.org/cargo/reference/manifest.html#the-badges-section @@ -71,4 +71,4 @@ byteorder = "1.4.3" [dev-dependencies] kvm-ioctls = ">=0.12" kvm-bindings = ">=0.6" -serial_test = "2.0" \ No newline at end of file +serial_test = "2.0" diff --git a/src/measurement/ovmf.rs b/src/measurement/ovmf.rs index 35a9c474..2a9e3d2a 100644 --- a/src/measurement/ovmf.rs +++ b/src/measurement/ovmf.rs @@ -126,7 +126,7 @@ impl OvmfSevMetadataHeader { /// OVMF Footer #[repr(C, packed)] -#[derive(Debug)] +#[derive(Debug, Clone, Copy)] struct OvmfFooterTableEntry { /// Size size: u16,