Skip to content

Commit 46c02cd

Browse files
ovmf-prebuilt: Add release availability info to Arch docstring
Not all arches are in every release; add this info to the `Arch` docstring.
1 parent c7e8fbd commit 46c02cd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ovmf-prebuilt/src/lib.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ pub struct Source {
3838
}
3939

4040
/// UEFI architecture.
41+
///
42+
/// Note that not all releases contain every architecture:
43+
/// * `Ia32` is available in `edk2-stable202508` and earlier releases.
44+
/// * `LoongArch64` is available in `edk2-stable202505` and later releases.
45+
/// * `Aarch64`, `Riscv64`, and `X64` are available in all releases.
4146
#[allow(missing_docs)]
4247
#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
4348
pub enum Arch {

0 commit comments

Comments
 (0)