3 ms·
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 targ
by peterldowns 2y 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.
- ycombinatrix 2y agoat least we don't have to deal with --build, --host, --target nonsense anymore
- rendaw 2y agoYou do on Nix. And it's as inconsistently implemented there as anywhere.
- lifthrasiir 2y 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 2y agoWhy would macOS in particular require an OS version where other platforms would not -- just backwards compatibility?