Closed edelanghe-ledger closed 5 months ago
Sometime target_os is not defined in our list but .text.startup and .init_array works as expected. We should let the user force the feature if so.
Since we use macro_rule, the features must be defined by the user package
https://github.com/dtolnay/inventory/pull/70 is an alternative take on this same goal, where the feature is an intrinsic feature of the inventory crate.
inventory
Sometime target_os is not defined in our list but .text.startup and .init_array works as expected. We should let the user force the feature if so.
Since we use macro_rule, the features must be defined by the user package