rust/src/libstd/os
bors 4352a8554f Auto merge of #31986 - ashleysommer:emscripten_fixes, r=alexcrichton
Fix building libstd on emscripten targets.

The main cause of the problem is that libstd/os/mod.rs treats emscripten targets as an alias of linux targets, whereas liblibc treats emscripten targets as musl-compliant, so it gets a slightly different struct stat64 defined.
This commit adds conditional compilation checks to use the correct timestamp format on fs metadata functions in the case of compiling to emscripten targets.

This commit also depends needs f1575cff2d applied in order to successfully build libstd with emscripten target.
2016-03-08 01:04:36 +00:00
..
android std: Deprecate all std::os::*::raw types 2016-02-13 14:42:55 -08:00
bitrig std: Deprecate all std::os::*::raw types 2016-02-13 14:42:55 -08:00
dragonfly time_t is long on freebsd and dragonfly (and nsec should be long) 2016-02-17 16:55:43 +00:00
emscripten Fix building libstd on on emscripten targets. 2016-03-07 17:22:55 +10:00
freebsd re-add freebsd padding 2016-02-17 16:59:03 +00:00
ios std: Deprecate all std::os::*::raw types 2016-02-13 14:42:55 -08:00
linux std: Deprecate all std::os::*::raw types 2016-02-13 14:42:55 -08:00
macos std: Deprecate all std::os::*::raw types 2016-02-13 14:42:55 -08:00
nacl std: Deprecate all std::os::*::raw types 2016-02-13 14:42:55 -08:00
netbsd Fix struct stat usage on NetBSD 2016-02-21 16:35:37 +01:00
openbsd polish std::os::*::raw deprecation on openbsd 2016-02-14 12:03:46 +01:00
solaris Fix broken Solaris build 2016-02-22 01:58:49 +03:00
mod.rs Auto merge of #31986 - ashleysommer:emscripten_fixes, r=alexcrichton 2016-03-08 01:04:36 +00:00
raw.rs std: Deprecate all std::os::*::raw types 2016-02-13 14:42:55 -08:00