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