Skip to content

Commit

Permalink
fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
elbiazo committed Dec 29, 2023
1 parent 10d125a commit ba620cb
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ pub mod cpuid {

#[cfg(not(test))]
mod std {
pub use core::fmt;
pub use core::ops;
pub use core::option;



}

#[cfg(all(test, feature = "vmtest"))]
Expand Down
2 changes: 1 addition & 1 deletion src/segmentation.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//! Functionality to manipulate segment registers, build segement
//! descriptors and selectors.
use _core::convert::TryInto;
use bitflags::*;

use core::arch::asm;
Expand Down
11 changes: 11 additions & 0 deletions src/x86_tests.code-workspace
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"folders": [
{
"path": "../../x86_tests"
},
{
"path": ".."
}
],
"settings": {}
}

0 comments on commit ba620cb

Please sign in to comment.