When running the make LLVM=1 rust-analyzer command, the build process fails due to a missing Makefile in the kernel/rros directory.
Following is the error message:
$ make LLVM=1 rust-analyzer
CALL scripts/checksyscalls.sh
CALL scripts/atomic/check-atomics.sh
Traceback (most recent call last):
File "/home/crism/RROS1/./scripts/generate_rust_analyzer.py", line 143, in <module>
main()
File "/home/crism/RROS1/./scripts/generate_rust_analyzer.py", line 136, in main
"crates": generate_crates(args.srctree, args.objtree, args.sysroot_src, args.bindings_file),
File "/home/crism/RROS1/./scripts/generate_rust_analyzer.py", line 107, in generate_crates
if f"{name}.o" not in open(path.parent / "Makefile").read():
FileNotFoundError: [Errno 2] No such file or directory: 'kernel/rros/arch/Makefile'
make[1]: *** [rust/Makefile:283: rust-analyzer] Error 1
make: *** [Makefile:1870: rust-analyzer] Error 2
When running the
make LLVM=1 rust-analyzer
command, the build process fails due to a missingMakefile
in thekernel/rros
directory. Following is the error message: