Once converted this script needs to match what the Makefiles have. Signed-off-by: Elliott Mitchell <ehem+linux@xxxxxxx> --- This one needs checking. I'm less confident with Python and I'm less than 100% confident what f"{srctre}..." does. --- scripts/generate_rust_analyzer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/generate_rust_analyzer.py b/scripts/generate_rust_analyzer.py index fc52bc41d3e7..43e7b74cad4c 100755 --- a/scripts/generate_rust_analyzer.py +++ b/scripts/generate_rust_analyzer.py @@ -77,7 +77,7 @@ def generate_crates(srctree, objtree, sysroot_src, external_src, cfgs): [], is_proc_macro=True, ) - crates[-1]["proc_macro_dylib_path"] = f"{objtree}/rust/libmacros.so" + crates[-1]["proc_macro_dylib_path"] = f"{objtree}rust/libmacros.so" append_crate( "build_error", -- 2.39.2