Skip to content

Remove rust_run_program.cpp #9280

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 1 commit into from
Sep 19, 2013
Merged

Remove rust_run_program.cpp #9280

merged 1 commit into from
Sep 19, 2013

Conversation

alexcrichton
Copy link
Member

Some of the functions could be converted to rust, but the functions dealing with
signals were moved to rust_builtin.cpp instead (no reason to keep the original
file around for one function).

Closes #2674

Because less C++ is better C++!

}
environ = envp;
}
#[cfg(not(target_os = "macos"), not(target_os = "windows"))]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this actually right for macos? Since _NSGetEnviron seems like a mac thing.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#[cfg(target_os = "windows"))] should be #[cfg(target_os = "win32"))] or #[cfg(windows)]?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wow I completely inverted these two.

Some of the functions could be converted to rust, but the functions dealing with
signals were moved to rust_builtin.cpp instead (no reason to keep the original
file around for one function).

Closes rust-lang#2674
bors added a commit that referenced this pull request Sep 19, 2013
Some of the functions could be converted to rust, but the functions dealing with
signals were moved to rust_builtin.cpp instead (no reason to keep the original
file around for one function).

Closes #2674

Because less C++ is better C++!
@bors bors closed this Sep 19, 2013
@bors bors merged commit c3ad785 into rust-lang:master Sep 19, 2013
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.

Convert rust_run_program.cpp to Rust
4 participants