rust-lang/cargo — pull request #86 by alexcrichton (2014-06-28 20:34:56+00:00)
Title: Don't infinitely recurse on cyclic path deps

Instead, keep a table of what we've visited and halt recursion whenever we
re-visit a package.