build_rust.sh 156 B

123456789
  1. #!/bin/bash -e
  2. DIR="$(pwd)"
  3. (
  4. cd "$1/rust"
  5. cargo build --release
  6. echo "Copying to $DIR"
  7. cp target/release/libslimrs.a "$DIR/libslimrs.a"
  8. )