When executing python3 src/bootstrap/bootstrap.py test in poky rust sources,
After building stage1 library artifacts, the rust build fails as follows-
error: output of --print=file-names missing when learning about target-specific information from rustc
Similar issues were raised in rust github issues (#116698 and #108343) which suggested to uninstall rust using rustup.
But, poky doesn't have rustup binary when rust is build. I am trying here to build the rust sources and then run all the rust test suites.
The respective x86_64-unknown-linux-gnu.json file is generated in the build but is not been fetched/read to give rustc --print file-names output during build process.
Why is this error shown and how to fix it?