Page MenuHomeDevCentral

Guess by heuristics Rust platform triplet
Changes PlannedPublic

Authored by dereckson on Mar 22 2026, 12:32.
Tags
None
Referenced Files
F33181269: D4022.diff
Mon, Jun 15, 14:25
Unknown Object (File)
Sun, Jun 14, 04:49
Unknown Object (File)
Sat, Jun 13, 13:06
Unknown Object (File)
Fri, Jun 12, 05:18
Unknown Object (File)
Thu, Jun 11, 22:40
Unknown Object (File)
Wed, Jun 10, 16:03
Unknown Object (File)
Wed, Jun 10, 15:30
Unknown Object (File)
Wed, Jun 10, 10:37
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.