-
Notifications
You must be signed in to change notification settings - Fork 3
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
Upgrade to libc 0.2 #6
Comments
I'm getting this warning after upgrading the $ cargo build Compiling libc v0.2.2 Compiling pkg-config v0.3.6 Compiling energymon-sys v0.1.0 (file:///local/energymon-sys/energymon-dummy-sys) Compiling energymon-dummy-sys v0.1.0 (file:///local/energymon-sys/energymon-dummy-sys) lib.rs:16:63: 16:69 warning: found type without foreign-function-safe representation annotation in foreign module, consider adding a #[repr(...)] attribute to the type, #[warn(improper_ctypes)] on by default lib.rs:16 pub fn energymon_get_source_dummy(buffer: *mut c_char, n: size_t) -> *mut c_char; ^~~~~~ |
After some research, this warning should be fixed in 1.5 beta - see rust-lang/rust/pull/28779 |
Fixed in c2e0b01. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: