Skip to content

OUT_DIR environment variable is not passed to rustdoc --test #847

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

Closed
tomaka opened this issue Nov 12, 2014 · 0 comments · Fixed by #848
Closed

OUT_DIR environment variable is not passed to rustdoc --test #847

tomaka opened this issue Nov 12, 2014 · 0 comments · Fixed by #848

Comments

@tomaka
Copy link
Contributor

tomaka commented Nov 12, 2014

If you write include!(concat!(env!("OUT_DIR"), "/hello.rs")) in your code, doc-test will fail with error: environment variable OUT_DIR not defined

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 a pull request may close this issue.

1 participant