| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
|
|
|
|
| |
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
|
|
|
|
| |
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
|
|
|
|
| |
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
|
|
|
|
| |
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
|
|
|
|
| |
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
|
|
|
|
|
|
|
| |
Added `#[cfg(not(no_global_oom_handling))]` to `Arc::try_pin` because
`Pin` is only imported when `no_global_oom_handling` isn't selected
Signed-off-by: Matthew Bakhtiari <dev@mtbk.me>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In preparation for enabling `no_global_oom_handling` for `alloc`,
we need to add some new methods.
They are all marked as:
#[stable(feature = "kernel", since = "1.0.0")]
for easy identification.
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
|
|
|
|
| |
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
|
|
This brings the `alloc` crate in-tree.
The code comes from Rust 1.54.0-beta.1, i.e. commit `bf62f4de3`.
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
|