-
Notifications
You must be signed in to change notification settings - Fork 58
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
Build fails with environment variable OUT_DIR
not defined
#33
Comments
OUT_DIR
not definedOUT_DIR
not defined
This invocation isn't in a build script, however. It's when building the main library. |
@pka what is the output of |
Versions from https://hub.docker.com/r/schickling/rust/ |
Wow, that Cargo version is crazy outdated! It's not picking up the implicit build script because it didn't look for them then. Why isn't the container using a version more appropriate to that release of Rust? |
I made a PR to update the Docker container. |
Release build fails for me with:
According to rust-lang/cargo#3368 replacing
env!("OUT_DIR")
withenv::var("OUT_DIR")
should solve the issue.The text was updated successfully, but these errors were encountered: