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

Demo behaves poorly when src/lib.rs is deleted before a rebuild #2

Open
pnkfelix opened this issue Sep 4, 2017 · 1 comment
Open

Comments

@pnkfelix
Copy link
Owner

pnkfelix commented Sep 4, 2017

Due to rust-lang/cargo#4468, the demo here is less than satisfying, since cargo sometimes fails to run the build.rs script when it should.

Its possible that this could be fixed indirectly when we have support for rerun-if-changed (see pnkfelix/tango#12 )

But it would probably be best (since I do not expect rust-lang/cargo#4468 to be addressed with high-priority), to just change the demo to use a lib.rs file, and (maybe) change the tango documentation to encourage users to still use a lib.rs for their project root.

(Hopefully the root cause of rust-lang/cargo#4468 is not something that interferes with tango's basic model...)

@pnkfelix
Copy link
Owner Author

Its possible that this could be fixed indirectly when we have support for rerun-if-changed (see pnkfelix/tango#12 )

Evidence for this assertion is provided at: rust-lang/cargo#4468 (comment)

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