Skip to content

Commit 1121ff1

Browse files
committed
---
yaml --- r: 221152 b: refs/heads/tmp c: 24c5e49 h: refs/heads/master v: v3
1 parent b32ae18 commit 1121ff1

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
@@ -25,7 +25,7 @@ refs/tags/0.11.0: e1247cb1d0d681be034adb4b558b5a0c0d5720f9
2525
refs/tags/0.12.0: f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1
2626
refs/heads/beta: c8bab9d06a179028a0d5129aa62f09d694d9cc49
2727
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
28-
refs/heads/tmp: 7cb157e74d2f190dd338e0f81c07bf427c22e02d
28+
refs/heads/tmp: 24c5e492751489280f446f4efff1740a6c3e5aa1
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3030
refs/tags/homu-tmp: e58601ab085591c71a27ae82137fc313222c2270
3131
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828

branches/tmp/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)