Skip to content

Convert most of rust_run_program.cpp to rust (issue #2674). #6140

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

Merged
merged 3 commits into from
May 3, 2013

Conversation

Dretch
Copy link
Contributor

@Dretch Dretch commented Apr 30, 2013

Even more of core::run could be rust-ified -- I believe that access to the C extern environ can be done with rust now. I did not do this because some special casing is needed for OSX and I don't have a mac I can test with.

I think this will also fix #6096.

@pcwalton
Copy link
Contributor

I'm very happy to see this work done, kudos. There's no reason running programs should require the runtime :)

@brson
Copy link
Contributor

brson commented May 1, 2013

👍

gareth added 3 commits May 2, 2013 19:26
- it is now cross platform, instead of just unix
- it now avoids sleeping (fixing issue #6156)
- it now calls force_destroy() when force = true (was a bug)
bors added a commit that referenced this pull request May 3, 2013
Even more of `core::run` could be rust-ified -- I believe that access to the C extern environ can be done with rust now. I did not do this because some special casing is needed for OSX and I don't have a mac I can test with.

I think this will also fix #6096.
@bors bors closed this May 3, 2013
@bors bors merged commit bd979c1 into rust-lang:incoming May 3, 2013
@Dretch Dretch deleted the run-with-rust branch May 3, 2013 16:49
@Dretch Dretch restored the run-with-rust branch May 3, 2013 16:49
@Dretch Dretch deleted the run-with-rust branch May 3, 2013 16:49
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

Successfully merging this pull request may close these issues.

4 participants