You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replace --target-arch/--host-arch <arch> with --target/--host <triple> (#73)
* Replace `--target-cpu/--host-cpu <arch>` with `--target/--host <triple>`
This allows users to specify other triple fields like os and vendor.
* Update Sources/GeneratorCLI/GeneratorCLI.swift
Co-authored-by: Max Desiatov <[email protected]>
* Keep backward compatibility for `--target-arch/--host-arch`
* Fix typo in deprecation help message
---------
Co-authored-by: Max Desiatov <[email protected]>
The host triple of the bundle. Defaults to a triple of the machine this generator is \
104
+
running on if unspecified.
107
105
"""
108
106
)
109
-
varhostArch:Triple.Arch?=nil
107
+
varhost:Triple?=nil
110
108
111
109
@Option(
112
110
help:"""
113
-
CPU architecture of the target triple of the bundle. Same as the host triple CPU architecture if unspecified. \
114
-
Available options: \(Triple.Arch.allCases.map{"`\($0.rawValue)`"}.joined(separator:", ")).
111
+
The target triple of the bundle. The default depends on a recipe used for SDK generation. Pass `--help` to a specific recipe subcommand for more details.
115
112
"""
116
113
)
114
+
vartarget:Triple?=nil
115
+
116
+
@Option(help:"Deprecated. Use `--host` instead")
117
+
varhostArch:Triple.Arch?=nil
118
+
@Option(help:"Deprecated. Use `--target` instead")
0 commit comments