I did more digging and I don't think this is going to be readily fixable upstream: see https://github.com/rust-lang/rust/issues/131720#issuecomment-2414179941. A symlink fixes the problem if we *never* specify a path to libmacros.so, is that how we want to proceed? Note that currently we do specify it in one place in rust/Makefile and again in generate_rust_analyzer.py, so those would need updates. Tamir