Re: new rustc targets that don't match Debian architectures
Hi Fabian,
On Tue, Nov 25, 2025 at 05:44:13PM +0100, Fabian Grünbichler wrote:
> Is there a better way to handle this or is introducing a new :all package fine?
> Similar questions will arise in the future once 64-bit wasm stabilizes..
I don't know a better alternative right now, but it's likely that such a
solution is only needed temporarily:
With the build-std project goal
(https://rust-lang.github.io/rust-project-goals/2025h1/build-std.html),
it should become possible to rebuild std for such targets on the fly,
without the need of following obscure how-to guides.
To be more specific, if I'm not mistaken, what's needed is the
implementation of https://github.com/rust-lang/rfcs/pull/3874. When
that's done, setting a single config option would suffice to enable
building of the standard library for the target architecture.
If some tweaks to these RFCs would be useful for debian to simplify
support for cross-building, we should try to communicate that. The RFC
process is meant to gather such feedback.
Jan
Reply to: