pub enum RunnerFamily {
Linux,
MacOs,
Windows,
}Expand description
The GitHub Actions runner pool a CI target builds on.
Mirrors the runs-on map in build-crate.yml: macos-14 for the
Apple targets, windows-latest for the MSVC targets, ubuntu-latest
for the rest. The scheduler caps dispatches per family because the
pools are sized very differently — the org’s macOS pool is the
smallest — and starts the slow Windows legs of a wave first.
Variants§
Linux
ubuntu-latest — also hosts the Android and wasm builds.
MacOs
macos-14 — the smallest pool in the org’s runner fleet.
Windows
windows-latest — the slowest legs of a full wave.
Implementations§
Source§impl RunnerFamily
impl RunnerFamily
Sourcepub const fn targets(self) -> &'static [&'static str]
pub const fn targets(self) -> &'static [&'static str]
The CI_TARGET_TRIPLES members that build on this family’s
runner.
Sourcepub const fn host_triple(self) -> &'static str
pub const fn host_triple(self) -> &'static str
The triple host-gated units (proc-macro, build-dependencies,
build.rs) compile on for builds dispatched to this family’s runner —
the runner’s own platform. macOS runners are arm64.
Trait Implementations§
Source§impl Clone for RunnerFamily
impl Clone for RunnerFamily
impl Copy for RunnerFamily
Source§impl Debug for RunnerFamily
impl Debug for RunnerFamily
impl Eq for RunnerFamily
Source§impl Hash for RunnerFamily
impl Hash for RunnerFamily
Source§impl PartialEq for RunnerFamily
impl PartialEq for RunnerFamily
impl StructuralPartialEq for RunnerFamily
Auto Trait Implementations§
impl Freeze for RunnerFamily
impl RefUnwindSafe for RunnerFamily
impl Send for RunnerFamily
impl Sync for RunnerFamily
impl Unpin for RunnerFamily
impl UnsafeUnpin for RunnerFamily
impl UnwindSafe for RunnerFamily
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.