MCPcopy Create free account
hub / github.com/bytecodealliance/rustix / machine

Method machine

src/system.rs:89–91  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

87 /// `machine`—Hardware architecture identifier.
88 #[inline]
89 pub fn machine(&self) -> &CStr {
90 Self::to_cstr(self.0.machine.as_ptr().cast())
91 }
92
93 /// `domainname`—NIS or YP domain identifier.
94 #[cfg(linux_kernel)]

Callers

nothing calls this directly

Calls 1

as_ptrMethod · 0.45

Tested by

no test coverage detected