(path: &Path)
| 135 | |
| 136 | impl AllocatorLib { |
| 137 | pub fn from_path_static(path: &Path) -> Result<Self, Box<dyn std::error::Error>> { |
| 138 | let kind = find_statically_linked_allocator(path).ok_or("No allocator found")?; |
| 139 | Ok(Self { |
| 140 | kind, |
| 141 | path: path.to_path_buf(), |
| 142 | }) |
| 143 | } |
| 144 | } |
nothing calls this directly
no test coverage detected