mirror of
https://github.com/kata-containers/cgroups-rs.git
synced 2026-08-05 02:13:23 +00:00
rust2018: remove extern crate
Signed-off-by: Levente Kurusa <lkurusa@acm.org>
This commit is contained in:
@@ -1,14 +1,11 @@
|
||||
//! Integration tests about the pids subsystem
|
||||
extern crate cgroups;
|
||||
use cgroups::pid::{PidController, PidMax};
|
||||
use cgroups::Controller;
|
||||
use cgroups::{Cgroup, CgroupPid, PidResources, Resources};
|
||||
|
||||
extern crate nix;
|
||||
use nix::sys::wait::{waitpid, WaitStatus};
|
||||
use nix::unistd::{fork, ForkResult, Pid};
|
||||
|
||||
extern crate libc;
|
||||
use libc::pid_t;
|
||||
|
||||
use std::thread;
|
||||
|
||||
Reference in New Issue
Block a user