aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/rustdoc_test_builder.rs
diff options
context:
space:
mode:
authorMiguel Ojeda <[email protected]>2025-05-20 18:55:55 +0000
committerMiguel Ojeda <[email protected]>2025-05-22 10:00:58 +0000
commitcbeaa41dfe26b72639141e87183cb23e00d4b0dd (patch)
tree297ac31c8d94202242104bf15f301d0525c2c8cf /scripts/rustdoc_test_builder.rs
parentrust: list: Add examples for linked list (diff)
downloadkernel-cbeaa41dfe26b72639141e87183cb23e00d4b0dd.tar.gz
kernel-cbeaa41dfe26b72639141e87183cb23e00d4b0dd.zip
objtool/rust: relax slice condition to cover more `noreturn` Rust functions
Developers are indeed hitting other of the `noreturn` slice symbols in Nova [1], thus relax the last check in the list so that we catch all of them, i.e. *_4core5slice5index22slice_index_order_fail *_4core5slice5index24slice_end_index_len_fail *_4core5slice5index26slice_start_index_len_fail *_4core5slice5index29slice_end_index_overflow_fail *_4core5slice5index31slice_start_index_overflow_fail These all exist since at least Rust 1.78.0, thus backport it too. See commit 56d680dd23c3 ("objtool/rust: list `noreturn` Rust functions") for more details. Cc: [email protected] # Needed in 6.12.y and later. Cc: John Hubbard <[email protected]> Cc: Timur Tabi <[email protected]> Cc: Kane York <[email protected]> Cc: Josh Poimboeuf <[email protected]> Cc: Peter Zijlstra <[email protected]> Reported-by: Joel Fernandes <[email protected]> Fixes: 56d680dd23c3 ("objtool/rust: list `noreturn` Rust functions") Closes: https://lore.kernel.org/rust-for-linux/20250513180757.GA1295002@joelnvbox/ [1] Tested-by: Joel Fernandes <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'scripts/rustdoc_test_builder.rs')
0 files changed, 0 insertions, 0 deletions