libc: Add necessary libraries for MSVC
These libs seem to be required by the standard library at least to link successfully!
This commit is contained in:
parent
d97b4af153
commit
e2854b3893
@ -150,6 +150,12 @@ extern {}
|
||||
#[link(name = "c", kind = "static")]
|
||||
extern {}
|
||||
|
||||
#[cfg(all(windows, target_env = "msvc"))]
|
||||
#[link(name = "kernel32")]
|
||||
#[link(name = "shell32")]
|
||||
#[link(name = "msvcrt")]
|
||||
extern {}
|
||||
|
||||
// libnacl provides functions that require a trip through the IRT to work.
|
||||
// ie: _exit, mmap, nanosleep, etc. Anything that would otherwise require a trip
|
||||
// to the kernel.
|
||||
|
Loading…
Reference in New Issue
Block a user