• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/bin/sh
2
3set -ex
4
5# N.B. Add `--release` flag to `cargo build` to make the example run faster.
6cargo build --manifest-path ../Cargo.toml
7gcc -O3 -DDEBUG -o iter iter.c -ansi -Wall -I../include -L../../target/debug -lrure
8# If you're using librure.a, then you'll need to link other stuff:
9# -lutil -ldl -lpthread -lgcc_s -lc -lm -lrt -lutil -lrure
10