BuildMetadata
public struct BuildMetadata : Equatable, Hashable
extension BuildMetadata: Sendable
                Metadata describing the conditions of the build of this software.
- 
                  
                  
Build Timestamp
Declaration
Swift
public var timestamp: String - 
                  
                  
Whether this build was in Debug mode (true) or Release mode (false)
Declaration
Swift
public var cargoDebug: String - 
                  
                  
Features enabled for this build
Declaration
Swift
public var cargoFeatures: String - 
                  
                  
Optimization level
Declaration
Swift
public var optLevel: String - 
                  
                  
Build target triple
Declaration
Swift
public var targetTriple: String - 
                  
                  
Git branch
Declaration
Swift
public var gitBranch: String - 
                  
                  
Output of
git describeDeclaration
Swift
public var gitDescribe: String - 
                  
                  
Hash of current git commit
Declaration
Swift
public var gitSha: String - 
                  
                  
truewhen the source code differed from the commit at the most recent git hashDeclaration
Swift
public var gitDirty: String - 
                  
init(timestamp:cargoDebug: cargoFeatures: optLevel: targetTriple: gitBranch: gitDescribe: gitSha: gitDirty: ) Undocumented
Declaration
Swift
public init( /** * Build Timestamp */timestamp: String, /** * Whether this build was in Debug mode (true) or Release mode (false) */cargoDebug: String, /** * Features enabled for this build */cargoFeatures: String, /** * Optimization level */optLevel: String, /** * Build target triple */targetTriple: String, /** * Git branch */gitBranch: String, /** * Output of `git describe` */gitDescribe: String, /** * Hash of current git commit */gitSha: String, /** * `true` when the source code differed from the commit at the most recent git hash */gitDirty: String)