robo9k / rust-magic-sys

Rust declarations crate for the `libmagic` C library
Apache License 2.0
10 stars 6 forks source link

fix Clone not implemented #7

Closed lilydjwg closed 9 years ago

lilydjwg commented 9 years ago

for latest rust. I don't know whether Copy is necessary but it works without it.

robo9k commented 9 years ago
#![feature(libc)]

One can not use that feature gate with stable rustc. Apart from that I did not change your pull request, so thanks!

I have also bumped the version and published the new crate.