build_sdk.sh 443 B

12345678910111213141516
  1. #!/bin/sh
  2. #!/usr/bin/env fish
  3. echo 'Start building rust sdk'
  4. rustup show
  5. #Env check
  6. #1. rustc --version will be the same as cargo --version
  7. #2. override the toolchain if the current toolchain not equal to the rust-toolchain file specified.
  8. # rustup override set nightly-2021-04-24
  9. #3. Check your cargo env using the same source by: which cargo
  10. # 1. ~/.bash_profile,
  11. # 2. ~/.bashrc
  12. # 3. ~/.profile
  13. # 4. ~/.zshrc
  14. cargo make desktop