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