Skip to content

--emit=ir is listed as valid choice in manual, but rustc does not accept it anymore #20111

Description

@nagisa
$ man rustc | grep -- --emit | head -n1
       --emit=[asm,ir,bc,obj,link]
$ rustc src/lib.rs --crate-type=rlib --emit=ir
error: unknown emission type: `ir`
$ rustc --version
rustc 0.13.0-nightly (cc19e3380 2014-12-20 20:00:36 +0000)

The ir part in the manual should be changed to llvm-ir.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions