]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #25140 - kevinmehall:mips, r=steveklabnik
authorManish Goregaokar <manishsmail@gmail.com>
Fri, 8 May 2015 19:07:42 +0000 (00:37 +0530)
committerManish Goregaokar <manishsmail@gmail.com>
Fri, 8 May 2015 19:07:42 +0000 (00:37 +0530)
commit4c0f7fd6fcb45d26668d01d6434108ae2fc76580
tree68081c3d3a73b3400ed5d54ca583b44db5bc61e7
parent8b8cb34747a76a55e1d29b7bf06b33cc7373bf9c
parent6c6b20031c80c8e30b8c4edc36f136b682534de6
Rollup merge of #25140 - kevinmehall:mips, r=steveklabnik

Building with `--target=mipsel-unknown-linux-gnu` currently results in the following errors, fixed by this PR:

```
rustc: x86_64-unknown-linux-gnu/stage2/lib/rustlib/mipsel-unknown-linux-gnu/lib/libstd
/vol/rust/src/libstd/os/linux/raw.rs:76:21: 76:28 error: use of undeclared type name `c_ulong`
/vol/rust/src/libstd/os/linux/raw.rs:76         pub st_dev: c_ulong,
                                                            ^~~~~~~
/vol/rust/src/libstd/os/linux/raw.rs:83:22: 83:29 error: use of undeclared type name `c_ulong`
/vol/rust/src/libstd/os/linux/raw.rs:83         pub st_rdev: c_ulong,
                                                             ^~~~~~~
/vol/rust/src/libstd/sys/common/net2.rs:210:52: 210:70 error: unresolved name `libc::TCP_KEEPIDLE`
/vol/rust/src/libstd/sys/common/net2.rs:210         setsockopt(&self.inner, libc::IPPROTO_TCP, libc::TCP_KEEPIDLE,
```
src/liblibc/lib.rs