Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update syn to 2.0 #231

Merged
merged 3 commits into from
Jun 20, 2023
Merged

Update syn to 2.0 #231

merged 3 commits into from
Jun 20, 2023

Conversation

matsadler
Copy link
Contributor

This takes the changes from #171 (Thanks @dylanahsmith, hope you don't mind), rebases them on main, and adds a couple more.

The motivation behind this is, I've updated Magnus to syn 2.0 and it'd be nice to have rb-sys and Magnus be able to use the same syn so it only need to be compiled once.

The biggest change is probably upping the minimum supported Rust version to 1.60, so that bindgen can be updated to 0.66, so that its syn dependency is upped to 2.0. Without this change the whole motivation for making any change is lost. Increasing the MSRV isn't something that bothers me right now as I'm going to be increasing it to 1.61 in Magnus, but if it doesn't work with your plans, then no worries, this whole change is just a nice to have, not critical, I'd be ok with dropping it.

@dylanahsmith
Copy link
Contributor

This takes the changes from #171 (Thanks @dylanahsmith, hope you don't mind)

Much appreciated, since I wasn't planning on continuing that work after being laid off from my job at Shopify

@ianks
Copy link
Collaborator

ianks commented Jun 20, 2023

I'm 👍🏻 with this, 1.60 is available on latest ubuntu for users that don't use rustup.

@ianks ianks merged commit b8caee4 into oxidize-rb:main Jun 20, 2023
@matsadler matsadler deleted the bump-syn branch June 20, 2023 15:24
ianks added a commit that referenced this pull request Aug 2, 2023
* main:
  Only rerun on RBCONFIG_ prefixed env vars
  Detect and set RUBY_HAVE_IO_BUFFER_H
  Add initial implementation of a stable API (#229)
  Update syn to 2.0 (#231)
  Add slack noti for build failure (#226)
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.

3 participants