Skip to content

Make the way to get intel-formatted assembly from rustc more discoverable #48011

Open
@scottmcm

Description

@scottmcm

As far as I can tell, nowhere in rustc --help does it say how to control the ASM syntax. I only found it by finding this random gist: https://gist.github.com/bluss/5a088d3f420d12406689439e2940d731

Brainstorming ways to make it more discoverable:

  • add an --emit=asm-intel option
  • document -C "llvm-args=-x86-asm-syntax=intel" in the help somewhere
  • ???

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-frontendArea: Compiler frontend (errors, parsing and HIR)C-enhancementCategory: An issue proposing an enhancement or a PR with one.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