I have a project, and I tried comparing the assembler output between different releases/tags, but a simple git checkout wasn't enough to invoke a recompilation.
I switched to the following commands, which work (but is a bit too much brute force):
VER=v0.5.0 # next invocation was with VER=v0.5.1
git checkout "$VER" && \
cargo clean && \
cargo test && \
cargo asm indented_blocks::parse_nested_blocks &> "../ib_pnb_$VER.S"
unset VER
The following should've worked as well, but didn't:
VER=v0.5.0
git checkout "$VER" && cargo asm indented_blocks::parse_nested_blocks &> "../ib_pnb_$VER.S"
unset VER
This might be easier to check just using line numbers, which should be different between v0.5.0 and v0.5.1 (at least on x86_64).
I have a project, and I tried comparing the assembler output between different releases/tags, but a simple
git checkoutwasn't enough to invoke a recompilation.I switched to the following commands, which work (but is a bit too much brute force):
The following should've worked as well, but didn't:
This might be easier to check just using line numbers, which should be different between
v0.5.0andv0.5.1(at least onx86_64).