summaryrefslogtreecommitdiffstats
path: root/rust/kernel/str.rs
AgeCommit message (Expand)AuthorLines
2025-07-21rust: kernel: use `core::ffi::CStr` method namesTamir Duberstein-10/+10
2025-07-21rust: str: add `CStr` methods matching `core::ffi::CStr`Tamir Duberstein-3/+34
2025-07-21rust: str: remove unnecessary qualificationTamir Duberstein-2/+2
2025-07-21rust: use `kernel::{fmt,prelude::fmt!}`Tamir Duberstein-1/+1
2025-07-21rust: kernel: remove `fmt!`, fix clippy::uninlined-format-argsTamir Duberstein-20/+14
2025-06-22rust: enable `clippy::ref_as_ptr` lintTamir Duberstein-2/+2
2025-06-22rust: enable `clippy::as_underscore` lintTamir Duberstein-4/+4
2025-06-22rust: enable `clippy::ptr_as_ptr` lintTamir Duberstein-1/+1
2025-05-27rust: str: take advantage of the `-> Result` support in KUnit `#[test]`'sMiguel Ojeda-22/+30
2025-05-27rust: str: simplify KUnit tests `format!` macroMiguel Ojeda-17/+1
2025-05-27rust: str: convert `rusttest` tests into KUnitMiguel Ojeda-6/+4
2025-05-23rust: use absolute paths in macros referencing core and kernelIgor Korotin-2/+2
2025-05-20rust: str: fix typo in commentJihed Chaibi-1/+1
2025-05-18Merge tag 'alloc-next-v6.16-2025-05-13' of https://github.com/Rust-for-Linux/...Miguel Ojeda-1/+1
2025-05-07rust: clean Rust 1.88.0's `clippy::uninlined_format_args` lintMiguel Ojeda-23/+23
2025-04-23rust: alloc: replace `Vec::set_len` with `inc_len`Tamir Duberstein-1/+1
2025-03-20rust: str: implement `strip_prefix` for `BStr`Andreas Hindborg-0/+17
2025-03-20rust: str: implement `AsRef<BStr>` for `[u8]` and `BStr`Andreas Hindborg-0/+12
2025-03-20rust: str: implement `Index` for `BStr`Andreas Hindborg-0/+11
2025-03-20rust: str: implement `PartialEq` for `BStr`Andreas Hindborg-0/+6
2025-01-13rust: str: replace unwraps with question mark operatorsDaniel Sedlak-11/+17
2025-01-10rust: kbuild: run Clippy for `rusttest` codeMiguel Ojeda-1/+3
2024-12-16rust: cleanup unnecessary castsGary Guo-3/+3
2024-11-10rust: use custom FFI integer typesGary Guo-2/+2
2024-10-15rust: str: test: replace `alloc::format`Danilo Krummrich-1/+22
2024-10-15rust: treewide: switch to the kernel `Vec` typeDanilo Krummrich-7/+5
2024-10-07rust: enable `clippy::undocumented_unsafe_blocks` lintMiguel Ojeda-3/+4
2024-05-05rust: kernel: remove redundant importsMiguel Ojeda-4/+1
2024-04-16rust: kernel: remove usage of `allocator_api` unstable featureWedson Almeida Filho-2/+1
2024-04-16rust: alloc: update `VecExt` to take allocation flagsWedson Almeida Filho-3/+3
2024-04-16kbuild: use the upstream `alloc` crateWedson Almeida Filho-0/+1
2024-04-02rust: str: add {make,to}_{upper,lower}case() to CStringDanilo Krummrich-1/+86
2024-02-25rust: str: implement `Display` and `Debug` for `BStr`Yutaro Ohno-7/+178
2024-02-18rust: str: move SAFETY comment in front of unsafe blockValentin Obst-1/+1
2024-02-18rust: str: use `NUL` instead of 0 in doc commentsValentin Obst-2/+2
2024-02-18rust: kernel: fix multiple typos in documentationValentin Obst-1/+1
2023-12-13rust: kernel: str: Implement Debug for CStringAsahi Lina-0/+6
2023-07-19rust: str: make doctests compilable/testableMiguel Ojeda-1/+3
2023-05-31rust: str: add conversion from `CStr` to `CString`Alice Ryhl-0/+22
2023-04-06rust: str: fix requierments->requirements typoPatrick Blass-1/+1
2022-12-04rust: str: add `fmt!` macroWedson Almeida Filho-0/+6
2022-12-04rust: str: add `CString` typeWedson Almeida Filho-2/+89
2022-12-04rust: str: add `Formatter` typeWedson Almeida Filho-0/+57
2022-12-04rust: str: add `c_str!` macroGary Guo-0/+23
2022-12-04rust: str: add `CStr` unit testsMilan Landaverde-0/+29
2022-12-04rust: str: implement several traits for `CStr`Gary Guo-1/+123
2022-12-04rust: str: add `CStr` typeGary Guo-0/+169
2022-12-04rust: str: add `b_str!` macroGary Guo-0/+21
2022-12-04rust: str: add `BStr` typeGary Guo-0/+5
2022-09-28rust: add `kernel` crateWedson Almeida Filho-0/+72