Module file names should be resolved relatively to the referring module #6746
Labels
A-linkage
Area: linking into static, shared libraries and binaries
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
With current rustc it's difficult to support automake-style out of tree builds, because when a crate file is compiled outside of its containing directory and it references other modules, the module file paths are resolved relatively to the current directory of the compiler process, not relatively to the referring crate file. Is there any benefit in making the crate assembly dependent on the current working directory?
The text was updated successfully, but these errors were encountered: