TritonVM / tasm-lang

Writing tasm with Rust syntax
15 stars 2 forks source link

upgrade `syn` from v1 to v2 #64

Open jan-ferdinand opened 5 months ago

jan-ferdinand commented 5 months ago

About two months after work on tasm-lang has started, its dependency syn released a new major version, v2.0.[^current] It “contains a batch of syntax tree improvements to incorporate ongoing Rust language development from the past 3.5 years since syn 1” [0], i.e., reflects current-day Rust more accurately.

While the list of breaking changes [0] is long, postponing the upgrade of a crate tasm-lang depends upon so heavily might cause even bigger headaches in the future.

[0] https://github.com/dtolnay/syn/releases/tag/2.0.0

[^current]: latest: v2.0.48