Remix.run Logo
peterldowns 5 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.

lifthrasiir 5 days ago | parent | next [-]

> 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 4 days ago | parent [-]

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

ycombinatrix 5 days ago | parent | prev [-]

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

rendaw 5 days ago | parent [-]

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