Re: [OE-core] [PATCH 02/65] rustfmt: remove
From: Randy MacLeod <hidden>
Date: 2021-10-20 01:10:42
On 2021-10-19 3:58 p.m., Richard Purdie wrote:
On Tue, 2021-10-19 at 20:37 +0200, Alexander Kanavin wrote:quoted
On Tue, 19 Oct 2021 at 20:31, Khem Raj [off-list ref] wrote:quoted
It would be wise to hear people who use rust and develop applications using rust, meta-rust is being used to develop field deployed products. Again I urge you to think with a little bit of wider scope.Look, it's just an example of a recipe generated with cargo-bitbake. Where is this cargo-bitbake in core, so we can test that it works as it should? Until it's available, there's no point in keeping the recipe.Rust is a story that is more at the start than at the finish and as such I think it is too premature to be removing this just yet. Having a rust recipe in core generated by cargo-bitbake does have some value in its own right. I'd hope over time we find the tool becomming a first class citizen in core but that will likely take time. I am curious about Randy's views on this.
I can see both points of view. It is nice to have an example cargo bitbake recipe and that's why this one was added to meta-rust and oe-core: https://github.com/meta-rust/meta-rust/commit/49d94ef0a74bb3274ffcb3fe25011b64865b80bc It's also possible that some users would not want to use anything except the version of rust and associated tools that are provided by oe-core and that populate an SDK. I don't have that requirement yet but I expect it may come given that some organization's systems are tightly controlled. I started to update my cargo-bitbake and the rustfmt recipe so let me finish that and we'll see what makes sense. ../Randy
Cheers, Richard
-- # Randy MacLeod # Wind River Linux