Commit 4777c22
committed
Auto merge of #10550 - phil-opp:bindeps-doc-fix, r=weihanglo
Fix docs: Bindeps env vars are passed to build script at runtime
The environment variables are not available through the `env!` macro. Instead, they are passed by cargo when the build script is invoked.
The current test suite confirms this:
https://github.com/rust-lang/cargo/blob/fc5035d6980701c71c2ce3714e3ff239b19013b2/tests/testsuite/artifact_dep.rs#L524-L5481 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
886 | 886 | | |
887 | 887 | | |
888 | 888 | | |
889 | | - | |
| 889 | + | |
890 | 890 | | |
891 | 891 | | |
892 | 892 | | |
| |||
0 commit comments