You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Switch pipelined compilation from --rustc-quit-on-rmeta to -Zno-codegen
Replace the process wrapper's rmeta-interception approach (kill rustc
after metadata emission) with rustc's -Zno-codegen flag, which produces
a hollow rlib containing metadata and MIR but no object code. This is
the same approach used by Buck2.
Key changes:
- Metadata action uses `rustc -Zno-codegen --emit=link=<path>` to
produce a hollow rlib (_meta.rlib) instead of raw .rmeta files
- Remove --rustc-quit-on-rmeta flag, LineOutput::Terminate, and all
associated kill logic from the process wrapper
- Full action emits only --emit=link (no longer includes metadata)
- Set RUSTC_BOOTSTRAP=1 on both metadata and full actions for SVH
compatibility (required for the unstable -Zno-codegen flag)
0 commit comments