Skip to content

Conversation

@owenv
Copy link
Contributor

@owenv owenv commented Jul 19, 2020

This fixes Driver/os-deployment.swift and slightly improves Driver/macabi-environment.swift. There's some remaining Darwin-specific argument validation left to be implemented, which I'll create a starter bug for

@owenv
Copy link
Contributor Author

owenv commented Jul 19, 2020

@swift-ci test

Copy link
Member

@DougGregor DougGregor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Part of me wonders whether this should be folded in to -print-target-info to have the frontend tell us the minimum supported version, but that can happen later. This improves things until then, thank you!

// Check minimum supported OS versions.
if targetTriple.isMacOSX,
targetTriple.version(for: .macOS) < Triple.Version(10, 9, 0) {
throw ToolchainValidationError.osVersionBelowMinimumDeploymentTarget("OS X 10.9")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's this "OS X" thing? :) We should switch to macOS both here and in the integrated driver

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 , this error message could definitely use an update

@owenv owenv merged commit d0a312b into swiftlang:master Jul 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants