Commit 1f6d91f
authored
Handle debug info packages separately when using
Debug info packages (`dSYM`, `pdb`) are created by `rustc` only if you
link with `rustc`. When linking with `cc_common`, they should be handled
by the cc toolchain or a custom aspect. Declaring them prematurely can
cause conflicts.
This PR removes the `dsym_folder` declaration if `cc_common.link` is
being used - since cc_common doesn't support dsym generation yet. It
postpones the declaration of `pdb_file` after checking with the cpp
features first.cc_common.link (#3257)1 parent 42d8d90 commit 1f6d91f
File tree
2 files changed
+40
-3
lines changed- rust/private
- test/cc_common_link/unit
2 files changed
+40
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1335 | 1335 | | |
1336 | 1336 | | |
1337 | 1337 | | |
1338 | | - | |
| 1338 | + | |
1339 | 1339 | | |
1340 | 1340 | | |
1341 | 1341 | | |
| |||
1463 | 1463 | | |
1464 | 1464 | | |
1465 | 1465 | | |
| 1466 | + | |
| 1467 | + | |
| 1468 | + | |
| 1469 | + | |
| 1470 | + | |
1466 | 1471 | | |
1467 | 1472 | | |
1468 | 1473 | | |
| |||
1472 | 1477 | | |
1473 | 1478 | | |
1474 | 1479 | | |
| 1480 | + | |
1475 | 1481 | | |
1476 | 1482 | | |
1477 | 1483 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
66 | 75 | | |
67 | 76 | | |
68 | | - | |
| 77 | + | |
69 | 78 | | |
70 | 79 | | |
71 | 80 | | |
| |||
102 | 111 | | |
103 | 112 | | |
104 | 113 | | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
105 | 126 | | |
106 | 127 | | |
107 | 128 | | |
| |||
142 | 163 | | |
143 | 164 | | |
144 | 165 | | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
145 | 175 | | |
146 | 176 | | |
147 | 177 | | |
| |||
174 | 204 | | |
175 | 205 | | |
176 | 206 | | |
| 207 | + | |
177 | 208 | | |
178 | 209 | | |
179 | 210 | | |
| |||
0 commit comments