Skip to content

Commit 65fd9a0

Browse files
committed
Update assembly code assertions
Rust 1.56 will cause these tests to start failing, so we can preemptively update them to make the upgrade smoother.
1 parent b29ec11 commit 65fd9a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/spec/features/compilation_targets_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
# We demangle the symbols
5555
expect(page).to have_content 'playground::main:'
5656

57-
expect(page).to have_content 'movq %rdi, %rax'
57+
expect(page).to have_content 'addq $40, %rsp'
5858
end
5959
end
6060
end
@@ -71,7 +71,7 @@
7171
# We demangle the symbols
7272
expect(page).to have_content 'playground::main:'
7373

74-
expect(page).to have_content 'mov rax, rdi'
74+
expect(page).to have_content 'add rsp, 40'
7575
end
7676
end
7777
end

0 commit comments

Comments
 (0)