Comments (5)
Hm, since I did not change the c lib version I guess this is some cross platform incompatibility. I generated this struct on x86_64 linux and just copied it in. I guess the struct uses some platform dependent fields / field types.
So this is most likely just a bug, will look into it.
from enet-sys.
In the meantime I am going to yank the newly released version.
from enet-sys.
Hm, since I did not change the c lib version I guess this is some cross platform incompatibility. I generated this struct on x86_64 linux and just copied it in. I guess the struct uses some platform dependent fields / field types.
So this is most likely just a bug, will look into it.
I used this on x86_64 linux, so that should at least be the same platform. I would think that bindgen simply changed how it generates bindings for C's unsigned long
: It used usize
before, and now uses u64
(or u32
) explicitly.
from enet-sys.
Ah you are right, was a bit suspicious about the manually added struct.
from enet-sys.
Published a v1.0.0 to crates.io.
from enet-sys.
Related Issues (11)
- Doesn't compile on Windows HOT 14
- #[derive(Copy, Clone, PartialEq, Eq)] on ENetEventType HOT 4
- Fails to build, the trait `Debug` is not implemented HOT 5
- Add `links = "enet"` to Cargo.toml to make it work with rustc-msvc HOT 2
- `cargo audit` failing due to old bindgen HOT 1
- Compile error with stable Rust toolchain E0588
- Compile error HOT 2
- Build script error after updating to Fedora 38 HOT 5
- Error Building HOT 19
- Can't build on Windows HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from enet-sys.