| ... | ... | @@ -35,8 +35,6 @@ pub const DetectError = error{ |
| 35 | 35 | /// natively, which should be standard or default, and which are provided explicitly, this function |
| 36 | 36 | /// resolves the native components by detecting the native system, and then resolves standard/default parts |
| 37 | 37 | /// relative to that. |
| 38 | | /// Any resources this function allocates are released before returning, and so there is no |
| 39 | | /// deinitialization method. |
| 40 | 38 | pub fn detect(cross_target: CrossTarget) DetectError!NativeTargetInfo { |
| 41 | 39 | var os = cross_target.getOsTag().defaultVersionRange(cross_target.getCpuArch()); |
| 42 | 40 | if (cross_target.os_tag == null) { |