Rust is one of the more annoying languages to not know but have to compile

not only does it take ages to cross compile because WEEE, RUST TARGETING EMBEDDED SYSTEMS!

but now I just tried to compile some code which had no docs on how to compile it but "cargo build" mostly worked, except it said I needed to enable a feature which I can't enable because I have the wrong flavor of rust

this code cannot be compiled on this flavor of rust. the version is fine, but you can't turn on this option unless you're using the nightly version, because that permits you to use unstable features

I'm sure the rust community has very good reasons for designing their compiler this way

but I am not writing rust code, merely trying to use it. and it's annoying

@foone Yeah...

I think it's bad...

Compiler should've spit out a message like

"NOTICE: "You're using experimental features not yet supported. You may encounter issues!"

and carry on and not require duplicate versions of the toolchain to be installed.

Follow

@kkarhan @foone Well, Rust is all about safety and strict rule-checking, so this would be at odds with the general philosophy. We know how often compiler warnings are (not) read

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.