Skip to content

Commit

Permalink
Merge pull request #79 from joergroedel/fixes
Browse files Browse the repository at this point in the history
Fix build error and clippy warnings from rust 1.74-nightly
  • Loading branch information
joergroedel committed Aug 25, 2023
2 parents a65f897 + 08b6fdd commit 7d9a3ea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@ fn main() {
// SVSM 2
println!("cargo:rustc-link-arg-bin=svsm=-nostdlib");
println!("cargo:rustc-link-arg-bin=svsm=-Wl,--build-id=none");
println!("cargo:rustc-link-arg-bin=svsm=-Wl,--no-relax");
println!("cargo:rustc-link-arg-bin=svsm=-Wl,-Tsvsm.lds");
}
3 changes: 3 additions & 0 deletions src/sev/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
//
// Author: Joerg Roedel <jroedel@suse.de>

// For bitflags definitions
#![allow(clippy::bad_bit_mask)]

use crate::address::{Address, VirtAddr};
use crate::error::SvsmError;
use crate::types::{GUEST_VMPL, PAGE_SIZE, PAGE_SIZE_2M};
Expand Down

0 comments on commit 7d9a3ea

Please sign in to comment.