Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

infinite recursion when a package depends on itself #77

Closed
huonw opened this issue Jun 27, 2014 · 0 comments
Closed

infinite recursion when a package depends on itself #77

huonw opened this issue Jun 27, 2014 · 0 comments

Comments

@huonw
Copy link
Member

huonw commented Jun 27, 2014

[package]

name = "test"
version = "0.0.0"
authors = []

[dependencies.test]

path = "."

[[lib]]

name = "test"

with src/test.rs:

task '<main>' has overflowed its stack

(This fails with a nonrelative path too.)

alexcrichton added a commit to alexcrichton/cargo that referenced this issue Sep 2, 2014
Instead, keep a table of what we've visited and halt recursion whenever we
re-visit a package.

Closes rust-lang#77
ehuss pushed a commit to ehuss/cargo that referenced this issue Nov 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant