Skip to content

How to control LTO #176

@GregBowyer

Description

@GregBowyer

I am not sure quite what to do here.

I have a tool that is built in rust and uses clang (through clang-sys).

I am greeted to a very aggressive link, as it looks like my linker is doing LTO for all clang

[65 / 66] Compiling Rust bin rework_includes (1 files); 3204s linux-sandbox

I am not sure what the ideal solution is here, but maybe we need to pass through linkopts or have some way to constrain lto?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions