Skip to content
This repository was archived by the owner on Dec 12, 2024. It is now read-only.
This repository was archived by the owner on Dec 12, 2024. It is now read-only.

target triples are fragile and strings stink in general, so fix that #692

@stephen-hawley

Description

@stephen-hawley

target triples are represented as a string. This is ill advised as they change. Instead, we should have a data structure that includes:

architecture (enum)
platform (enum)
operating system (enum)
os version (Version)
simulator (bool)

and a handy ToString override to generate the triple. This will make certain tasks that we do frequently much easier.

Notes to future Steve, make this an immutable struct and add methods to generate a simulator/non-simulator version and one with a changed OS.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions