Need `sudo` on Linux
@@ -17,7 +17,7 @@ for:
- TARGET: i686-pc-windows-msvc
install:
- appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
- - ps: rustup-init.exe -yv --default-toolchain nightly --default-host $env:TARGET --profile minimal
+ - ps: ./rustup-init.exe -yv --default-toolchain nightly --default-host $env:TARGET --profile minimal
- cmd: set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
cache:
- '%USERPROFILE%\.cargo'
@@ -27,7 +27,7 @@ for:
- image: Ubuntu2004
install:
- appveyor DownloadFile https://static.rust-lang.org/rustup/dist/x86_64-unknown-linux-gnu/rustup-init -FileName rustup-init
- - sh: ./rustup-init -yv --default-toolchain nightly --default-host x86_64-unknown-linux-gnu --profile minimal
+ - sh: sudo ./rustup-init -yv --default-toolchain nightly --default-host x86_64-unknown-linux-gnu --profile minimal
- sh: export PATH=$PATH:/$HOME/.cargo/bin
cache:
- '$HOME/.cargo'
@@ -37,7 +37,7 @@ for:
- image: macOS
install:
- appveyor DownloadFile https://static.rust-lang.org/rustup/dist/x86_64-apple-darwin/rustup-init -FileName rustup-init
- - sh: ./rustup-init -yv --default-toolchain nightly --default-host x86_64-apple-darwin --profile minimal
+ - sh: sudo ./rustup-init -yv --default-toolchain nightly --default-host x86_64-apple-darwin --profile minimal
- sh: export PATH=$PATH:/$HOME/.cargo/bin
cache:
- '$HOME/.cargo'
