Skip to content

Commit 454b1cf

Browse files
authored
Auto merge of #105 - japaric:mips64, r=japaric
test the mips64 targets These should be all the required changes I think but libloading can't be cross compiled for these new targets: ``` error: failed to run custom build command for `libloading v0.3.1` process didn't exit successfully: `/target/debug/build/libloading-07147fe7fffab0b2/build-script-build`(exit code: 101) --- stderr thread 'main' panicked at 'could not get target info: TargetNotFound', ../src/libcore/result.rs:799 note: Run with `RUST_BACKTRACE=1` for a backtrace. ``` I've openend nagisa/rust_libloading#19 to track that. Wel'll have to wait until that's fixed. cc @alexcrichton
2 parents 600ed3b + 86e3b95 commit 454b1cf

File tree

3 files changed

+29
-0
lines changed

3 files changed

+29
-0
lines changed

.travis.yml

+2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ matrix:
1616
os: osx
1717
- env: TARGET=i686-unknown-linux-gnu
1818
- env: TARGET=mips-unknown-linux-gnu
19+
- env: TARGET=mips64-unknown-linux-gnuabi64
20+
- env: TARGET=mips64el-unknown-linux-gnuabi64
1921
- env: TARGET=mipsel-unknown-linux-gnu
2022
- env: TARGET=powerpc-unknown-linux-gnu
2123
- env: TARGET=powerpc64-unknown-linux-gnu
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
FROM ubuntu:16.04
2+
RUN apt-get update
3+
RUN apt-get install -y --no-install-recommends \
4+
ca-certificates \
5+
gcc \
6+
gcc-mips64-linux-gnuabi64 \
7+
libc6-dev \
8+
libc6-dev-mips64-cross \
9+
qemu-user-static
10+
RUN apt-get install -y --no-install-recommends qemu-system-mips
11+
ENV CARGO_TARGET_MIPS64_UNKNOWN_LINUX_GNUABI64_LINKER=mips64-linux-gnuabi64-gcc \
12+
CC_mips64_unknown_linux_gnuabi64=mips64-linux-gnuabi64-gcc \
13+
QEMU_LD_PREFIX=/usr/mips64-linux-gnuabi64 \
14+
RUST_TEST_THREADS=1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
FROM ubuntu:16.04
2+
RUN apt-get update
3+
RUN apt-get install -y --no-install-recommends \
4+
ca-certificates \
5+
gcc \
6+
gcc-mips64el-linux-gnuabi64 \
7+
libc6-dev \
8+
libc6-dev-mips64el-cross \
9+
qemu-user-static
10+
ENV CARGO_TARGET_MIPS64EL_UNKNOWN_LINUX_GNUABI64_LINKER=mips64el-linux-gnuabi64-gcc \
11+
CC_mips64el_unknown_linux_gnuabi64=mips64el-linux-gnuabi64-gcc \
12+
QEMU_LD_PREFIX=/usr/mips64el-linux-gnuabi64 \
13+
RUST_TEST_THREADS=1

0 commit comments

Comments
 (0)