MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / required_runtime_lib_name

Function required_runtime_lib_name

crates/openshell-driver-vm/src/ffi.rs:108–117  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

106}
107
108pub fn required_runtime_lib_name() -> &'static str {
109 #[cfg(target_os = "macos")]
110 {
111 "libkrun.dylib"
112 }
113 #[cfg(not(target_os = "macos"))]
114 {
115 "libkrun.so"
116 }
117}
118
119impl LibKrun {
120 fn load(runtime_dir: &Path) -> Result<Self, String> {

Callers 1

loadMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected