Try to fix travis for x86_64

master
WangRunji 7 years ago
parent 776dc976c9
commit fed7b38845

@ -20,16 +20,13 @@ env:
- ARCH="riscv32"
- ARCH="x86_64"
before_install:
- if [ $ARCH = riscv32 ]; then
docker pull wangrunji0408/riscv-rust;
fi
before_script:
- rustup component add rust-src
- (test -x $HOME/.cargo/bin/cargo-install-update || cargo install cargo-update)
- (test -x $HOME/.cargo/bin/xargo || cargo install xargo)
- cargo install-update -a
- if [ $ARCH = x86_64 ]; then
rustup component add rust-src &&
(test -x $HOME/.cargo/bin/cargo-install-update || cargo install cargo-update) &&
(test -x $HOME/.cargo/bin/xargo || cargo install xargo) &&
cargo install-update -a;
fi
script:
- if [ $ARCH = riscv32 ]; then

@ -1,7 +1,7 @@
{
"llvm-target": "x86_64-unknown-none",
"data-layout": "e-m:e-i64:64-f80:128-n8:16:32:64-S128",
"linker-flavor": "gcc",
"linker-flavor": "ld.lld",
"target-endian": "little",
"target-pointer-width": "64",
"target-c-int-width": "32",

Loading…
Cancel
Save