Skip to content

Commit

Permalink
chore: Update Swift Settings
Browse files Browse the repository at this point in the history
  • Loading branch information
leogdion committed Feb 4, 2025
1 parent 27f6316 commit f1561de
Show file tree
Hide file tree
Showing 24 changed files with 8 additions and 162 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -132,4 +132,5 @@ iOSInjectionProject/
# **/xcshareddata/WorkspaceSettings.xcsettings

# End of https://www.toptal.com/developers/gitignore/api/swift,xcode,macos
.mint
.mint
Mint
20 changes: 0 additions & 20 deletions Sources/PackageDSL/PackageDSL.docc/PackageDSL.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,9 @@ For a real-world example, check out [BushelKit](https://github.com/brightdigit/B
### Feature Flags

- ``AccessLevelOnImport``
- ``DeprecateApplicationMain``
- ``DisableOutwardActorInference``
- ``DynamicActorIsolation``
- ``GlobalActorIsolatedTypesUsability``
- ``GlobalConcurrency``
- ``ImportObjcForwardDeclarations``
- ``InferSendableFromCaptures``
- ``InternalImportsByDefault``
- ``IsolatedDefaultValues``
Expand Down Expand Up @@ -283,7 +280,6 @@ For a real-world example, check out [BushelKit](https://github.com/brightdigit/B
- ``DisableInferPublicSendable``
- ``DisableInterfaceLock``
- ``DisableInvalidEphemeralnessAsError``
- ``DisableIosInheritanceForPoundIfOsOnVisionos``
- ``DisableLargeLoadableTypesReg2mem``
- ``DisableLayoutStringValueWitnessesInstantiation``
- ``DisableLayoutStringValueWitnesses``
Expand Down Expand Up @@ -402,8 +398,6 @@ For a real-world example, check out [BushelKit](https://github.com/brightdigit/B
- ``EmitLibrary``
- ``EmitLoadedModuleTracePath``
- ``EmitLoadedModuleTrace``
- ``EmitLocalizedStringsPath``
- ``EmitLocalizedStrings``
- ``EmitMacroExpansionFiles``
- ``EmitMigratedFilePath``
- ``EmitModuleDependenciesPath``
Expand Down Expand Up @@ -607,9 +601,7 @@ For a real-world example, check out [BushelKit](https://github.com/brightdigit/B
- ``InputFileKey``
- ``InternalizeAtLink``
- ``Interpret``
- ``IrgenAlwaysUseIndirectRelativeReferences``
- ``J``
- ``JitBuild``
- ``L``
- ``LdPath``
- ``Libc``
Expand Down Expand Up @@ -646,8 +638,6 @@ For a real-world example, check out [BushelKit](https://github.com/brightdigit/B
- ``NoLinkObjcRuntime``
- ``NoScannerModuleValidation``
- ``NoSerializeDebuggingOptions``
- ``NoSignClassRo``
- ``NoStackCheck``
- ``NoStaticExecutable``
- ``NoStaticStdlib``
- ``NoStdlibRpath``
Expand Down Expand Up @@ -760,7 +750,6 @@ For a real-world example, check out [BushelKit](https://github.com/brightdigit/B
- ``SerializeDiagnostics``
- ``SerializedPathObfuscate``
- ``ShowDiagnosticsAfterFatal``
- ``SignClassRo``
- ``SilBasedDebuginfo``
- ``SilDebugSerialization``
- ``SilInlineCallerBenefitReductionFactor``
Expand All @@ -775,24 +764,20 @@ For a real-world example, check out [BushelKit](https://github.com/brightdigit/B
- ``SolverDisableShrink``
- ``SolverMemoryThreshold``
- ``SolverShrinkUnsolvedThreshold``
- ``StackCheck``
- ``StackPromotionLimit``
- ``StaticExecutable``
- ``StaticStdlib``
- ``Static``
- ``StatsOutputDir``
- ``StrictConcurrency``
- ``StrictImplicitModuleContext``
- ``StringLiteralsMustBeAsciiOnly``
- ``SupplementaryOutputFileMap``
- ``SuppressRemarks``
- ``SuppressStaticExclusivitySwap``
- ``SuppressWarnings``
- ``SwiftAsyncFramePointer``
- ``SwiftIsaPtrauthMode``
- ``SwiftModuleCrossImport``
- ``SwiftModuleFile``
- ``SwiftPtrauthMode``
- ``SwiftVersion``
- ``SymbolGraphMinimumAccessLevel``
- ``TargetCpu``
Expand All @@ -806,7 +791,6 @@ For a real-world example, check out [BushelKit](https://github.com/brightdigit/B
- ``TbdCurrentVersion``
- ``TbdInstallName``
- ``TbdIsInstallapi``
- ``TemporaryForceLlvmFullLto``
- ``TestDependencyScanCacheSerialization``
- ``TestableImportModule``
- ``ThrowsAsTraps``
Expand Down Expand Up @@ -963,7 +947,6 @@ For a real-world example, check out [BushelKit](https://github.com/brightdigit/B
- ``DisableInferPublicSendable``
- ``DisableInterfaceLock``
- ``DisableInvalidEphemeralnessAsError``
- ``DisableIosInheritanceForPoundIfOsOnVisionos``
- ``DisableLargeLoadableTypesReg2mem``
- ``DisableLayoutStringValueWitnessesInstantiation``
- ``DisableLayoutStringValueWitnesses``
Expand Down Expand Up @@ -1140,7 +1123,6 @@ For a real-world example, check out [BushelKit](https://github.com/brightdigit/B
- ``InputFileKey``
- ``InternalizeAtLink``
- ``Interpret``
- ``IrgenAlwaysUseIndirectRelativeReferences``
- ``LoadDependencyScanCache``
- ``MergeModules``
- ``ModuleCanImportVersion``
Expand Down Expand Up @@ -1199,7 +1181,6 @@ For a real-world example, check out [BushelKit](https://github.com/brightdigit/B
- ``SkipImportInPublicInterface``
- ``SolverDisableShrink``
- ``StackPromotionLimit``
- ``StringLiteralsMustBeAsciiOnly``
- ``SupplementaryOutputFileMap``
- ``SuppressStaticExclusivitySwap``
- ``SwiftAsyncFramePointer``
Expand All @@ -1212,7 +1193,6 @@ For a real-world example, check out [BushelKit](https://github.com/brightdigit/B
- ``TbdCurrentVersion``
- ``TbdInstallName``
- ``TbdIsInstallapi``
- ``TemporaryForceLlvmFullLto``
- ``TestDependencyScanCacheSerialization``
- ``TestableImportModule``
- ``ThrowsAsTraps``
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/// Passes the flag `-digester-mode`
///
/// Uabi
/// Abi
public struct DigesterMode: UnsafeFlag {
public let api: String

Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/// Passes the flag `-cas-backend-mode=native`
///
/// Uverify
/// Verify
public struct CasBackendMode: FrontendFlag {
public let casid: String

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// Passes the flag `-concurrency-model`
///
/// Ustandard
/// Standard
public struct ConcurrencyModel: FrontendFlag {}

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// Passes the flag `-module-load-mode`
///
/// Uonly-interface
/// Only-interface
public struct ModuleLoadMode: FrontendFlag {}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// Passes the flag `-Raccess-note`
///
/// Unone
/// None
public struct RaccessNote: FrontendFlag {}

This file was deleted.

This file was deleted.

4 changes: 0 additions & 4 deletions Sources/PackageDSL/SwiftSettings/UnsafeFlags/JitBuild.swift

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/// Passes the flag `-nonlib-dependency-scanner`
///
/// Use calls to `swift-frontend -scan-dependencies` instead of dedicated
/// dependency scanning library
/// Use calls to instead of dedicated dependency scanning library
public struct NonlibDependencyScanner: UnsafeFlag {}

This file was deleted.

4 changes: 0 additions & 4 deletions Sources/PackageDSL/SwiftSettings/UnsafeFlags/StackCheck.swift

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit f1561de

Please sign in to comment.