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:
Jason White 2022-01-04 18:13:19 -08:00 committed by Facebook GitHub Bot
parent 39d5c0b427
commit 256fc33dd5
5 changed files with 3 additions and 9 deletions

View file

@ -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;

View file

@ -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

View file

@ -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 {

View file

@ -55,7 +55,7 @@ impl Displayable for PollFd {
}
}
bitflags! {
bitflags::bitflags! {
/// Flags for [`PollFd`].
#[derive(Default, Serialize, Deserialize)]
pub struct PollFlags: libc::c_short {

View file

@ -21,9 +21,6 @@
#[macro_use]
mod macros;
#[macro_use]
extern crate bitflags;
mod args;
mod display;
mod memory;