Add new Tier-3 target: powerpc64-sony-ps3 - #162072
Conversation
|
Some changes occurred in src/doc/rustc/src/platform-support cc @Noratrieb These commits modify compiler targets. |
|
Thanks for the pull request, and welcome! The Rust Project has assigned @khyperia (or someone else) to review your changes, you should hear from them (or someone else) within the next two weeks. Please see the contribution instructions and our LLM policy for more information. Why was this reviewer chosen?The reviewer was selected based on:
|
|
cc @tgross35 |
|
Whoops -- just wanted to make the CI checks succeed. Feel free to [ask me to] revert that if those files are handled in some other, better way. |
This comment has been minimized.
This comment has been minimized.
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
cc @rust-lang/rust-analyzer |
This comment has been minimized.
This comment has been minimized.
|
Condensed all the commits into one proper to reduce clutter and fix-up noise |
Implements a compatible target for the Sony PlayStation 3 console's PPU processor.
I (@ZephyrCodesStuff) am the maintainer and developer, both for this PR's target, as well as a Rust PS3 SDK to help developers get started.
Addressed. The PPU is a standard
powerpc64core, with only marginal changes made for the PS3's hardware configuration.sonyis used among other Sony console targets, andps3is the console's shorthand.Addressed.
Although it does require a separate linker (
mold) and a post-fix binary patching tool (included in the SDK above), no part of the build process, from the code, to the compiler, linker or SDK are closed-source. This target is compatible with the aformentioned SDK without any reliance on community "homebrew" tools, nor any licensed Sony / SN Systems compiler or linker.All of my code in this PR, including the SDK above, are licensed
MIT OR Apache-2.0.Addressed.
All of the components are free, open-source software.
Addressed.
This target currently does not support the
stdlibrary, but can fully support thecoreandallocfeature-sets. Tested and verified on official hardware with the aid of the SDK above.Documentation is included, both in this PR's Markdown files, as well as the SDK's repository.
This target should not cause issues, as its scope is relatively limited to Sony PlayStation 3 development.
Noted.
This patch does not touch any other target.
This target only has one feature,
+altivec, universally supported on any Sony PlayStation 3 unit.Artifacts built by this target are confirmed to be fully functional on official hardware, once linked with the
moldlinker and patched by the SDK toolchain.