1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
use crate*;
impl_exec_instance!;
// impl ExecInstance for OpenCLIInstance {
// const BINARY_NAME: &'static str = "open";
// unsafe fn new_unchecked(exec_path: impl AsRef<Utf8Path>) -> Self {
// Self {
// exec_path: exec_path.as_ref().to_owned(),
// }
// }
// fn get_inner_exec_path(&self) -> &Utf8Path {
// &self.exec_path
// }
// fn validate_version(&self) -> bool {
// // builtin usually
// true
// }
// }
// impl OpenCLIInstance {
// pub fn new() -> Result<Self> {
// <Self as ExecInstance>::new()
// }
// }