Do you know if Rust is available on AIX?
If not, do you know if LLVM is available on AIX? And, if yes, which work would be required to port Rust to AIX?
https://forge.rust-lang.org/platform-support.html is the list of supported platforms, I don’t see AIX on there.
The first thing to do would be to figure out if LLVM supports it. If not, you start there. If it does, then you’d work on adding support to rustc.
Thanks. I’m trying now to understand if the few changes for AIX in the LLVM source code is complete for enabling LLVM to run on AIX. I’m not sure since there are only 50 places where AIX/aix strings do appear. I’ve asked the question to the LLVM mailing list. Waiting for an answer.
I have sent an email to: firstname.lastname@example.org .
However, since I created an account to LLVM mailing list just before, it may be awaiting for an authorization.
It’s now visible here:
Yes. I can see the answer. However, I still did not received any answer directly to my email box, so I cannot answer.
Anyway, looks like there is VERY few things done for AIX.
So, porting Rust to AIX would require a LOT of work, for LLVM first, then for Rust (rustc I’ve been said).
We will have a look again once our port of golang/cgo to AIX is finalized.
IBM has started pushing some patches: https://reviews.llvm.org/search/query/KgMsbBgZivyW/#R . As far as codegen is concerned, I understand this is just PowerPC so it shouldn’t be too much work?