From 3b9de37aa64a9c6cfd4e179238f819330ef7a48b Mon Sep 17 00:00:00 2001 From: Delan Azabani Date: Sat, 14 Nov 2020 20:52:05 +1100 Subject: [PATCH] update Promise variants to align with OpenBSD 6.8 --- src/promise.rs | 74 ++++++++++++++++++++++++++------------------------ 1 file changed, 39 insertions(+), 35 deletions(-) diff --git a/src/promise.rs b/src/promise.rs index a946022..4dd776a 100644 --- a/src/promise.rs +++ b/src/promise.rs @@ -2,114 +2,117 @@ // using the helper documented at . pub enum Promise { - /// OpenBSD 5.9–6.7 + /// OpenBSD 5.9–6.8 Audio, - /// OpenBSD 6.1–6.7 + /// OpenBSD 6.1–6.8 Bpf, - /// OpenBSD 6.0–6.7 + /// OpenBSD 6.0–6.8 Chown, - /// OpenBSD 5.9–6.7 + /// OpenBSD 5.9–6.8 Cpath, - /// OpenBSD 6.1–6.7 + /// OpenBSD 6.1–6.8 Disklabel, - /// OpenBSD 5.9–6.7 + /// OpenBSD 5.9–6.8 Dns, - /// OpenBSD 5.9–6.7 + /// OpenBSD 5.9–6.8 Dpath, - /// OpenBSD 6.1–6.7 + /// OpenBSD 6.1–6.8 Drm, - /// OpenBSD 6.3–6.7 + /// OpenBSD 6.3–6.8 Error, - /// OpenBSD 5.9–6.7 + /// OpenBSD 5.9–6.8 Exec, - /// OpenBSD 5.9–6.7 + /// OpenBSD 5.9–6.8 Fattr, - /// OpenBSD 5.9–6.7 + /// OpenBSD 5.9–6.8 Flock, - /// OpenBSD 5.9–6.7 + /// OpenBSD 5.9–6.8 Getpw, - /// OpenBSD 5.9–6.7 + /// OpenBSD 5.9–6.8 Id, - /// OpenBSD 5.9–6.7 + /// OpenBSD 5.9–6.8 Inet, /// OpenBSD 5.9–6.0 Ioctl, - /// OpenBSD 6.1–6.7 + /// OpenBSD 6.1–6.8 Mcast, - /// OpenBSD 5.9–6.7 + /// OpenBSD 5.9–6.8 Pf, - /// OpenBSD 5.9–6.7 + /// OpenBSD 5.9–6.8 Proc, - /// OpenBSD 5.9–6.7 + /// OpenBSD 5.9–6.8 ProtExec, - /// OpenBSD 5.9–6.7 + /// OpenBSD 5.9–6.8 Ps, - /// OpenBSD 5.9–6.7 + /// OpenBSD 5.9–6.8 Recvfd, - /// OpenBSD 6.1–6.7 + /// OpenBSD 6.1–6.8 Route, - /// OpenBSD 5.9–6.7 + /// OpenBSD 5.9–6.8 Rpath, - /// OpenBSD 5.9–6.7 + /// OpenBSD 5.9–6.8 Sendfd, - /// OpenBSD 5.9–6.7 + /// OpenBSD 5.9–6.8 Settime, - /// OpenBSD 5.9–6.7 + /// OpenBSD 5.9–6.8 Stdio, - /// OpenBSD 6.1–6.7 + /// OpenBSD 6.1–6.8 Tape, - /// OpenBSD 5.9–6.7 + /// OpenBSD 5.9–6.8 Tmppath, - /// OpenBSD 5.9–6.7 + /// OpenBSD 5.9–6.8 Tty, - /// OpenBSD 5.9–6.7 + /// OpenBSD 5.9–6.8 Unix, - /// OpenBSD 6.4–6.7 + /// OpenBSD 6.4–6.8 Unveil, - /// OpenBSD 6.5–6.7 + /// OpenBSD 6.5–6.8 Video, - /// OpenBSD 5.9–6.7 + /// OpenBSD 5.9–6.8 Vminfo, - /// OpenBSD 6.1–6.7 + /// OpenBSD 6.1–6.8 Vmm, - /// OpenBSD 5.9–6.7 + /// OpenBSD 5.9–6.8 Wpath, + /// OpenBSD 6.8 + Wroute, + // FIXME rust-lang/rust#44109 #[doc(hidden)] _NonExhaustive, @@ -154,6 +157,7 @@ impl Promise { Promise::Vminfo => "vminfo", Promise::Vmm => "vmm", Promise::Wpath => "wpath", + Promise::Wroute => "wroute", _ => panic!("Promise::to_promise_string is incomplete (bug)"), } }