Skip to content

Commit a5080be

Browse files
committed
---
yaml --- r: 207336 b: refs/heads/master c: e2854b3 h: refs/heads/master v: v3
1 parent cb24a10 commit a5080be

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: d97b4af15353c488ddd48a7e208906f84f7654c5
2+
refs/heads/master: e2854b38932e9cc3aa5ac09b55b59845919860c4
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 857ef6e272e5634cb9f3e6ee50eb6bc2a2e71651
55
refs/heads/try: 7b4ef47b7805a402d756fb8157101f64880a522f

trunk/src/liblibc/lib.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,12 @@ extern {}
150150
#[link(name = "c", kind = "static")]
151151
extern {}
152152

153+
#[cfg(all(windows, target_env = "msvc"))]
154+
#[link(name = "kernel32")]
155+
#[link(name = "shell32")]
156+
#[link(name = "msvcrt")]
157+
extern {}
158+
153159
// libnacl provides functions that require a trip through the IRT to work.
154160
// ie: _exit, mmap, nanosleep, etc. Anything that would otherwise require a trip
155161
// to the kernel.

0 commit comments

Comments
 (0)