Skip to content

Bump the bindgen version#174

Merged
iwillspeak merged 1 commit intorust-onig:mainfrom
lu-zero:unbreak-clang-16
Jun 11, 2023
Merged

Bump the bindgen version#174
iwillspeak merged 1 commit intorust-onig:mainfrom
lu-zero:unbreak-clang-16

Conversation

@lu-zero
Copy link
Copy Markdown
Contributor

@lu-zero lu-zero commented Feb 22, 2023

It solves a problem with modern clang generating invalid Idents for anonymous unions.

Fixes #173

It solves a problem with modern clang generating invalid Idents for
anonymous unions.
@lu-zero
Copy link
Copy Markdown
Contributor Author

lu-zero commented Mar 13, 2023

Ping, the appveyor error seems unrelated to this patch.

@folliehiyuki
Copy link
Copy Markdown

I'm building tremor-rs on AlpineLinux and also hit this error, as Alpine's edge repo already started to phase out clang15.

Would love to have this merged, and also a new release cut with the change.

@sylvestre
Copy link
Copy Markdown

@iwillspeak would it be possible to merge this ? thanks

@iwillspeak iwillspeak merged commit fa90c0e into rust-onig:main Jun 11, 2023
@mmizutani
Copy link
Copy Markdown

mmizutani commented Sep 22, 2023

@iwillspeak @jayvdb
Could you please release a new version of the onig crate that incorporates this fix, maybe as 6.5.0, in crates.io?
I would like to buiild the onig crate using LLVM/Clang 16.0+.

Since the latest, published version of the onig_sys crate still tries to use an older version (0.59.x) of bindgen crate, users of the onig crate have to resort to a workaround:

# Cargo.toml

[dependencies]
onig = { git = "https://github.com/rust-onig/rust-onig", revision = "fa90c0e97e90a056af89f183b23cd417b59ee6a2" }

[patch.crates-io]
onig_sys = { git = "https://github.com/rust-onig/rust-onig", revision = "fa90c0e97e90a056af89f183b23cd417b59ee6a2" }

Outstanding issues: #180, #182

greymd added a commit to greymd/teip that referenced this pull request Jan 1, 2024
To avoid the build failure, apply the workaround disscussed here
rust-onig/rust-onig#174
If the new version of onig crate is released, revert this changes.
@zertosh
Copy link
Copy Markdown

zertosh commented Apr 22, 2024

Please publish a release with this fix

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.

the bindgen used seem to be incompatible with clang-16

7 participants