Fork of daniellemaywood.uk/gleam — Wasm codegen work
2

Configure Feed

Select the types of activity you want to include in your feed.

gleam / compiler-core / wit / zed_extension / 0.7.0 / platform.wit
483 B 24 lines
1interface platform { 2 /// An operating system. 3 enum os { 4 /// macOS. 5 mac, 6 /// Linux. 7 linux, 8 /// Windows. 9 windows, 10 } 11 12 /// A platform architecture. 13 enum architecture { 14 /// AArch64 (e.g., Apple Silicon). 15 aarch64, 16 /// x86. 17 x86, 18 /// x86-64. 19 x8664, 20 } 21 22 /// Gets the current operating system and architecture. 23 current-platform: func() -> tuple<os, architecture>; 24}