Skip to content

Commit 7cebdab

Browse files
committed
Fix Makefile
1 parent 0e57650 commit 7cebdab

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

rust/no-std-check/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ all: ## Run all checks
1111

1212
setup: ## Setup the required nightly toolchain and the wasm32 target
1313
rustup install $(NIGHTLY_VERSION)
14-
rustup target add wasm32-unknown-unknown --toolchain $(NIGHTLY_VERSION)
14+
rustup target add wasm32-unknown-unknown --toolchain $(NIGHTLY_VERSION)
15+
rustup component add rust-src --toolchain $(NIGHTLY_VERSION)
1516

1617
check-panic-conflict: ## Check for `no_std` compliance by installing a panic handler, and any other crate importing `std` will cause a conflict. Runs on default target.
1718
cargo build \

0 commit comments

Comments
 (0)