Compiler version for Rust bindings

After updating to the newest gtk-rs crates I see that a nightly compiler is required, due to #![feature] being used at least in the glib-sys crate. I am curious if this is to be expected going forward or just a temporary situation until some features stabilize? In this case it is the doc_cfg feature.

That should only be needed when building docs?

I thought that myself but it errors with rustc-0.64.0 when running cargo build?

That is caused by enabling the dox feature, make sure you did not accidentally enable it somehow.

1 Like

You’re correct, I had it enabled in my libadwaita dependency. Thanks.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.