arturoc / gstreamer1.0-rs

Idiomatic bindings for Gstreamer on Rust.
MIT License
36 stars 14 forks source link

allow compilation on x32 bit targets aswell #9

Closed psych0d0g closed 8 years ago

arturoc commented 8 years ago

hey thanks, it seems like this won't compile on stable cause you can't use features there. do we need that feature for this?

arturoc commented 8 years ago

this will only compile in nightly since it uses a feature. one way to fix it would be to check the size of usize on runtime, like:

mem::size_of::<usize>()

or the size of a pointer:

mem::size_of::<*const c_void>()
arturoc commented 8 years ago

this is fixed now