(value: &str)
| 2273 | } |
| 2274 | |
| 2275 | fn os_or_kernel_reports_wsl2(value: &str) -> bool { |
| 2276 | let value = value.to_ascii_lowercase(); |
| 2277 | value.contains("wsl2") || value.contains("microsoft-standard") |
| 2278 | } |
| 2279 | |
| 2280 | fn docker_gpu_selection_status(err: CdiGpuSelectionError) -> Status { |
| 2281 | Status::failed_precondition(err.to_string()) |
nothing calls this directly
no outgoing calls
no test coverage detected