meta-rust-bin icon indicating copy to clipboard operation
meta-rust-bin copied to clipboard

Make use of Profile Name Overrides in Config/Env

Open posborne opened this issue 4 years ago • 4 comments

https://doc.rust-lang.org/stable/cargo/reference/config.html#profilenamebuild-override is now available so some of the things we would like to do in this layer are now possible on stable. Examples include forcing builds to be done with debug symbols so we can do the proper split debug later, etc.

CC @nastevens

posborne avatar Aug 13 '20 20:08 posborne

Related to #64

nastevens avatar Aug 14 '20 17:08 nastevens

Examples include forcing builds to be done with debug symbols

Can you give an example of how to do this with meta-rust-bin please?

DavidAntliff avatar Feb 28 '24 02:02 DavidAntliff

@DavidAntliff This is actually an enhancement to allow this functionality with meta-rust-bin. I've added the correct label now.

Or were you looking for guidance on how to add this feature?

nastevens avatar Feb 28 '24 02:02 nastevens

@nastevens I am looking for guidance, yes, please. Ultimately I want to enable "full" (i.e. "2") debug builds via bitbake/devtool: https://github.com/rust-embedded/meta-rust-bin/issues/167

DavidAntliff avatar Feb 28 '24 02:02 DavidAntliff