Skip to content

-C suggestions to use llc for details is annoying #30961

Closed
@brson

Description

@brson

rustc -C help says

    -C        target-cpu=val -- select target processor (llc -mcpu=help for details)
    -C    target-feature=val -- target specific attributes (llc -mattr=help for details)
    -C  relocation-model=val -- choose the relocation model to use (llc -relocation-model for details)
    -C        code-model=val -- choose the code model to use (llc -code-model for details)

Everytime I need to find the right strings to pass these flags I groan - I have to go find some copy of llc - Rust doesn't provide it - and hope it corresponds reasonably to my rustc. This is somewhere between annoying and useless to end users. rustc should have a way itself to emit this information.

Probably should have --print target-cpus etc arguments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    E-help-wantedCall for participation: Help is requested to fix this issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions