Bump oxc to 0.152.0 - #14
Merged
Merged
Conversation
Update the embedded oxc dependency from 0.151.0 to 0.152.0 and release it as gem v0.152.0. https://github.com/oxc-project/oxc/releases/tag/crates_v0.152.0
marcoroth
added this pull request to stack #16
September 28, 2026 15:57
marcoroth
removed this pull request from stack #16
September 28, 2026 16:08
…#15) The build started failing after upgrading `oxc` because `rust/src/parse.rs` no longer exhaustively matched `CommentKind`. New `HtmlOpen`/`HtmlClose` variants triggered `E0004` during Rust compilation in the GitHub Actions packaging job. - **Parser compatibility update** - Extend comment-kind mapping in `collect_comments` to handle newly introduced `oxc` variants. - Map `HtmlOpen` and `HtmlClose` to Ruby-facing `"Line"` comments to preserve existing comment typing semantics. - **Regression coverage** - Add focused parser tests for HTML-style comments to ensure both open (`<!--`) and close (`-->`, script mode) forms are serialized as line comments. ```rust kind: match comment.kind { CommentKind::Line => "Line", CommentKind::SingleLineBlock | CommentKind::MultiLineBlock => "Block", CommentKind::HtmlOpen | CommentKind::HtmlClose => "Line", }, ``` --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: marcoroth <6411752+marcoroth@users.noreply.github.com>
marcoroth
marked this pull request as ready for review
September 28, 2026 16:12
marcoroth
enabled auto-merge (squash)
September 28, 2026 16:13
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update the embedded oxc dependency from 0.151.0 to 0.152.0.
The gem version tracks the oxc version it packages, so this also bumps the gem from 0.151.0 to 0.152.0.
Warning
The gem did not build or test cleanly against this version, so this PR is a draft.
Something upstream changed in a way this gem has to be adapted to.
Verification output
This PR was created automatically by the upstream workflow.