On 02/04/25 23:10, Bastian Blank wrote:
On Wed, Apr 02, 2025 at 10:38:04PM +0200, Bastian Blank wrote:On Wed, Feb 26, 2025 at 07:47:39PM +0100, Miguel Ojeda wrote:I was referring to the `.so`, not the `.rmeta`s, i.e. I thought Ben was referring to the last paragraph quoted.The .so are for the build architecture: This means they need to go into linux-kbuild and can not use any config.I don't see any reference to libmacros.so in anything apart the build of rust/kernel.o. Is this actually used for module build at all and where?
Re-looping in Miguel. I am in fact able to build the reference out-of-tree kernel module without libmacros.so. However, I think this depends on whether the specific module being built uses the proc macros defined in the macros crate?