Rollup merge of #85030 - jethrogb:jb/sgx-rearrange-files, r=nagisa
Rearrange SGX split module files In #75979 several inlined modules were split out into multiple files. This PR keeps the multiple files but moves a few things around to organize things in a coherent way.
This commit is contained in:
commit
62b68f9688
4 changed files with 7 additions and 6 deletions
|
@ -13,13 +13,8 @@
|
|||
#[cfg(test)]
|
||||
mod tests;
|
||||
|
||||
/// A doubly-linked list where callers are in charge of memory allocation
|
||||
/// of the nodes in the list.
|
||||
mod unsafe_list;
|
||||
|
||||
/// Trivial spinlock-based implementation of `sync::Mutex`.
|
||||
// FIXME: Perhaps use Intel TSX to avoid locking?
|
||||
mod spin_mutex;
|
||||
mod unsafe_list;
|
||||
|
||||
use crate::num::NonZeroUsize;
|
||||
use crate::ops::{Deref, DerefMut};
|
|
@ -1,3 +1,6 @@
|
|||
//! Trivial spinlock-based implementation of `sync::Mutex`.
|
||||
// FIXME: Perhaps use Intel TSX to avoid locking?
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests;
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
//! A doubly-linked list where callers are in charge of memory allocation
|
||||
//! of the nodes in the list.
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue