diff options
| author | Asahi Lina <[email protected]> | 2023-02-24 09:11:47 +0000 |
|---|---|---|
| committer | Miguel Ojeda <[email protected]> | 2023-04-10 03:21:26 +0000 |
| commit | 65b571afdfdcefa09508274488086b218e34906d (patch) | |
| tree | c77107192b4be0cc120d592b72611d01b2d0c147 /rust/macros/helpers.rs | |
| parent | rust: Enable the new_uninit feature for kernel and driver crates (diff) | |
| download | kernel-65b571afdfdcefa09508274488086b218e34906d.tar.gz kernel-65b571afdfdcefa09508274488086b218e34906d.zip | |
rust: Import upstream `alloc::vec::set_len_on_drop` module
This is a subset of the Rust standard library `alloc` crate,
version 1.62.0, licensed under "Apache-2.0 OR MIT", from:
https://github.com/rust-lang/rust/tree/1.62.0/library/alloc/src
The file is copied as-is, with no modifications whatsoever
(not even adding the SPDX identifiers).
For copyright details, please see:
https://github.com/rust-lang/rust/blob/1.62.0/COPYRIGHT
Signed-off-by: Asahi Lina <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[ Import version 1.62.0 instead, to match the one in mainline. ]
Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'rust/macros/helpers.rs')
0 files changed, 0 insertions, 0 deletions
