Skip to content

Commit

Permalink
fixes needed for switching to rust 1.41.1
Browse files Browse the repository at this point in the history
* Updated coverage score. Coverage drops by 0.1% when updating to Rust
  1.41.1.
* Remove some unused parentheses.

Signed-off-by: Andreea Florescu <fandree@amazon.com>
  • Loading branch information
andreeaflorescu authored and Samuel Ortiz committed Aug 13, 2020
1 parent 166541d commit 113e6aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion coverage_config_x86_64.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"coverage_score": 91.4,
"coverage_score": 91.3,
"exclude_path": "",
"crate_features": ""
}
2 changes: 1 addition & 1 deletion src/ioctls/vcpu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1936,7 +1936,7 @@ mod tests {
const PSR_A_BIT: u64 = 0x0000_0100;
const PSR_D_BIT: u64 = 0x0000_0200;
const PSTATE_FAULT_BITS_64: u64 =
(PSR_MODE_EL1H | PSR_A_BIT | PSR_F_BIT | PSR_I_BIT | PSR_D_BIT);
PSR_MODE_EL1H | PSR_A_BIT | PSR_F_BIT | PSR_I_BIT | PSR_D_BIT;
let data: u64 = PSTATE_FAULT_BITS_64;
const PSTATE_REG_ID: u64 = 0x6030_0000_0010_0042;
vcpu.set_one_reg(PSTATE_REG_ID, data)
Expand Down

0 comments on commit 113e6aa

Please sign in to comment.