Skip to content

Codegen units break #[inline(always)] at -O0 #45201

Closed
@alexcrichton

Description

@alexcrichton

On the current nightly using multiple codegen units breaks #[inline(always)] in debug mode (as they could show up in different codegen units, preventing inlining). We should still treat #[inline(always)] as inline everywhere!

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-codegenArea: Code generationregression-from-stable-to-betaPerformance or correctness regression from stable to beta.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions