Skip to content

Commit

Permalink
Merge pull request #281 from nbdd0121/link-time-panic
Browse files Browse the repository at this point in the history
Fix double build of kernel.o
  • Loading branch information
ojeda authored May 20, 2021
2 parents 776af46 + 5972f3e commit ffdacf7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rust/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ extra-$(CONFIG_RUST) += bindings_generated.rs
obj-$(CONFIG_RUST) += alloc.o kernel.o
extra-$(CONFIG_RUST) += exports_alloc_generated.h exports_kernel_generated.h

ifndef CONFIG_RUST_BUILD_ASSERT_DENY
ifdef CONFIG_RUST_BUILD_ASSERT_DENY
extra-$(CONFIG_RUST) += build_error.o
else
obj-$(CONFIG_RUST) += build_error.o
endif

Expand Down

0 comments on commit ffdacf7

Please sign in to comment.