Aix not available to install Rust

My CPU is a PowerPC POWER7, and I'm using AIX 7.2.0.0 as the OS.

I'm trying to install Rust by following the steps on Rust's official GitHub, specifically running ./x.py build && ./x.py install. However, the installation fails with the following error:

RuntimeError: src/stage0 doesn't contain a checksum for dist/2024-09-05/rust-std-1.81.0-powerpc64-ibm-aix.tar.xz. Pre-built artifacts might not be available for this target at this time, see Platform Support - The rustc book for more information.

I checked ./src/stage0 and confirmed that there is indeed no SHA256 checksum for AIX. I would like to know how I can add this checksum manually or if there is an expected timeline for when this might be addressed. I appreciate any guidance from the Rustacean community.

Thank you!

There are no official prebuilt binaries available for AIX because it can't easily be cross-compiled. I know IBM maintains Rust binaries for AIX somewhere, but I'm not sure where.

1 Like

It seems the problem is no checksum for the file needed to download.

File name is "dist/2024-09-05/rust-std-1.81.0-powerpc64-ibm-aix.tar.xz".

When i modify and copy the checksum from another file,the url error shows

NoSuchKey The specified key does not exist. dist/2024-09-05/rust-std-1.81.0-powerpc64-ibm-aix.tar.xz

I am afraid you would need to bootstrap it.

My understanding is that IBM does in fact have a patched rustc that runs on AIX.

Perhaps you could ask them for help?

1 Like

The problem is exactly what I said.

You should talk to IBM and ask them about their Rust binaries.