mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-02-10 04:33:37 +02:00
Use table layout for no_std page.
This commit is contained in:
parent
005d6a5ed4
commit
40d590b594
@ -1,6 +1,25 @@
|
||||
# `no_std`
|
||||
|
||||
## `core`
|
||||
<table>
|
||||
<tr>
|
||||
<th>
|
||||
|
||||
`core`
|
||||
|
||||
</th>
|
||||
<th>
|
||||
|
||||
`alloc`
|
||||
|
||||
</th>
|
||||
<th>
|
||||
|
||||
`std`
|
||||
|
||||
</th>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>
|
||||
|
||||
* Slices, `&str`, `CStr`
|
||||
* `NonZeroU8`...
|
||||
@ -13,13 +32,15 @@
|
||||
* `fence`, `AtomicBool`, `AtomicPtr`, `AtomicU32`...
|
||||
* `Duration`
|
||||
|
||||
## `alloc`
|
||||
</td>
|
||||
<td>
|
||||
|
||||
* `Box`, `Cow`, `Arc`, `Rc`
|
||||
* `Vec`, `BinaryHeap`, `BtreeMap`, `LinkedList`, `VecDeque`
|
||||
* `String`, `CString`, `format!`
|
||||
|
||||
## `std`
|
||||
</td>
|
||||
<td>
|
||||
|
||||
* `Error`
|
||||
* `HashMap`
|
||||
@ -32,8 +53,13 @@
|
||||
* `spawn`, `sleep` and the rest of `thread`
|
||||
* `SystemTime`, `Instant`
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<details>
|
||||
|
||||
* `HashMap` depends on RNG.
|
||||
* `std` re-exports the contents of both `core` and `alloc`.
|
||||
|
||||
</details>
|
||||
|
Loading…
x
Reference in New Issue
Block a user