mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-15 06:40:17 +00:00
98a2ab0686
This PR changes v0.0.7 of the extension API to v0.1.0. We had a false-start in releasing v0.0.7, which has since been yanked, so we need a new version number. We'll publish v0.1.0 to crates.io once the Preview build is out tomorrow. We're incrementing the minor version so that we have some leeway in putting out patch releases of the crate within a given extension API release. Release Notes: - N/A
24 lines
483 B
Text
24 lines
483 B
Text
interface platform {
|
|
/// An operating system.
|
|
enum os {
|
|
/// macOS.
|
|
mac,
|
|
/// Linux.
|
|
linux,
|
|
/// Windows.
|
|
windows,
|
|
}
|
|
|
|
/// A platform architecture.
|
|
enum architecture {
|
|
/// AArch64 (e.g., Apple Silicon).
|
|
aarch64,
|
|
/// x86.
|
|
x86,
|
|
/// x86-64.
|
|
x8664,
|
|
}
|
|
|
|
/// Gets the current operating system and architecture.
|
|
current-platform: func() -> tuple<os, architecture>;
|
|
}
|