You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (Jira)" <ji...@apache.org> on 2020/09/02 07:06:00 UTC
[jira] [Resolved] (THRIFT-5158) Update Rust Compiler to generate
2018 edition code only
[ https://issues.apache.org/jira/browse/THRIFT-5158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jens Geyer resolved THRIFT-5158.
--------------------------------
Fix Version/s: 0.14.0
Resolution: Fixed
> Update Rust Compiler to generate 2018 edition code only
> -------------------------------------------------------
>
> Key: THRIFT-5158
> URL: https://issues.apache.org/jira/browse/THRIFT-5158
> Project: Thrift
> Issue Type: Task
> Components: Rust - Compiler
> Affects Versions: 0.14.0
> Reporter: Allen George
> Assignee: Allen George
> Priority: Major
> Fix For: 0.14.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> The Rust thrift compiler generates a weird mix of 2015/2018 code (i.e. we have {{dyn}}) in generated code, but don't use rooted relative module paths). This makes it hard to reason about the generated code.
> It's been two years since the 2018 edition was released, and I think it's time for us to break backwards compatibility and move on to only supporting the new edition.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)