Skip to content

Improve handling of debug builds in cargo packages

Moritz Bitsch via buildroot buildroot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2package/pkg-cargo.mk: fix handling of runtime debug buildspackage/pkg-cargo.mk+1 -17 replies
2/2package/pkg-cargo.mk: generate debug symbols when BR2_ENABLE_DEBUG is setpackage/pkg-cargo.mk+7 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Buildroot] [PATCH 0/2] Improve handling of debug builds in cargo packages

From: Moritz Bitsch <[email protected]>

Cargo supports two build modes: debug and release, where debug is the default.

In debug build mode most optimizations are disabled, resulting in slow runtime.

It is also possible to instruct rustc to generate debug symbols independent of build mode, using RUSTFLAGS.

Moritz Bitsch (2):
package/pkg-cargo.mk: fix handling of runtime debug builds package/pkg-cargo.mk: generate debug symbols when BR2_ENABLE_DEBUG is
set

 package/pkg-cargo.mk | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
Signature · 6 lines
2.37.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot