diff options
author | 2019-02-14 14:32:21 -0800 | |
---|---|---|
committer | 2019-02-14 14:52:15 -0800 | |
commit | 8f30a2fc3d5d73f90a4ba64d0a90348e59e7967b (patch) | |
tree | b9d29e6e317c5f3b23c8a88127c42d72b750cff4 /src/bits32/eflags.rs | |
parent | 4c838b6691b6ec47a08b5be327b90bd2423203e2 (diff) | |
download | rust-x86-8f30a2fc3d5d73f90a4ba64d0a90348e59e7967b.tar.gz rust-x86-8f30a2fc3d5d73f90a4ba64d0a90348e59e7967b.tar.zst rust-x86-8f30a2fc3d5d73f90a4ba64d0a90348e59e7967b.zip |
update to Rust 2018 edition
* specify 2018 edition in the manifest
* changes to fix build with 2018 edition
Diffstat (limited to 'src/bits32/eflags.rs')
-rw-r--r-- | src/bits32/eflags.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bits32/eflags.rs b/src/bits32/eflags.rs index ca75130..b2c58d8 100644 --- a/src/bits32/eflags.rs +++ b/src/bits32/eflags.rs @@ -1,6 +1,8 @@ //! Processor state stored in the EFLAGS register. -use Ring; +use bitflags::*; + +use crate::Ring; /// The EFLAGS register. bitflags! { |