We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e08ff62 commit 45f97e6Copy full SHA for 45f97e6
rust/Makefile
@@ -364,9 +364,7 @@ $(obj)/bindings/bindings_helpers_generated.rs: $(src)/helpers.c FORCE
364
quiet_cmd_exports = EXPORTS $@
365
cmd_exports = \
366
$(NM) -p --defined-only $< \
367
- | grep -E ' (T|R|D) ' | cut -d ' ' -f 3 \
368
- | xargs -Isymbol \
369
- echo 'EXPORT_SYMBOL_RUST_GPL(symbol);' > $@
+ | awk '/ (T|R|D) / {printf "EXPORT_SYMBOL_RUST_GPL(%s);\n",$$3}' > $@
370
371
$(obj)/exports_core_generated.h: $(obj)/core.o FORCE
372
$(call if_changed,exports)
0 commit comments