Skip to content

Commit 12e579b

Browse files
author
Valentin Obst
committed
scripts/gen_rust_analyzer: search modules in net/
When generating the `rust-project.json`, also search for modules in the `net/` folder. Signed-off-by: Valentin Obst <[email protected]>
1 parent a275bc8 commit 12e579b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/generate_rust_analyzer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def is_root_crate(build_file, target):
116116
# Then, the rest outside of `rust/`.
117117
#
118118
# We explicitly mention the top-level folders we want to cover.
119-
extra_dirs = map(lambda dir: srctree / dir, ("samples", "drivers"))
119+
extra_dirs = map(lambda dir: srctree / dir, ("samples", "drivers", "net"))
120120
if external_src is not None:
121121
extra_dirs = [external_src]
122122
for folder in extra_dirs:

0 commit comments

Comments
 (0)