rust/src/compiletest
bors e3bcddb44b Auto merge of #31078 - nbaksalyar:illumos, r=alexcrichton
This pull request adds support for [Illumos](http://illumos.org/)-based operating systems: SmartOS, OpenIndiana, and others. For now it's x86-64 only, as I'm not sure if 32-bit installations are widespread. This PR is based on #28589 by @potatosalad, and also closes #21000, #25845, and #25846.

Required changes in libc are already merged: https://github.com/rust-lang-nursery/libc/pull/138

Here's a snapshot required to build a stage0 compiler:
https://s3-eu-west-1.amazonaws.com/nbaksalyar/rustc-sunos-snapshot.tar.gz
It passes all checks from `make check`.

There are some changes I'm not quite sure about, e.g. macro usage in `src/libstd/num/f64.rs` and `DirEntry` structure in `src/libstd/sys/unix/fs.rs`, so any comments on how to rewrite it better would be greatly appreciated.

Also, LLVM configure script might need to be patched to build it successfully, or a pre-built libLLVM should be used. Some details can be found here: https://llvm.org/bugs/show_bug.cgi?id=25409

Thanks!

r? @brson
2016-02-03 22:40:32 +00:00
..
common.rs Implement the translation item collector. 2016-01-26 10:17:45 -05:00
compiletest.rs std: Stabilize APIs for the 1.6 release 2015-12-05 15:09:44 -08:00
errors.rs refactored compiletest following clippy's suggestions 2015-09-01 14:43:42 +02:00
header.rs Add a build-aux-docs directive to compiletest 2015-12-03 22:20:29 +01:00
procsrv.rs std: Stabilize library APIs for 1.5 2015-10-25 09:36:32 -07:00
raise_fd_limit.rs compiletest/raise_fd_limit: use libc instead of custom impl 2015-11-10 12:27:55 -05:00
runtest.rs Expect all help/note messages are specified in a cfail test if it contains help/note annotations, 2016-01-30 00:27:58 +01:00
util.rs Auto merge of #31078 - nbaksalyar:illumos, r=alexcrichton 2016-02-03 22:40:32 +00:00