Skip to content

Commit 67caa72

Browse files
author
Jakub Wieczorek
committed
---
yaml --- r: 152427 b: refs/heads/try2 c: 135625d h: refs/heads/master i: 152425: b3d6dd8 152423: 742571c v: v3
1 parent bebbced commit 67caa72

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
55
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: f7d86b2f4ace416a65e84603082c756b8b5dc43e
8+
refs/heads/try2: 135625df96733dae77544de7abb2eae71f4946fc
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try2/src/libgreen/context.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ extern {
143143
// stacks are disabled.
144144

145145
#[cfg(target_arch = "x86")]
146+
#[repr(C)]
146147
struct Registers {
147148
eax: u32, ebx: u32, ecx: u32, edx: u32,
148149
ebp: u32, esi: u32, edi: u32, esp: u32,

branches/try2/src/libnative/io/c_win32.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ pub static FIONBIO: libc::c_long = 0x8004667e;
2020
static FD_SETSIZE: uint = 64;
2121
pub static MSG_DONTWAIT: libc::c_int = 0;
2222

23+
#[repr(C)]
2324
pub struct WSADATA {
2425
pub wVersion: libc::WORD,
2526
pub wHighVersion: libc::WORD,
@@ -32,6 +33,7 @@ pub struct WSADATA {
3233

3334
pub type LPWSADATA = *mut WSADATA;
3435

36+
#[repr(C)]
3537
pub struct fd_set {
3638
fd_count: libc::c_uint,
3739
fd_array: [libc::SOCKET, ..FD_SETSIZE],

0 commit comments

Comments
 (0)