Skip to content

Commit

Permalink
allow unsafe_op_in_unsafe_fn during building
Browse files Browse the repository at this point in the history
  • Loading branch information
aarkegz committed Dec 23, 2024
1 parent eb27d16 commit 53fb216
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/make/cargo.mk
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ build_args := \
$(build_args-$(MODE)) \
$(verbose)

RUSTFLAGS := -C link-arg=-T$(LD_SCRIPT) -C link-arg=-no-pie -C link-arg=-znostart-stop-gc
RUSTFLAGS := -C link-arg=-T$(LD_SCRIPT) -C link-arg=-no-pie -C link-arg=-znostart-stop-gc -A unsafe_op_in_unsafe_fn
RUSTDOCFLAGS := -Z unstable-options --enable-index-page -D rustdoc::broken_intra_doc_links

ifeq ($(MAKECMDGOALS), doc_check_missing)
Expand Down

0 comments on commit 53fb216

Please sign in to comment.