Skip to content

Conversation

xymus
Copy link
Contributor

@xymus xymus commented Aug 27, 2021

rdar://82458987

@xymus xymus requested a review from artemcm August 27, 2021 23:24
@xymus
Copy link
Contributor Author

xymus commented Aug 27, 2021

@swift-ci Please test

@xymus
Copy link
Contributor Author

xymus commented Aug 27, 2021

@artemcm Did I forget something on how to pass down a flag? I'm not aware of the good practices here.

Copy link
Contributor

@cltnschlosser cltnschlosser left a comment

Choose a reason for hiding this comment

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

Yep, this is best way to forward an argument.

public static let LEQ: Option = Option("-L=", .joined, alias: Option.L, attributes: [.frontend, .doesNotAffectIncrementalBuild, .argumentIsPath], group: .linkerOption)
public static let libc: Option = Option("-libc", .separate, helpText: "libc runtime library to use")
public static let libraryLevel: Option = Option("-library-level", .separate, attributes: [.helpHidden, .frontend, .noDriver], metaVar: "<level>", helpText: "Library distribution level 'api', 'spi' or 'other' (the default)")
public static let libraryLevel: Option = Option("-library-level", .separate, attributes: [.helpHidden, .frontend, .moduleInterface], metaVar: "<level>", helpText: "Library distribution level 'api', 'spi' or 'other' (the default)")
Copy link
Contributor

Choose a reason for hiding this comment

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

This file is auto generated, did you make this change manually?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, I generated it from a yet-to-land similar change on the compiler side. I think I have to merge this one first as the compiler change will end up testing this driver change.

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.

3 participants