peterldowns 4 days ago

Some other sources of target triples (some mentioned in the article, some not):

rustc: `rustc --print target-list`

golang: `go tool dist list`

zig: `zig targets`

As the article point out, the complete lack of standardization and consistency in what constitutes a "triple" (sometimes actually a quad!) is kind of hellishly hilarious.

2
lifthrasiir 4 days ago

> what constitutes a "triple" (sometimes actually a quad!)

It is actually a quintiple at most because the first part, architecture, may contain a version for e.g. ARM. And yet it doesn't fully describe the actual target because it may require an additional OS version for e.g. macOS. Doubly silly.

achierius 3 days ago

Why would macOS in particular require an OS version where other platforms would not -- just backwards compatibility?

ycombinatrix 4 days ago

at least we don't have to deal with --build, --host, --target nonsense anymore

rendaw 4 days ago

You do on Nix. And it's as inconsistently implemented there as anywhere.