Rust update seems to have broken imgui-rs


#1

It’s a bug on a lib I’m trying to use (imgui-rs) and seems quite abandoned, so I’m forwarding the issue I create in the hopes of reaching for more people


#2

Hm, what does your Cargo.lock look like? Can it be the case that it contains two different versions of imgui?


#3

Nope. I did test that before creating the issue, by cleaning (erasing) Cargo lock and cargo’s registry multiple times to no avail.
Just so you can have peace of mind, these are the only references to imgui in the Cargo.lock

[root]
name = "guiRSTest"
version = "0.1.0"
dependencies = [
 "imgui 0.0.10 (registry+https://github.com/rust-lang/crates.io-index)",
]
[...]
[[package]]
name = "imgui"
version = "0.0.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
 "gcc 0.3.43 (registry+https://github.com/rust-lang/crates.io-index)",
 "glium 0.15.0 (registry+https://github.com/rust-lang/crates.io-index)",
 "imgui-sys 0.0.10 (registry+https://github.com/rust-lang/crates.io-index)",
 "libc 0.2.20 (registry+https://github.com/rust-lang/crates.io-index)",
]

[[package]]
name = "imgui-sys"
version = "0.0.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
 "bitflags 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)",
 "gcc 0.3.43 (registry+https://github.com/rust-lang/crates.io-index)",
 "glium 0.15.0 (registry+https://github.com/rust-lang/crates.io-index)",
 "libc 0.2.20 (registry+https://github.com/rust-lang/crates.io-index)",
]

[...]
"checksum imgui 0.0.10 (registry+https://github.com/rust-lang/crates.io-index)" = "a3885f5ef7f3ffb18b8bef8353cac7ba4d7ecc72818ac205115cd25b288781d8"
"checksum imgui-sys 0.0.10 (registry+https://github.com/rust-lang/crates.io-index)" = "d8efc7c34f7727661afd6bf27cdb621aac959ec033fce97df6d10a2744248aaf"

#4

Thanks everyone for your time the owner of the repo is still very alive and pinpointed the bug in no time. (follow the issue link)
TL;DR: It is a bug of one of his libs he is using that made some code-breaking changes