Skip to content

Commit 7074592

Browse files
committed
auto merge of #16571 : pcwalton/rust/register-snapshots, r=pcwalton
2 parents 1721e81 + 63016dc commit 7074592

File tree

2 files changed

+8
-34
lines changed

2 files changed

+8
-34
lines changed

src/liblibc/lib.rs

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1456,47 +1456,13 @@ pub mod types {
14561456
pub Data4: [BYTE, ..8],
14571457
}
14581458

1459-
// NOTE(pcwalton, stage0): Remove after snapshot (typeck bug
1460-
// workaround).
1461-
#[cfg(stage0)]
1462-
pub struct WSAPROTOCOLCHAIN {
1463-
pub ChainLen: c_int,
1464-
pub ChainEntries: [DWORD, ..MAX_PROTOCOL_CHAIN],
1465-
}
1466-
#[cfg(not(stage0))]
14671459
pub struct WSAPROTOCOLCHAIN {
14681460
pub ChainLen: c_int,
14691461
pub ChainEntries: [DWORD, ..MAX_PROTOCOL_CHAIN as uint],
14701462
}
14711463

14721464
pub type LPWSAPROTOCOLCHAIN = *mut WSAPROTOCOLCHAIN;
14731465

1474-
// NOTE(pcwalton, stage0): Remove after snapshot (typeck bug
1475-
// workaround).
1476-
#[cfg(stage0)]
1477-
pub struct WSAPROTOCOL_INFO {
1478-
pub dwServiceFlags1: DWORD,
1479-
pub dwServiceFlags2: DWORD,
1480-
pub dwServiceFlags3: DWORD,
1481-
pub dwServiceFlags4: DWORD,
1482-
pub dwProviderFlags: DWORD,
1483-
pub ProviderId: GUID,
1484-
pub dwCatalogEntryId: DWORD,
1485-
pub ProtocolChain: WSAPROTOCOLCHAIN,
1486-
pub iVersion: c_int,
1487-
pub iAddressFamily: c_int,
1488-
pub iMaxSockAddr: c_int,
1489-
pub iMinSockAddr: c_int,
1490-
pub iSocketType: c_int,
1491-
pub iProtocol: c_int,
1492-
pub iProtocolMaxOffset: c_int,
1493-
pub iNetworkByteOrder: c_int,
1494-
pub iSecurityScheme: c_int,
1495-
pub dwMessageSize: DWORD,
1496-
pub dwProviderReserved: DWORD,
1497-
pub szProtocol: [u8, ..WSAPROTOCOL_LEN+1],
1498-
}
1499-
#[cfg(not(stage0))]
15001466
pub struct WSAPROTOCOL_INFO {
15011467
pub dwServiceFlags1: DWORD,
15021468
pub dwServiceFlags2: DWORD,

src/snapshots.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
S 2014-08-17 a86d9ad
2+
freebsd-x86_64 f49e0c8e64c8a60dc47df9965974d2a98ef70b34
3+
linux-i386 8f2c5f6a1b6504ee63de73c7a53aee1e4b07bca5
4+
linux-x86_64 c04f92c5583d92217ea9641a8e0a3108acbc5283
5+
macos-i386 2f1e849bab50ce2b92f5eb0ef5a63954904cac97
6+
macos-x86_64 977a8e496dd4ccf79c86a93a1794e65213d76f96
7+
winnt-i386 c2b08d721c5c1628aea4932c0e09e5bf07d54881
8+
19
S 2014-08-14 aa98b25
210
freebsd-x86_64 6a84283dfd8600fca6ec08144228f405ad9fe333
311
linux-i386 6aeac588b086a99f81b53cfadd15617c82c540aa

0 commit comments

Comments
 (0)