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

Mark _Tp as non-Copyable to workaround bindgen bug #69

Merged
merged 3 commits into from
Jun 24, 2024

Conversation

efenniht-furiosa
Copy link
Contributor

@efenniht-furiosa efenniht-furiosa commented Jun 22, 2024

To workaround rust-lang/rust-bindgen#2157, mark type parameter _Tp of vector as non-Copyable. It unblocks building against libstdc++-12-dev.

I also bumped bindgen to the latest version. It resolves build failure on clang-18 or later (rust-lang/rust-bindgen#2689).

@boncheolgu boncheolgu merged commit abba213 into boncheolgu:master Jun 24, 2024
3 of 4 checks passed
CrazyChaoz pushed a commit to CrazyChaoz/tflite-rs that referenced this pull request Nov 20, 2024
* fix: workaround bindgen bug (rust-lang/rust-bindgen#2157)

* lint.

* fix: `slice::from_raw_parts(null(), 0)` is UB.

---------

Co-authored-by: Sanguk Park <[email protected]>
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