aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/generate_rust_target.rs
diff options
context:
space:
mode:
authorAlice Ryhl <[email protected]>2025-08-27 13:12:16 +0000
committerMiguel Ojeda <[email protected]>2025-08-31 21:34:34 +0000
commitc09461a0d24fba8a847a37a381626141da22d8ee (patch)
treefb4126dc654c9dfdfc88b00f454c7a018aa4844f /scripts/generate_rust_target.rs
parentLinux 6.17-rc3 (diff)
downloadkernel-c09461a0d24fba8a847a37a381626141da22d8ee.tar.gz
kernel-c09461a0d24fba8a847a37a381626141da22d8ee.zip
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 <[email protected]> Reviewed-by: Boqun Feng <[email protected]> Link: https://lore.kernel.org/r/[email protected] [ Kept `cfg` separation. Reworded slightly. - Miguel ] Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions