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

Cargo build should leave the file descriptors opened for the build script #1262

Closed
octplane opened this issue Feb 2, 2015 · 2 comments
Closed

Comments

@octplane
Copy link

octplane commented Feb 2, 2015

Current code does not forward stdin, stderr, stdout to the spawned build script.

This behavior can be desired if your build script is interactive (vaguely related with #1208).

@octplane octplane changed the title Cargo build should leave the file descriptor to the build script Cargo build should leave the file descriptors opened for the build script Feb 2, 2015
@alexcrichton
Copy link
Member

Unfortunately due to the concurrent nature of Cargo's build process I don't think that this is a feasible feature to implement. We may want some form of a request-response system from a build script to Cargo at some point, but for now it wouldn't work super well if 4 build scripts decided to ask for input all at once :(

@octplane
Copy link
Author

octplane commented Feb 2, 2015

Sure. I didn't realize Cargo could multithread its build process...

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

2 participants