From 90292947836086d51547072a7bb358deeca835a5 Mon Sep 17 00:00:00 2001 From: Bruno Kirschner Date: Thu, 18 Jul 2019 19:35:57 +0200 Subject: [PATCH] Reflect esp-sys api change in template repo. --- bindgen-project | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindgen-project b/bindgen-project index 548a21b..c4149f3 100755 --- a/bindgen-project +++ b/bindgen-project @@ -13,7 +13,7 @@ while read -r include; do FLAGS+=" -I${include}" done <<< "$(find "${IDF_PATH}/components" -maxdepth 3 -name include)" -: "${BINDGEN_FLAGS:=--use-core --no-layout-tests}" +: "${BINDGEN_FLAGS:=--use-core --no-layout-tests --ctypes-prefix=libc}" #shellcheck disable=SC2086 bindgen $BINDGEN_FLAGS --output esp32-sys/src/bindings.rs esp32-sys/src/bindings.h -- $FLAGS