(self)
| 42 | |
| 43 | impl DepKind { |
| 44 | fn prefix_and_extension(self) -> (&'static str, &'static str) { |
| 45 | match self { |
| 46 | Self::SpirvLib => ("lib", "rlib"), |
| 47 | Self::ProcMacro => (env::consts::DLL_PREFIX, env::consts::DLL_EXTENSION), |
| 48 | } |
| 49 | } |
| 50 | |
| 51 | fn target_dir_suffix(self, target: &str) -> String { |
| 52 | match self { |