Skip to content

Commit

Permalink
uapi: do not include --target in rustargs (#106)
Browse files Browse the repository at this point in the history
otherwise, cargo will append a wrong target specifier to proc-macros...
  • Loading branch information
fvalette-ledger authored Dec 16, 2024
2 parents b1632ad + bce4053 commit c053b3b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions uapi/rustargs.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
{% for arg in rustargs.split(' ') -%}
{% if not arg.startswith('--target') -%}
{{ arg }}
{% endif -%}
{% endfor -%}

0 comments on commit c053b3b

Please sign in to comment.