humenda / rustl4re

This repository contains patches for the Rust to L4Re OS port. It's a place to gather patches before they find their way in the upstream projects.
15 stars 6 forks source link

[BID] Make RLIBs invisible #6

Open humenda opened 1 year ago

humenda commented 1 year ago

The L4Re build system (BID) currently builds RLIBS and and Rust applications. However, this means that the rlibs are built over and over again, even though they just need to be built with the application, not again separately. As BID is optimised for compiling C-alike software, it is best to hide Rlibs from BID. Only (Rust) applications and static libraries should be handled by BID. Whether or not a workspace is used by Rust crate authors should be left as a policy outside of BID.