diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2023-01-07 18:18:20 +0900 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2023-01-22 23:43:33 +0900 |
commit | 93c656de8da8b53317bd88ecb7cce592310995d8 (patch) | |
tree | 7b719c2a98fdfd24e3d2b03af54dd3aba43ab90f /rust | |
parent | faa91c472be8ffa3121c9db803d3e529d48e246a (diff) |
fixdep: do not parse *.rlib, *.rmeta, *.so
fixdep is designed only for parsing text files. read_file() appends
a terminating null byte ('\0') and parse_config_file() calls strstr()
to search for CONFIG options.
rustc outputs *.rlib, *.rmeta, *.so to dep-info. fixdep needs them in
the dependency, but there is no point in parsing such binary files.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Miguel Ojeda <ojeda@kernel.org>
Tested-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'rust')
0 files changed, 0 insertions, 0 deletions