mirror of
https://github.com/facebookexperimental/reverie.git
synced 2025-01-23 05:06:23 +00:00
Remove extern crate usage
Summary: This hasn't been necessary for quite a while now. Reviewed By: wangbj Differential Revision: D33411662 fbshipit-source-id: e6f88834521809b59323aa9d14796ff31571e7b6
This commit is contained in:
parent
39d5c0b427
commit
256fc33dd5
5 changed files with 3 additions and 9 deletions
|
@ -60,6 +60,3 @@ pub use tracer::spawn_fn_with_config;
|
|||
pub use tracer::GdbConnection;
|
||||
pub use tracer::Tracer;
|
||||
pub use tracer::TracerBuilder;
|
||||
|
||||
#[macro_use]
|
||||
extern crate bitflags;
|
||||
|
|
|
@ -507,7 +507,7 @@ struct ptrace_peeksiginfo_args {
|
|||
nr: u32,
|
||||
}
|
||||
|
||||
bitflags! {
|
||||
bitflags::bitflags! {
|
||||
/// Flags for ptrace peeksiginfo
|
||||
pub struct PeekSigInfoFlags: u32 {
|
||||
/// dumping signals from the process-wide signal queue. signals are
|
||||
|
|
|
@ -401,7 +401,7 @@ impl<'a> Displayable for Option<StatxPtr<'a>> {
|
|||
}
|
||||
}
|
||||
|
||||
bitflags! {
|
||||
bitflags::bitflags! {
|
||||
/// stx_mask from statx, see linux/stat.h
|
||||
#[derive(Serialize, Deserialize)]
|
||||
pub struct StatxMask: u32 {
|
||||
|
|
|
@ -55,7 +55,7 @@ impl Displayable for PollFd {
|
|||
}
|
||||
}
|
||||
|
||||
bitflags! {
|
||||
bitflags::bitflags! {
|
||||
/// Flags for [`PollFd`].
|
||||
#[derive(Default, Serialize, Deserialize)]
|
||||
pub struct PollFlags: libc::c_short {
|
||||
|
|
|
@ -21,9 +21,6 @@
|
|||
#[macro_use]
|
||||
mod macros;
|
||||
|
||||
#[macro_use]
|
||||
extern crate bitflags;
|
||||
|
||||
mod args;
|
||||
mod display;
|
||||
mod memory;
|
||||
|
|
Loading…
Reference in a new issue