(p: string)
| 1597 | function rustCrateRootDir(fromFileAbs: string, context: ResolutionContext): string | null { |
| 1598 | const projectRoot = context.getProjectRoot(); |
| 1599 | const toRel = (p: string) => path.relative(projectRoot, p).replace(/\\/g, '/'); |
| 1600 | let dir = path.dirname(fromFileAbs); |
| 1601 | for (let i = 0; i < 64; i++) { |
| 1602 | if (context.fileExists(toRel(path.join(dir, 'lib.rs'))) || |
no outgoing calls
no test coverage detected