Skip to content

Add ext/strscan/depend - #218

Merged
hsbt merged 1 commit into
masterfrom
claude/reverent-wu-07e87f
Sep 17, 2026
Merged

hsbt merged 1 commit into
masterfrom
claude/reverent-wu-07e87f

Conversation

@hsbt

@hsbt hsbt commented Sep 17, 2026

Copy link
Copy Markdown
Member

strscan has no ext/strscan/depend, but ruby/ruby carries one. Misc #22206 settled on each default gem keeping its own dependency file, with minimize_dependencies reducing it on the ruby/ruby side. Because tool/sync_default_gems.rb clears the mapped directory before copying this repository over it, every sync drops ext/strscan/depend from ruby/ruby and it has to be restored by hand.

This adds the file exactly as ruby extconf.rb --update-depend generates it. That path scans only this repository, so it names no installed Ruby headers and no $(hdrdir) entries leak into the result, which keeps the file usable on Rubies older than the one that generated it. The content matches what ruby/ruby has today byte for byte.

Generated with Claude Code

`tool/sync_default_gems.rb` removes the mapped directory before copying
this repository over it, so ruby/ruby loses its own `ext/strscan/depend`
on every sync. Keeping the file here makes the sync carry it back.

Generated with `extconf.rb --update-depend`, which resolves dependencies
against this repository rather than an installed Ruby, so no `$(hdrdir)`
paths leak in and older Rubies still build.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings September 17, 2026 06:04

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The reviewed change is limited to the expected generated dependency file with no unresolved issues.

Pull request overview

Adds the autogenerated dependency file needed to preserve strscan synchronization with ruby/ruby.

Changes:

  • Adds generated dependency metadata for strscan.o.
File summaries
File Description
ext/strscan/depend Declares the generated dependency for strscan.o.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@hsbt
hsbt merged commit e265448 into master Sep 17, 2026
87 checks passed
@hsbt
hsbt deleted the claude/reverent-wu-07e87f branch September 17, 2026 06:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants