From 07c8154cb7f7f0f9387e64ddccd8705c048b35d8 Mon Sep 17 00:00:00 2001 From: Akos Kiss Date: Wed, 22 Jul 2015 21:18:50 +0000 Subject: Add aarch64-unknown-linux-gnu support * Adding dependencies * Replacing `i8` with `c_char` ot `_` (since `c_char` can be unsigned on some platforms, aarch64 is one of them) --- examples/support/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/support') diff --git a/examples/support/mod.rs b/examples/support/mod.rs index ac41239..01eeb7b 100644 --- a/examples/support/mod.rs +++ b/examples/support/mod.rs @@ -22,7 +22,7 @@ pub fn load(window: &glutin::Window) -> Context { let gl = gl::Gl::load(window); let version = unsafe { - let data = CStr::from_ptr(gl.GetString(gl::VERSION) as *const i8).to_bytes().to_vec(); + let data = CStr::from_ptr(gl.GetString(gl::VERSION) as *const _).to_bytes().to_vec(); String::from_utf8(data).unwrap() }; -- cgit v1.2.3