Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-5158

Update Rust Compiler to generate 2018 edition code only

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.14.0
    • 0.14.0
    • Rust - Compiler
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              allengeorge Allen George
              allengeorge Allen George
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m