Skip to content

Fix struct cast panic in rule and add tests#6962

Merged
connortsui20 merged 1 commit intodevelopfrom
ct/struct-cast-rule
Mar 13, 2026
Merged

Fix struct cast panic in rule and add tests#6962
connortsui20 merged 1 commit intodevelopfrom
ct/struct-cast-rule

Conversation

@connortsui20
Copy link
Contributor

Summary

Closes: #6933

Testing

Adds a regression test as well as a few other tests to confirm this is correct.

Signed-off-by: Connor Tsui <connor.tsui20@gmail.com>
@connortsui20 connortsui20 added the changelog/fix A bug fix label Mar 13, 2026
@codspeed-hq
Copy link

codspeed-hq bot commented Mar 13, 2026

Merging this PR will improve performance by 18.36%

⚡ 2 improved benchmarks
✅ 1007 untouched benchmarks
⏩ 1515 skipped benchmarks1

Performance Changes

Mode Benchmark BASE HEAD Efficiency
Simulation bitwise_not_vortex_buffer_mut[1024] 535.6 ns 477.2 ns +12.22%
Simulation bitwise_not_vortex_buffer_mut[128] 376.1 ns 317.8 ns +18.36%

Comparing ct/struct-cast-rule (2cdbd3c) with develop (8ac7234)

Open in CodSpeed

Footnotes

  1. 1515 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@connortsui20 connortsui20 merged commit fc4d111 into develop Mar 13, 2026
54 of 56 checks passed
@connortsui20 connortsui20 deleted the ct/struct-cast-rule branch March 13, 2026 21:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/fix A bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fuzzing Crash: VortexError in array_ops

2 participants