Skip to content

--test always shows no tests available #130

Answered by pacak
the-emerald asked this question in Q&A
Discussion options

You must be logged in to vote

--test in cargo-show-asm behaves the same way --test works in cargo build - it builds integration test. To look at the assembly (llvm, mir, etc) of the test themselves you need to build a library with the test profile: cargo asm --profile test it_works 0 - this works for default library template for example.

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 #128 on January 20, 2023 13:43.