Skip to content

Conversation

iwillspeak
Copy link
Collaborator

@iwillspeak iwillspeak commented Oct 5, 2019

This PR aims to pull together the work in #108, and #113 and provide an ergonomic solution to the problem of gnerating correct bindings for any architecture which has an LLVM version while reducing or elmininating the dependency on bindgen for common build and CI scenarios.

Fixes: #109, #123, #136.

devurandom and others added 2 commits October 5, 2019 11:57
@Keats
Copy link
Contributor

Keats commented Nov 6, 2019

Anything blocking that?

@ldm0
Copy link

ldm0 commented Feb 9, 2020

Ping

A dependency no longer supports 1.33.0. Seen as we are doing a minor
version bump for this feature branch it is acceptable to bump this
version. 1.33.0 is _quite old_. The switch to 1.34.0 seems acceptable.
Work around for feature handling bening broken causing CI failures.

Part of #136
Generate feature was probably never tested in CI before. Looks like
libclang-dev ins needed for this.
Hopefully this should include libclang in the path.
Installing dependencies for `bindgen` for CI builds.
Update the package dependencies from the `bindgen` documentation.
The dynamic bindgen feature appearntly is more tolerant of older llvm
versions.
The `std::Pattern` API is chaing. Replace uses of now-deprecated items.

Fixes #137
Build and test each project individually to properly deal with feature
flags in the windows builds.

Fixes #136
Need to provide absolute paths otherwise we end up stuck in the
`onig\` directory re-running the same build and test.
This doesn't seem to exist. Remove to fix nightly toolchain build
failures.
Unstable features can't be used on stable channels. Update to test the
`std-pattern` feature on beta.
Features aren't available on `beta`. My bad.
@dignifiedquire
Copy link

Just ran into this again, please requiring bindgen for endusers is a really unfortunate experience

@Keats
Copy link
Contributor

Keats commented Apr 30, 2020

Is this not happening in the end? I'll fork it and release another version on crates.io if so

@iwillspeak
Copy link
Collaborator Author

iwillspeak commented Apr 30, 2020 via email

@Keats
Copy link
Contributor

Keats commented Apr 30, 2020

What's missing? I can do a PR on that PR finish it.

@iwillspeak
Copy link
Collaborator Author

I'm sorry I can't remember the status of this PR. It looks like the build is failing though. I think that was the last thing I was struggling with. Something to do with how features and default features work with Cargo workspaces. Any PRs to help out would be appreciated, but so would help reviewing this stuff, reviewing PRs and pushing cargo packages too TBH.

I do understand the frustration. I can't get bat to install on my Linux VM easily because of this issue.

@Keats
Copy link
Contributor

Keats commented Apr 30, 2020

#141 fixes the appveyor CI but I think the project needs to be moved to travis.com since it doesn't look like it even starts at all right now. I could move it to GH actions if that would be too annoying.

@Keats
Copy link
Contributor

Keats commented May 2, 2020

I have GitHub actions working for OSX/linux in Keats#1

@Keats
Copy link
Contributor

Keats commented May 14, 2020

Can you add me as maintainer on the repo/crates.io so I can push it @iwillspeak ?

@Keats
Copy link
Contributor

Keats commented May 15, 2020

I have the rights now, should it be 5.1.0 or 6.0.0 for the onig crate? I would say 5.1 but since we are adding features it might be a breaking change for some people. cc @kornelski
I'd like to have the GH actions run on that PR but they don't start for some reason... looking into it.

@kornelski
Copy link
Contributor

6.0 would be safest.

@iwillspeak
Copy link
Collaborator Author

iwillspeak commented May 15, 2020 via email

@Keats Keats merged commit 2b0066e into master May 16, 2020
@Keats Keats deleted the bindgen-take-two branch May 16, 2020 07:32
mplsgrant added a commit to mplsgrant/xi-editor that referenced this pull request Nov 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

onig_sys v69.2.0 fails to build on Centos with "Unable to find libclang"
6 participants