Skip to content

[ARM breakage] Same old same old  #844

Closed
@MagaTailor

Description

@MagaTailor

More fallout from rust-lang/rust#29867

Compiling gfx_device_gl v0.7.0
  /home/odroid/.cargo/registry/src/github.1485827954.workers.dev-48ad6e4054423464/gfx_device_gl-0.7.0/src/shade.rs:314:21: 314:69 error: mismatched types:
 expected `*const u8`,
    found `*const i8`
(expected u8,
    found i8) [E0308]
/home/odroid/.cargo/registry/src/github.1485827954.workers.dev-48ad6e4054423464/gfx_device_gl-0.7.0/src/shade.rs:314                     target.as_bytes_with_nul().as_ptr() as *const i8);
                                                                                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/odroid/.cargo/registry/src/github.1485827954.workers.dev-48ad6e4054423464/gfx_device_gl-0.7.0/src/shade.rs:314:21: 314:69 help: run `rustc --explain E0308` to see a detailed explanation
/home/odroid/.cargo/registry/src/github.1485827954.workers.dev-48ad6e4054423464/gfx_device_gl-0.7.0/src/shade.rs:328:46: 328:94 error: mismatched types:
 expected `*const u8`,
    found `*const i8`
(expected u8,
    found i8) [E0308]
/home/odroid/.cargo/registry/src/github.1485827954.workers.dev-48ad6e4054423464/gfx_device_gl-0.7.0/src/shade.rs:328                 gl.GetFragDataLocation(name, target.as_bytes_with_nul().as_ptr() as *const i8)
                                                                                                                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/odroid/.cargo/registry/src/github.1485827954.workers.dev-48ad6e4054423464/gfx_device_gl-0.7.0/src/shade.rs:328:46: 328:94 help: run `rustc --explain E0308` to see a detailed explanation
/home/odroid/.cargo/registry/src/github.1485827954.workers.dev-48ad6e4054423464/gfx_device_gl-0.7.0/src/info.rs:145:55: 145:60 error: mismatched types:
 expected `*const u8`,
    found `*const i8`
(expected u8,
    found i8) [E0308]
/home/odroid/.cargo/registry/src/github.1485827954.workers.dev-48ad6e4054423464/gfx_device_gl-0.7.0/src/info.rs:145     mem::transmute(str::from_utf8(ffi::CStr::from_ptr(c_str).to_bytes()).unwrap())
                                                                                                                                                       ^~~~~
/home/odroid/.cargo/registry/src/github.1485827954.workers.dev-48ad6e4054423464/gfx_device_gl-0.7.0/src/info.rs:145:55: 145:60 help: run `rustc --explain E0308` to see a detailed explanation

Using nightly rust 1.7 on armv7 Linux.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions