Skip to content

Commit 3a24631

Browse files
committed
We do define an extension method, the PackedByteArray.asData - allow it
1 parent 6f34a65 commit 3a24631

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

Makefile

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,17 @@ check_no_runtime_symbols:
9494
echo "SKIP: $$label (missing: $$bin)"; \
9595
return 0; \
9696
fi; \
97-
count=$$(xcrun --sdk "$$sdk" nm -gU "$$bin" 2>/dev/null | grep -c 'SwiftGodotRuntime' || true); \
97+
count=$$(xcrun --sdk "$$sdk" nm -gU "$$bin" 2>/dev/null \
98+
| grep 'SwiftGodotRuntime' \
99+
| xcrun swift demangle \
100+
| grep -cv 'extension in' || true); \
98101
if [ "$$count" -gt 0 ]; then \
99102
echo "FAIL: $$label contains $$count SwiftGodotRuntime symbols (should be dynamically linked)"; \
103+
xcrun --sdk "$$sdk" nm -gU "$$bin" 2>/dev/null \
104+
| grep 'SwiftGodotRuntime' \
105+
| xcrun swift demangle \
106+
| grep -v 'extension in' \
107+
| head -5; \
100108
failed=1; \
101109
else \
102110
echo "OK: $$label (0 embedded SwiftGodotRuntime symbols)"; \

Package.resolved

Lines changed: 9 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)