(s: String)
| 102 | |
| 103 | impl From<String> for CompilerOptions { |
| 104 | fn from(s: String) -> Self { |
| 105 | match s.to_lowercase().as_str() { |
| 106 | "cargo" => Self::Cargo(CargoCompilerOptions::default()), |
| 107 | "cross" => Self::Cross, |
| 108 | _ => Self::CargoZigbuild, |
| 109 | } |
| 110 | } |
| 111 | } |
| 112 | |
| 113 | impl CompilerOptions { |
nothing calls this directly
no test coverage detected