Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
btf, scripts: rust: drop is_rust_module.sh
With commit c117797 ("btf, scripts: Exclude Rust CUs with pahole") we are now able to use pahole directly to identify Rust compilation units (CUs) and exclude them from generating BTF debugging information (when DEBUG_INFO_BTF is enabled). And if pahole doesn't support the --lang-exclude flag, we can't enable both RUST and DEBUG_INFO_BTF at the same time. So, in any case, the script is_rust_module.sh is just redundant and we can drop it. NOTE: we may also be able to drop the "Rust loadable module" mark inside Rust modules, but it seems safer to keep it for now to make sure we are not breaking any external tool that may potentially rely on it. Signed-off-by: Andrea Righi <[email protected]> Reviewed-by: Nathan Chancellor <[email protected]> Tested-by: Eric Curtin <[email protected]> Reviewed-by: Eric Curtin <[email protected]> Reviewed-by: Neal Gompa <[email protected]> Reviewed-by: Masahiro Yamada <[email protected]> Reviewed-by: Martin Rodriguez Reboredo <[email protected]> Acked-by: Daniel Xu <[email protected]> Link: https://lore.kernel.org/r/[email protected] [ Picked the `Reviewed-by`s from the old patch too. ] Signed-off-by: Miguel Ojeda <[email protected]>
- Loading branch information