Skip to content

Support rustc_codegen_cranelift #287

Answered by pacak
AccessViolation95 asked this question in Q&A
Discussion options

You must be logged in to vote

By default cargo-show-asm doesn't perform disassembly, but asks rustc to produce raw asm files, parses them and makes them accessible for users. Problem with cranelift backend is that it doesn't support emitting asm files.

But if you compile cargo-show-asm with "disasm" feature you can pass --disasm option along with usual flags. This should, in theory, support cranelift as well.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by pacak
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #286 on June 09, 2024 18:48.