Repository navigation
Conversation
|
r? @jieyouxu rustbot has assigned @jieyouxu. Use Why was this reviewer chosen?The reviewer was selected based on:
|
|
@bors try jobs=dist-x86_64-linux,dist-s390x-linux |
Treat all proc macro dependencies as host dependencies in bootstrap try-job: dist-x86_64-linux try-job: dist-s390x-linux
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
I think this causes the target proc-macros to be omitted from rustc-dev, breaking rustc-dev. |
|
💔 Test for 281011f failed: CI. Failed job:
|
62b7880 to
83b970d
Compare
|
@bors try jobs=dist-x86_64-linux,dist-s390x-linux |
This comment has been minimized.
This comment has been minimized.
Treat all proc macro dependencies as host dependencies in bootstrap try-job: dist-x86_64-linux try-job: dist-s390x-linux
|
@rust-timer build=54ebbd7a7f69c528472653a7eeb80ac3d83ea368 |
|
Unknown rust-timer command: build=54ebbd7a7f69c528472653a7eeb80ac3d83ea368 |
|
@rust-timer build 54ebbd7 |
|
Missing artifact for sha |
|
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Treat all proc macro dependencies as host dependencies in bootstrap
|
Ok, the 390x archive no longer contains the proc macros, but rustc-dev still contains them, good. Btw |
83b970d to
d65990d
Compare
|
@rustbot ready |
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (69ae83c): comparison URL. Overall result: no relevant changes - no action neededBenchmarking means the PR may be perf-sensitive. Consider adding rollup=never if this change is not fit for rolling up. @rustbot label: -S-waiting-on-perf -perf-regression Instruction countThis perf run didn't have relevant results for this metric. Max RSS (memory usage)This perf run didn't have relevant results for this metric. CyclesResults (primary -2.4%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeThis perf run didn't have relevant results for this metric. Bootstrap: 483.518s -> 483.731s (0.04%) |
View all comments
I think that the name
Hostwas not fully accurate, and we were only adding proc macros as Host deps anyway. This PR renames Host to ProcMacro, and records all proc macro dependencies produced by cargo in bootstrap builds. So even if you cross-compile from T1 to T2, and you build proc macros for both T1 and T2, we will now record also proc macros for T2 to be Host/ProcMacro dependencies. So they should be correctly filtered when assembling the toolchain.Kinda hard to tell if this won't break anything, but at least when cross-compiling compiler and library, the deps looked reasonable to me.
Fixes: #165478