diff options
| author | bors <bors@rust-lang.org> | 2015-07-02 18:50:46 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-07-02 18:50:46 +0000 |
| commit | fb379ef05cfdf5c61ec992c578682814c990b264 (patch) | |
| tree | 7e46588e484bec1db390c3fb45a7898172b3e693 /src/libstd/sys/common/stack.rs | |
| parent | 68094818969b295a043963ad59c502928f66239f (diff) | |
| parent | 0b7c4f57f6ba59dabe4db2808fe45e8bd8bbce22 (diff) | |
| download | rust-fb379ef05cfdf5c61ec992c578682814c990b264.tar.gz rust-fb379ef05cfdf5c61ec992c578682814c990b264.zip | |
Auto merge of #26682 - posix4e:netbsd, r=alexcrichton
This is dependent on https://github.com/rust-lang/rust-installer/pull/38. Once it is merged we most likely need to update the commit.
Diffstat (limited to 'src/libstd/sys/common/stack.rs')
| -rw-r--r-- | src/libstd/sys/common/stack.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstd/sys/common/stack.rs b/src/libstd/sys/common/stack.rs index 11982ebc572..002e3b20c35 100644 --- a/src/libstd/sys/common/stack.rs +++ b/src/libstd/sys/common/stack.rs @@ -202,6 +202,7 @@ pub unsafe fn record_sp_limit(limit: usize) { target_arch = "powerpc", all(target_arch = "arm", target_os = "ios"), target_os = "bitrig", + target_os = "netbsd", target_os = "openbsd"))] unsafe fn target_record_sp_limit(_: usize) { } @@ -299,6 +300,7 @@ pub unsafe fn get_sp_limit() -> usize { target_arch = "powerpc", all(target_arch = "arm", target_os = "ios"), target_os = "bitrig", + target_os = "netbsd", target_os = "openbsd"))] #[inline(always)] unsafe fn target_get_sp_limit() -> usize { |
