Skip to content

Commit 27b9615

Browse files
committed
---
yaml --- r: 235643 b: refs/heads/stable c: 24c5e49 h: refs/heads/master i: 235641: 15ea07a 235639: 21c5863 v: v3
1 parent 68675b5 commit 27b9615

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
@@ -29,7 +29,7 @@ refs/heads/tmp: afae2ff723393b3ab4ccffef6ac7c6d1809e2da0
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3030
refs/tags/homu-tmp: f859507de8c410b648d934d8f5ec1c52daac971d
3131
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828
32-
refs/heads/stable: 7cb157e74d2f190dd338e0f81c07bf427c22e02d
32+
refs/heads/stable: 24c5e492751489280f446f4efff1740a6c3e5aa1
3333
refs/tags/1.0.0: 55bd4f8ff2b323f317ae89e254ce87162d52a375
3434
refs/tags/1.1.0: bc3c16f09287e5545c1d3f76b7abd54f2eca868b
3535
refs/tags/1.2.0: f557861f822c34f07270347b94b5280de20a597e

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