Skip to content

-Cpasses=loweratomic is unknown on versions => 1.82 #135190

Closed
@nhtyy

Description

@nhtyy

I search the 1.82 change logs and saw the llvm version was bumped, but no specific mention of this.

CARGO_ENCODED_RUSTFLAGS="-Cpasses=loweratomic" cargo run

fn main() {
   // hello world
}

I expected to see this happen:

The program to compile

Instead, this happened:

error: failed to run LLVM passes: unknown pass name 'loweratomic'

Tested on

1.79, 1.8, 1.81, 1.82, 1.83 by switching using rustup default ..

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-discussionCategory: Discussion or questions that doesn't represent real issues.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions