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

NetBSD tweaks taken from rustc 1.3.0 #19

Merged
merged 1 commit into from
Nov 24, 2015
Merged

Conversation

polyfractal
Copy link
Contributor

On a whim, I went snooping through the rustc sources to see if there was anything to find. As it turns out, someone updated this code to include netbsd in 1.3.0 (right before it was all removed in 1.4.0): https://github.com/rust-lang/rust/blob/1.3.0/src/libstd/sys/common/stack.rs

I ported the parts that are in use by context-rs (which also updated a few other OS at the same time, and comments). It looks like they updated the windows section a bit, but was not confident enough to port it since the structure is a little different.

Cross-compiled and tested that this works on netbsd!

Related to #8

@zonyitoo
Copy link
Owner

Awesome!! Thanks!

zonyitoo added a commit that referenced this pull request Nov 24, 2015
NetBSD tweaks taken from rustc 1.3.0
@zonyitoo zonyitoo merged commit 5c43794 into zonyitoo:master Nov 24, 2015
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.

2 participants