Skip to content

Commit f1daf9b

Browse files
Lokathorgnzlbg
authored andcommitted
Use cargo xbuild
I forgot for a moment that xargo isn't the same as cargo xbuild
1 parent 343b137 commit f1daf9b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ matrix:
6868
env: NORUN=1 NOSTD=1 NO_DOCKER=1
6969
install:
7070
- rustup component add rust-src
71-
- cargo install xargo
71+
- (test -x $HOME/.cargo/bin/cargo-xbuild || cargo install cargo-xbuild)
7272
script:
7373
# Obtain the devkitPro tools, using `target/` as a temp directory. This
7474
# is required because we need to use their linker. `lld` uses the `BLX`
@@ -85,7 +85,7 @@ matrix:
8585
- cd ..
8686
# Pull the target spec up into the current directory and then build
8787
- mv ci/gba.json gba.json
88-
- xargo build --lib --target=gba.json
88+
- cargo xbuild --lib --target gba.json
8989
- name: "Documentation"
9090
install: true
9191
script: ci/dox.sh

0 commit comments

Comments
 (0)