Commit 28f5e91
authored
subcommand: Parse and propagate
Strangely enough I added this call at a random place in
`Subcommand::new()`, instead of considering that it was both:
1. Breaking the logic for deducing `target_dir` in two separated blocks;
2. Preventing the first block - which reads environment variables! -
from seeing what was configured in `.cargo/config.toml` through
`[env]`.
Fix this by moving the call straight after identifying the root
directory for the selected package.[env] vars at the earliest possible moment (#18)1 parent 6c77c51 commit 28f5e91
1 file changed
+7
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
46 | 53 | | |
47 | 54 | | |
48 | 55 | | |
| |||
59 | 66 | | |
60 | 67 | | |
61 | 68 | | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| |||
0 commit comments