Skip to content

Commit 2c6fee8

Browse files
committed
---
yaml --- r: 228572 b: refs/heads/try c: 24c5e49 h: refs/heads/master v: v3
1 parent f979963 commit 2c6fee8

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: aca2057ed5fb7af3f8905b2bc01f72fa001c35c8
33
refs/heads/snap-stage3: 1af31d4974e33027a68126fa5a5a3c2c6491824f
4-
refs/heads/try: 7cb157e74d2f190dd338e0f81c07bf427c22e02d
4+
refs/heads/try: 24c5e492751489280f446f4efff1740a6c3e5aa1
55
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
66
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
77
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try/src/libstd/sys/windows/thread_local.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,9 +231,12 @@ pub static p_thread_callback: unsafe extern "system" fn(LPVOID, DWORD,
231231
LPVOID) =
232232
on_tls_callback;
233233

234-
#[cfg(target_env = "msvc")]
234+
#[cfg(all(target_env = "msvc", target_pointer_width = "64"))]
235235
#[link_args = "/INCLUDE:_tls_used"]
236236
extern {}
237+
#[cfg(all(target_env = "msvc", target_pointer_width = "32"))]
238+
#[link_args = "/INCLUDE:__tls_used"]
239+
extern {}
237240

238241
#[allow(warnings)]
239242
unsafe extern "system" fn on_tls_callback(h: LPVOID,

0 commit comments

Comments
 (0)