aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/generate_rust_target.rs
diff options
context:
space:
mode:
authorMatthew Maurer <[email protected]>2025-01-22 00:14:43 +0000
committerMiguel Ojeda <[email protected]>2025-02-06 18:47:04 +0000
commit0e446e3145011b8fe39759b59bd69d39fb47cfeb (patch)
treedb8d41010c55302a21962fb0d11b4d15e67c5b8d /scripts/generate_rust_target.rs
parentrust: kbuild: add -fzero-init-padding-bits to bindgen_skip_cflags (diff)
downloadkernel-0e446e3145011b8fe39759b59bd69d39fb47cfeb.tar.gz
kernel-0e446e3145011b8fe39759b59bd69d39fb47cfeb.zip
rust: kbuild: do not export generated KASAN ODR symbols
ASAN generates special synthetic symbols to help check for ODR violations. These synthetic symbols lack debug information, so gendwarfksyms emits warnings when processing them. No code should ever have a dependency on these symbols, so we should not be exporting them, just like the __cfi symbols. Signed-off-by: Matthew Maurer <[email protected]> Reviewed-by: Alice Ryhl <[email protected]> Link: https://lore.kernel.org/r/[email protected] [ Fixed typo in commit message. Slightly reworded title. - Miguel ] Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions