Skip to content

see syscall in assembly in hello world #173

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

You must be logged in to vote

cargo-show-asm (at least at the moment) does not decompile the binary produced. It instead asks for rustc to emit generated assembly (or llvm, mir, etc) and works with that. Static linking with musl happens after. And even with build-std compilation of stdlib happens as a separate compilation unit - not somewhere cargo-show-asm looks.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@pacak
Comment options

Answer selected by Tudyx
@Tudyx
Comment options

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