Hello, this is my first post on the rust forum. I normally don't make posts on forums but since there is (almost) nothing of examples for what i want to do and have no idea how to start.
So the goal is to load a dylib at runtime in my custom kernel. The dylib is meant as a module for my kernel.
That means that the finshed product can load an dylib execute a predefined function and access kernel functions and also other modules.
The problem is when i want to compile my module to the target (x86_64 baremetal) it says it doesn't support dylib as crate target.
If i am correct this is because i never defined how a dynamic library should work in my own kernel?
If so how do i fix this? Where do i start?
Just to be sure, am i in the correct category?
The crates with their dependencies:
The ideal solution would be that kernel-core is staticly linked in the kernel and modules acces it from there.
EDIT2: adding crate type to edit 1