Stream: t-compiler/major changes

Topic: Add 32-bit and 64-bit stderr/stdout files… compiler-team#365


triagebot (Sep 20 2020 at 08:58, on Zulip):

A new proposal has been announced: Add 32-bit and 64-bit stderr/stdout files for ui tests #365. 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.

oli (Sep 20 2020 at 09:26, on Zulip):

@Hameer Abbasi this is the discussion zulip for the MCP. The issues are not meant for discussion of the content, only of procedure

Hameer Abbasi (Sep 20 2020 at 09:30, on Zulip):

Copying over the concern on another thread for visibility: It'd be hard to generate *.32bit.stderr files on macOS 10.15+ due to 32-bit binaries being forbidden.

oli (Sep 20 2020 at 09:32, on Zulip):

so we can't use this feature for running tests. I didn't even think about running tests at all, we should just forbid that if used together with that feature, in order to make cross compilation as feasible as possible

oli (Sep 20 2020 at 09:32, on Zulip):

building for another target should be unproblematic

RalfJ (Oct 04 2020 at 11:27, on Zulip):

oli said:

building for another target should be unproblematic

usually building for another target requires being able to link for that target, which is tricky

RalfJ (Oct 04 2020 at 11:28, on Zulip):

Miri gets away with it by doing check-only builds of the standard library and the crate

RalfJ (Oct 04 2020 at 11:28, on Zulip):

I don't know how to build for other targets without xargo-check

Hameer Abbasi (Oct 08 2020 at 08:33, on Zulip):

This is in the context of UI tests. Do separate files need linking? If so, this is a problem. If only separate crates need linking; then we're good, as UI tests are all in one crate.

oli (Oct 08 2020 at 09:08, on Zulip):

I think the problem is that we can't even get a libstd compiled

oli (Oct 08 2020 at 09:08, on Zulip):

(or well, linked)

RalfJ (Oct 10 2020 at 11:53, on Zulip):

indeed, libstd needs linking

oli (Oct 20 2020 at 13:30, on Zulip):

So... for this specific issue, all we need to be able to do is to link for the 32-bit or 64-bit target of the same platform. Alternatively, can we find a 32 bit platform that every host is able to link for?

triagebot (Jan 28 2021 at 20:48, on Zulip):

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

Hameer Abbasi (Feb 06 2021 at 06:41, on Zulip):

I have an implementation of this over at #81817.

Last update: May 07 2021 at 06:00UTC