summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorAlice Ryhl <aliceryhl@google.com>2025-08-27 16:12:16 +0300
committerMiguel Ojeda <ojeda@kernel.org>2025-09-01 00:34:34 +0300
commitc09461a0d24fba8a847a37a381626141da22d8ee (patch)
treefb4126dc654c9dfdfc88b00f454c7a018aa4844f /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parent1b237f190eb3d36f52dffe07a40b5eb210280e00 (diff)
downloadlinux-c09461a0d24fba8a847a37a381626141da22d8ee.tar.xz
rust: use the new name Location::file_as_c_str() in Rust >= 1.91.0
As part of the stabilization of Location::file_with_nul(), it was brought up that the with_nul() suffix usually means something else in Rust APIs, so the API is being renamed prior to stabilization [1]. Thus, use the new name on new rustc versions. Link: https://www.github.com/rust-lang/rust/pull/145928 [1] Signed-off-by: Alice Ryhl <aliceryhl@google.com> Reviewed-by: Boqun Feng <boqun.feng@gmail.com> Link: https://lore.kernel.org/r/20250827-file_as_c_str-v1-1-d3f5a3916a9c@google.com [ Kept `cfg` separation. Reworded slightly. - Miguel ] Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions