Commit bf43053
authored
feat: show extra build description from bootstrap (#15269)
### What does this PR try to resolve?
`CFG_VER_DESCRIPTION` is descriptive string to be appended to version
output.
This is usually set by the bootstrap in rust-lang/rust. Useful for
showing vendor build information.
See <rust-lang/rust#137723>.
### How should we test and review this PR?
```bash
CFG_VER_DESCRIPTION="My Awesome Rust Distribution" cargo b
target/debug/cargo version
```1 file changed
+18
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
24 | 36 | | |
25 | 37 | | |
26 | 38 | | |
| |||
30 | 42 | | |
31 | 43 | | |
32 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
33 | 49 | | |
34 | 50 | | |
35 | 51 | | |
| |||
71 | 87 | | |
72 | 88 | | |
73 | 89 | | |
| 90 | + | |
74 | 91 | | |
75 | 92 | | |
76 | 93 | | |
77 | 94 | | |
78 | 95 | | |
| 96 | + | |
79 | 97 | | |
80 | 98 | | |
0 commit comments