You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In #3557@raphlinus added dependency file generation to rustc. This issue is about modifying that generation so that it produces gn-compatible dependency files.
gn requires, in dependency files that it is asked to consume, that "all paths must be relative to the root build directory." Empirically it appears that this is actually only required of the target paths.
This issue is mostly implemented already, as the code to generate the dependency file already has an option to make target paths relative. I tested it by hard-coding a value and it makes dependency files that gn is happy to consume. So all that's required is to provide some way to pass this value to output_depinfo().
What would be the most correct way to pass such information? Something in cargo config seems easiest.
The text was updated successfully, but these errors were encountered:
In #3557 @raphlinus added dependency file generation to rustc. This issue is about modifying that generation so that it produces gn-compatible dependency files.
gn requires, in dependency files that it is asked to consume, that "all paths must be relative to the root build directory." Empirically it appears that this is actually only required of the target paths.
This issue is mostly implemented already, as the code to generate the dependency file already has an option to make target paths relative. I tested it by hard-coding a value and it makes dependency files that gn is happy to consume. So all that's required is to provide some way to pass this value to output_depinfo().
What would be the most correct way to pass such information? Something in cargo config seems easiest.
The text was updated successfully, but these errors were encountered: