Stream: t-compiler/major changes

Topic: A --temps-dir option for specifying where… compiler-team#423


triagebot (Apr 06 2021 at 05:56, on Zulip):

A new proposal has been announced: A --temps-dir option for specifying where the intermediate files are written #423. It will be announced at the next meeting to try and draw attention to it, but usually MCPs are not discussed during triage meetings. If you think this would benefit from discussion amongst the team, consider proposing a design meeting.

bjorn3 (Apr 06 2021 at 06:22, on Zulip):

Rustc uses the tempfile crate elsewhere in the linking code. It could be used for temp artifacts that end up in the target dir right now to put them inside a temp dir relative to the target dir.

bjorn3 (Apr 06 2021 at 06:24, on Zulip):

The mentioned alternative of hashing the commandline arguments would be nicer though as it works better with split debuginfo by keeping all object files close together while still preventing collisions. It also doesn't require changes to cargo.

bjorn3 (Apr 06 2021 at 06:25, on Zulip):

By the way other things do also collide when using different --crate-type but the same name like the incremental cache. You can use multiple --crate-type at the same time to build the crate in multiple formats at the same time.

triagebot (May 06 2021 at 14:05, on Zulip):

@T-compiler: Proposal #423 has been seconded, and will be approved in 10 days if no objections are raised.

bjorn3 (May 06 2021 at 14:28, on Zulip):

@pnkfelix Have you read https://rust-lang.zulipchat.com/#narrow/stream/233931-t-compiler.2Fmajor-changes/topic/A.20--temps-dir.20option.20for.20specifying.20where.E2.80.A6.20compiler-team.23423/near/233271782?

Last update: May 07 2021 at 07:15UTC