Rollup merge of #138175 - sam-mccall:binobj, r=nnethercote

Support rmeta inputs for --crate-type=bin --emit=obj

This already works for --emit=metadata, but is possible anytime we're not linking.

Tests:
- `rmeta_bin` checks we're not changing --emit=link (already passes)
- `rmeta_bin-pass` tests the new behavior for --emit=obj (would fail today) and also --emit=metadata which isn't changing
This commit is contained in:
Manish Goregaokar 2025-03-12 10:19:27 -07:00 committed by GitHub
commit 89f2c40fff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

Diff Content Not Available