Re: [RFC PATCH] Move rust gitcore crate to a different subdirectory
From: Mike Hommey <hidden>
Date: 2026-02-05 04:55:28
From: Mike Hommey <hidden>
Date: 2026-02-05 04:55:28
On Thu, Feb 05, 2026 at 02:06:32AM +0000, brian m. carlson wrote:
I can tell you from my experience that mrustc's cargo implementation is extremely limited and does only the bare minimum in terms of functionality. It already needs some help to work with static libraries, but I'd really like to minimize the work that needs to be done on it since it's not lovely code, and using a standard layout is going to help with minimizing the necessary changes. I will admit that I haven't tested using a non-standard layout, but I fully expect it will not work based on my experience of the codebase.
For what it's worth, it looks like mrustc supports non-standard layout just fine[1], and that's not totally surprising, because the rustc codebase used to use non-standard layouts a lot (although that's not true anymore) 1. https://github.com/thepowersgang/mrustc/blob/7ff9513adb7cdbe0f8799e7b1f2e4df00ae21a14/tools/minicargo/manifest.cpp#L772