Skip to content

Change std::env::var to env!#4

Open
kdheepak wants to merge 1 commit into
cosmikwolf:mainfrom
kdheepak:patch-1
Open

Change std::env::var to env!#4
kdheepak wants to merge 1 commit into
cosmikwolf:mainfrom
kdheepak:patch-1

Conversation

@kdheepak
Copy link
Copy Markdown

SAZID_GIT_INFO is a compile time environment variable

sazid/build.rs

Line 49 in bcdcfbd

println!("cargo:rustc-env=SAZID_GIT_INFO={}", git_describe);

but std::env::var only reads run time values.

`SAZID_GIT_INFO` is a compile time environment variable but `std::env::var` only reads run time values.
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.

1 participant