libcsp-rust/clib/gen-bindings.sh

5 lines
167 B
Bash
Raw Permalink Normal View History

#!/bin/bash
2024-06-01 14:31:45 +02:00
bindgen_cmd="bindgen --use-core wrapper.h -- '-I./libcsp/include' '-I./cfg' '-I./libcsp/src' > bindings.rs"
echo "Running: $bindgen_cmd"
eval $bindgen_cmd