Skip to content

Commit 113e6aa

Browse files
andreeaflorescuSamuel Ortiz
authored andcommitted
fixes needed for switching to rust 1.41.1
* Updated coverage score. Coverage drops by 0.1% when updating to Rust 1.41.1. * Remove some unused parentheses. Signed-off-by: Andreea Florescu <[email protected]>
1 parent 166541d commit 113e6aa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

coverage_config_x86_64.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"coverage_score": 91.4,
2+
"coverage_score": 91.3,
33
"exclude_path": "",
44
"crate_features": ""
55
}

src/ioctls/vcpu.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1936,7 +1936,7 @@ mod tests {
19361936
const PSR_A_BIT: u64 = 0x0000_0100;
19371937
const PSR_D_BIT: u64 = 0x0000_0200;
19381938
const PSTATE_FAULT_BITS_64: u64 =
1939-
(PSR_MODE_EL1H | PSR_A_BIT | PSR_F_BIT | PSR_I_BIT | PSR_D_BIT);
1939+
PSR_MODE_EL1H | PSR_A_BIT | PSR_F_BIT | PSR_I_BIT | PSR_D_BIT;
19401940
let data: u64 = PSTATE_FAULT_BITS_64;
19411941
const PSTATE_REG_ID: u64 = 0x6030_0000_0010_0042;
19421942
vcpu.set_one_reg(PSTATE_REG_ID, data)

0 commit comments

Comments
 (0)