Rollup merge of #101423 - mkroening:hermit-warnings, r=sanxiyn
Fix hermit warnings This fixes two `unused_imprt` and one `dead_code` warning for hermit.
This commit is contained in:
commit
2c4dc4f494
3 changed files with 0 additions and 4 deletions
|
|
@ -2,7 +2,6 @@ use crate::cell::UnsafeCell;
|
|||
use crate::collections::VecDeque;
|
||||
use crate::hint;
|
||||
use crate::ops::{Deref, DerefMut, Drop};
|
||||
use crate::ptr;
|
||||
use crate::sync::atomic::{AtomicUsize, Ordering};
|
||||
use crate::sys::hermit::abi;
|
||||
|
||||
|
|
|
|||
|
|
@ -487,6 +487,4 @@ pub mod netc {
|
|||
|
||||
#[derive(Copy, Clone)]
|
||||
pub struct sockaddr {}
|
||||
|
||||
pub type socklen_t = usize;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
use crate::cell::UnsafeCell;
|
||||
use crate::sys::locks::{MovableCondvar, Mutex};
|
||||
use crate::sys_common::lazy_box::{LazyBox, LazyInit};
|
||||
|
||||
pub struct RwLock {
|
||||
lock: Mutex,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue