Hi, Note it's already possible to cross-compile to other linux libc platforms, just dpkg --add-architecture $foreign then apt-get install libstd-rust-dev:$foreign.
Yes the *only* thing you have to do is package the libstd. I am unlikely to have time for the other platforms you mentioned but am happy to accept patches - just take a look at how the windows/wasm32 stuff how is done in the packaging and copy that. There is also the difficulty in testing the cross-compiled binaries, I personally don't have any Apple systems to test them on, whereas for windows/wasm32 there are emulators you can directly run on Debian. Best, Ximin Matt Corallo: > Package: src:rustc > Version: 1.48.0+dfsg1-2 > > It would be nice to support cross-compilation in the Debian rustc builds, > both across-platforms targeting linux and for additional targets in the host > platform (eg apple-darwin, assuming its possible to build std without the > proprietary apple sysroot), or freebsd/android/etc. I assume the biggest > requirement there is just packaging the libstd. > > _______________________________________________ > Pkg-rust-maintainers mailing list > pkg-rust-maintain...@alioth-lists.debian.net > https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-rust-maintainers -- GPG: ed25519/56034877E1F87C35 https://github.com/infinity0/pubkeys.git