Skip to content

Commit

Permalink
boards: make: fix -Z build-std
Browse files Browse the repository at this point in the history
When I added support for stable, I accidentally removed the space
between -Z and build-std. This space is necessary for
`$(CARGO_FLAGS_TOCK_NO_BUILD_STD)` to work.
  • Loading branch information
bradjc committed Apr 4, 2024
1 parent 38220da commit 8d20dd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boards/Makefile.common
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ RUSTDOC_FLAGS_TOCK ?= -D warnings
# rustdoc API documentation.
ifneq ($(USE_STABLE_RUST),1)
CARGO_FLAGS_TOCK += \
-Zbuild-std=core,compiler_builtins
-Z build-std=core,compiler_builtins
RUSTDOC_FLAGS_TOCK += -Z unstable-options --document-hidden-items
endif

Expand Down

0 comments on commit 8d20dd6

Please sign in to comment.