Skip to content

Commit

Permalink
Include "additional_flags" in build scripts. (#461)
Browse files Browse the repository at this point in the history
Signed-off-by: Piotr Sikora <piotrsikora@google.com>
  • Loading branch information
PiotrSikora authored Jan 4, 2022
1 parent d98f017 commit 527f494
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions impl/src/rendering/templates/partials/build_script.template
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ cargo_build_script(
{%- endif %}
rustc_flags = [
"--cap-lints=allow",
{%- for flag in crate.raze_settings.additional_flags %}
"{{flag}}",
{%- endfor %}
],
tags = [
"cargo-raze",
Expand Down

0 comments on commit 527f494

Please sign in to comment.