linux/samples/rust
Wedson Almeida Filho cc41670e06 rust: sync: update Arc and UniqueArc to take allocation flags
We also remove the `try_` prefix to align with how `Box` and `Vec` are
providing methods now.

`init` is temporarily updated with uses of GFP_KERNEL. These will be
updated in a subsequent patch to take flags as well.

Reviewed-by: Benno Lossin <benno.lossin@proton.me>
Signed-off-by: Wedson Almeida Filho <walmeida@microsoft.com>
Link: https://lore.kernel.org/r/20240328013603.206764-9-wedsonaf@gmail.com
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2024-04-16 22:50:04 +02:00
..
hostprogs samples: add first Rust examples 2022-09-28 09:03:08 +02:00
Kconfig rust: samples: add rust_print example 2022-12-01 20:13:11 +01:00
Makefile rust: samples: add rust_print example 2022-12-01 20:13:11 +01:00
rust_minimal.rs rust: alloc: update VecExt to take allocation flags 2024-04-16 22:50:04 +02:00
rust_print.rs rust: sync: update Arc and UniqueArc to take allocation flags 2024-04-16 22:50:04 +02:00