Commit 1ca326c
Tamas Vajk
Fix bin-dir remap to work with --experimental_output_paths=strip
Use add_all with the crate root File and a map_each callback instead
of a hardcoded ctx.bin_dir.path string. This lets Bazel's path mapping
rewrite the config portion of the bin-dir prefix (e.g. k8-fastbuild ->
cfg), so the remap flag matches the actual source file path at
execution time.
Co-authored-by: Isaac1 parent 022e197 commit 1ca326c
1 file changed
Lines changed: 24 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1200 | 1200 | | |
1201 | 1201 | | |
1202 | 1202 | | |
1203 | | - | |
| 1203 | + | |
| 1204 | + | |
| 1205 | + | |
| 1206 | + | |
| 1207 | + | |
1204 | 1208 | | |
1205 | 1209 | | |
1206 | 1210 | | |
| |||
2714 | 2718 | | |
2715 | 2719 | | |
2716 | 2720 | | |
| 2721 | + | |
| 2722 | + | |
| 2723 | + | |
| 2724 | + | |
| 2725 | + | |
| 2726 | + | |
| 2727 | + | |
| 2728 | + | |
| 2729 | + | |
| 2730 | + | |
| 2731 | + | |
| 2732 | + | |
| 2733 | + | |
| 2734 | + | |
| 2735 | + | |
| 2736 | + | |
| 2737 | + | |
| 2738 | + | |
| 2739 | + | |
2717 | 2740 | | |
2718 | 2741 | | |
2719 | 2742 | | |
| |||
0 commit comments