File tree 3 files changed +4
-9
lines changed
docker/powerpc64le-unknown-linux-gnu
3 files changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -7,5 +7,6 @@ RUN apt-get install -y --no-install-recommends \
7
7
qemu-system-ppc
8
8
9
9
ENV CARGO_TARGET_POWERPC64LE_UNKNOWN_LINUX_GNU_LINKER=powerpc64le-linux-gnu-gcc \
10
+ QEMU_CPU=POWER8 \
10
11
QEMU_LD_PREFIX=/usr/powerpc64le-linux-gnu \
11
12
RUST_TEST_THREADS=1
Original file line number Diff line number Diff line change @@ -6,12 +6,6 @@ case $1 in
6
6
xargo build --target $1
7
7
xargo build --target $1 --release
8
8
;;
9
- # QEMU crashes even when executing the simplest cross compiled C program:
10
- # `int main() { return 0; }`
11
- powerpc64le-unknown-linux-gnu)
12
- cargo test --target $1 --no-run
13
- cargo test --target $1 --no-run --release
14
- ;;
15
9
* )
16
10
cargo test --target $1
17
11
cargo test --target $1 --release
69
63
70
64
# NOTE On i586, It's normal that the get_pc_thunk symbol appears several times so ignore it
71
65
if [ $TRAVIS_OS_NAME = osx ]; then
72
- path=target/${1} /debug/librustc_builtins .rlib
66
+ path=target/${1} /debug/libcompiler_builtins .rlib
73
67
else
74
- path=/target/${1} /debug/librustc_builtins .rlib
68
+ path=/target/${1} /debug/libcompiler_builtins .rlib
75
69
fi
76
70
77
71
stdout=$( $PREFIX$NM -g --defined-only $path )
Original file line number Diff line number Diff line change 1
1
// By compiling this file we check that all the intrinsics we care about continue to be provided by
2
- // the `rustc_builtins ` crate regardless of the changes we make to it. If we, by mistake, stop
2
+ // the `compiler_builtins ` crate regardless of the changes we make to it. If we, by mistake, stop
3
3
// compiling a C implementation and forget to implement that intrinsic in Rust, this file will fail
4
4
// to link due to the missing intrinsic (symbol).
5
5
You can’t perform that action at this time.
0 commit comments