ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Common Board

[TO ADMINS] Rust compiler: edition 2021
Posted by Yury_Semenov 14 Oct 2024 16:08
Hi,

I've got a compilation error in Rust (id: 10760679) because of a feature that appears in edition 2021, and the compiler on Timus uses some previous edition. Any plans to compile Rust code in edition 2021? It's already 2024 and the edition is stable (in fact, a newer edition will be released in several months), so it makes no sense to stick to an older edition.
Re: [TO ADMINS] Rust compiler: edition 2021
Posted by Vladimir Yakovlev (USU) 28 Oct 2024 03:29
The current version of Rust compiler is 1.75.0, which was released on 28 December, 2023.
Re: [TO ADMINS] Rust compiler: edition 2021
Posted by Yury_Semenov 29 Oct 2024 16:53
I think you misunderstood, edition is not compiler version, it's more like C++ standard (e. g. C++11). You can refer here: https://doc.rust-lang.org/edition-guide/editions/index.html