Skip to content

Add an equivalent of operatingSystemVersion for Embedded Swift. - #1895

Merged
grynspan merged 3 commits into
mainfrom
jgrynspan/os-version-embedded-equivalent
Sep 14, 2026
Merged

grynspan merged 3 commits into
mainfrom
jgrynspan/os-version-embedded-equivalent

Conversation

@grynspan

Copy link
Copy Markdown
Contributor

We gather the user's operating system version and output it to the console in verbose mode in order to improve diagnostic quality when a bug is reported. In Embedded Swift, there may not be a meaningful value for "operating system version", so provide a PAL annex function that can be used to generate anything that would be relevant/useful here.

Checklist:

  • Code and documentation should follow the style of the Style Guide.
  • If public symbols are renamed or modified, DocC references should be updated.

We gather the user's operating system version and output it to the console in
verbose mode in order to improve diagnostic quality when a bug is reported. In
Embedded Swift, there may not be a meaningful value for "operating system
version", so provide a PAL annex function that can be used to generate anything
that would be relevant/useful here.
@grynspan grynspan added this to the Swift 6.5.0 (main) milestone Sep 12, 2026
@grynspan grynspan self-assigned this Sep 12, 2026
@grynspan grynspan added tools integration 🛠️ Integration of swift-testing into tools/IDEs embedded-swift 📟 Embedded Swift issues command-line experience ⌨️ enhancements to the command line interface labels Sep 12, 2026
@grynspan
grynspan merged commit ff64874 into main Sep 14, 2026
27 checks passed
@grynspan
grynspan deleted the jgrynspan/os-version-embedded-equivalent branch September 14, 2026 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

command-line experience ⌨️ enhancements to the command line interface embedded-swift 📟 Embedded Swift issues tools integration 🛠️ Integration of swift-testing into tools/IDEs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants