Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Use Cargo to infer correct target/ build dir #788

Merged
merged 1 commit into from
Mar 26, 2018

Conversation

Xanewok
Copy link
Member

@Xanewok Xanewok commented Mar 24, 2018

Fixes #730.

If the user did not specify the target dir in the configuration, this will infer this at the initialization and use what Cargo uses instead.

Eventually I think this should be used with Inferrable struct, just like with build_* - otherwise a sequence of setting an explicit target dir and 'unsetting' it in the configuration will not correctly run the inference later and it will continue to use the previously set dir.
However, I'm opening it now so I can get more eyes on it and someone can try it out and see if it really works correctly.

@nrc nrc merged commit 517a411 into rust-lang:master Mar 26, 2018
@nrc
Copy link
Member

nrc commented Mar 26, 2018

Thanks, looks good!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants