Skip to content

Fix docs: artifact dependency path needs to be accessed using env::var_os instead of env! #296

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

Merged
merged 1 commit into from
Dec 7, 2022

Conversation

phil-opp
Copy link
Member

@phil-opp phil-opp commented Dec 7, 2022

Artifact dependencies are available through the env! macro only in binaries/libraries. In build scripts, the env variable is set at runtime instead.

Fixes #295

…` instead of `env!`

Artifact dependencies are available through the `env!` macro only in binaries/libraries. In build scripts, the env variable is set at runtime instead.
@phil-opp phil-opp enabled auto-merge (squash) December 7, 2022 18:22
@phil-opp phil-opp merged commit c26220f into main Dec 7, 2022
@phil-opp phil-opp deleted the fix-docs branch March 12, 2023 15:07
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.

Incorrect environment variable access in create-disk-image example build script
1 participant