Skip to content

Profile Guided Optimization (PGO) not working on aarch64 #57257

Closed

Description

Using the latest nightly on aarch64-unknown-linux-gnu installed with rustup, I am getting the following error when I attempt to run any crate with PGO:

$ RUSTFLAGS="-Z pgo-gen=/tmp/prof.data" cargo run                                                                   Compiling play v0.1.0 (/home/me/play)
error[E0463]: can't find crate for `profiler_builtins`                                                                  
error: aborting due to previous error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    O-ArmTarget: 32-bit Arm processors (armv6, armv7, thumb...), including 64-bit Arm in AArch32 state

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions