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

Method version

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

Source from the content-addressed store, hash-verified

81 /// `version`—Operating system build identifiers.
82 #[inline]
83 pub fn version(&self) -> &CStr {
84 Self::to_cstr(self.0.version.as_ptr().cast())
85 }
86
87 /// `machine`—Hardware architecture identifier.
88 #[inline]

Callers

nothing calls this directly

Calls 1

as_ptrMethod · 0.45

Tested by

no test coverage detected