-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
17 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
#![allow(dead_code)] | ||
|
||
use crate::alloc::{GlobalAlloc, Layout, System}; | ||
use crate::cmp; | ||
use crate::ptr; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,13 @@ | ||
// This module contains code that is shared between all platforms, mostly utility or fallback code. | ||
// This explicitly does not include code that is shared between only a few platforms, | ||
// such as when reusing an implementation from `unix` or `unsupported`. | ||
// In those cases the desired code should be included directly using the #[path] attribute, | ||
// not moved to this module. | ||
// | ||
// Currently `sys_common` contains a lot of code that should live in this module, | ||
// ideally `sys_common` would only contain platform-independent abstractions on top of `sys`. | ||
// Progress on this is tracked in #84187. | ||
|
||
#![allow(dead_code)] | ||
|
||
pub mod alloc; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters