diff options
author | Asahi Lina <lina@asahilina.net> | 2023-04-07 00:25:22 +0200 |
---|---|---|
committer | Miguel Ojeda <ojeda@kernel.org> | 2023-04-07 00:53:34 +0200 |
commit | 5c7548d5a25306dcdb97689479be81cacc8ce596 (patch) | |
tree | 8b84b503bf9cd7af9b4c3c14bbafd4ffd9fefc80 /rust/Makefile | |
parent | rust: kernel: Mark rust_fmt_argument as extern "C" (diff) | |
download | linux-5c7548d5a25306dcdb97689479be81cacc8ce596.tar.xz linux-5c7548d5a25306dcdb97689479be81cacc8ce596.zip |
scripts: generate_rust_analyzer: Handle sub-modules with no Makefile
More complex drivers might want to use modules to organize their Rust
code, but those module folders do not need a Makefile.
generate_rust_analyzer.py currently crashes on those. Fix it so that a
missing Makefile is silently ignored.
Link: https://github.com/Rust-for-Linux/linux/pull/883
Signed-off-by: Asahi Lina <lina@asahilina.net>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'rust/Makefile')
0 files changed, 0 insertions, 0 deletions