Page MenuHomeDevCentral

Guess by heuristics Rust platform triplet
Changes PlannedPublic

Authored by dereckson on Mar 22 2026, 12:32.
Tags
None
Referenced Files
F48356291: D4022.id10500.diff
Sat, Sep 5, 20:45
F48310887: D4022.id.diff
Sat, Sep 5, 13:02
Unknown Object (File)
Tue, Sep 1, 16:28
Unknown Object (File)
Tue, Aug 25, 00:56
Unknown Object (File)
Fri, Aug 21, 22:06
Unknown Object (File)
Thu, Aug 20, 08:43
Unknown Object (File)
Wed, Aug 19, 23:50
Unknown Object (File)
Tue, Aug 18, 01:40
Subscribers
None

Details

Summary

When rustc is not installed, we can still determine the Rust platform
for most of our architectures and so let rustup install.

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Passed
Unit
No Test Coverage
Branch
ops-bluedrake
Build Status
Buildable 6517
Build 6801: arc lint + arc unit

Event Timeline

dereckson created this revision.
dereckson retitled this revision from Guess by heuristics rust platform triplet to Guess by heuristics Rust platform triplet.Mar 22 2026, 12:32
dereckson added inline comments.
_modules/rust.py
98

Probably more coherent to use salt["cmd.shell"] too here.

108

According Claude, musl ldd outputs to stderr

128

According Claude:

FPA is the old pre-VFP floating point that is actually soft-float at the ABI level in Rust's terms. Including it may produce an incorrect hf triplet on very old ARMv4/5 hardware.