aptos-core icon indicating copy to clipboard operation
aptos-core copied to clipboard

[Feature-Request] Support language_version specification in Move.toml

Open vineethk opened this issue 6 months ago • 4 comments
trafficstars

🐛 Feature Request

In Move.toml, we can specify language versions without any error:

[build]
language_version = "2.2.0"

But this does not seem to be hooked up to the compiler. For example, with the above content, if you have a program with function values, then you get an error saying not supported in this language version.

The ask is to support this modality of specifying the language version for compilation.

vineethk avatar May 21 '25 16:05 vineethk