-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Closed
Labels
A-codegenArea: Code generationArea: Code generationI-slowIssue: Problems and improvements with respect to performance of generated code.Issue: Problems and improvements with respect to performance of generated code.P-lowLow priorityLow priority
Description
When marking public functions with #[no_mangle]
and then linking to the crate with the functions using -C lto
, the functions will be exported in the output.
This can result in errors about duplicate definitions (when linking things linked with -C lto
together) and also prevents the removal of unused functions.
Metadata
Metadata
Assignees
Labels
A-codegenArea: Code generationArea: Code generationI-slowIssue: Problems and improvements with respect to performance of generated code.Issue: Problems and improvements with respect to performance of generated code.P-lowLow priorityLow priority