Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support use of namespaced environment variables based on "TARGET" and "HOST" #9

Merged
merged 1 commit into from
Dec 5, 2014

Conversation

codyps
Copy link
Contributor

@codyps codyps commented Dec 3, 2014

This is a replacement for rust-lang/cargo#1004 and depends on http://github.com/rust-lang/cargo/pull/1008

.collect::<Vec<&str>>()
.connect("_");
let kind = os::getenv("BUILD_KIND")
.expect("Environment variable 'BUILD_KIND' is unset");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This may need to be updated for HOST instead of BUILD_KIND now

@alexcrichton
Copy link
Member

This looks awesome @jmesmon, thanks! And especially thanks for writing up some docs!

@codyps
Copy link
Contributor Author

codyps commented Dec 4, 2014

Updated to use the HOST variable instead of the withdrawn BUILD_KIND variable

@codyps codyps changed the title Support use of namespaced environment variables based on target triplet and BUILD_KIND Support use of namespaced environment variables based on "TARGET" and "HOST" Dec 4, 2014
@alexcrichton
Copy link
Member

Thanks!

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

Successfully merging this pull request may close these issues.

2 participants