Skip to content
Snippets Groups Projects
Commit 853d5e2d authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Merge branch 'fix-cbindgen-panic' into 'master'

Exclude dirs during build with no cbindgen.toml

See merge request !486
parents 005fe688 51e264dd
No related branches found
No related tags found
No related merge requests found
......@@ -63,12 +63,14 @@ all: | headers libs
headers: $(HEADERS_DEPS)
for header in $(HEADERS_UNPARSED); do \
if test -f "src/header/$$header/cbindgen.toml"; then \
out=`echo "$$header" | sed 's/_/\//g'`; \
out="$(TARGET_HEADERS)/$$out.h"; \
cbindgen --output "$$out" \
--config="src/header/$$header/cbindgen.toml" \
"src/header/$$header/mod.rs"; \
sed -i "s/va_list __valist/.../g" "$$out"; \
fi \
done
clean:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment