SplitScript reference / runtime / architecture
runtime.architecture
Function
runtime.architecture() -> String!
Returns the runtime host's architecture name.
Common values include x86, x86_64, arm, and aarch64. This is the runtime architecture rather than a guarantee about the attached process.
Effects: allocates, reads runtime state
Runtime behavior: available everywhere; synchronous
Examples
Report the host architecture
let hostArchitecture = runtime.architecture() else "unknown"