Uploaded image for project: 'Swift Driver'
  1. Swift Driver
  2. SWIFT-264

Bump to 4.2 in .swift-version file

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 0.0.8
    • None

    Description

      The .swift-version file is used by swiftenv to determine what version of Swift is used when you build the project. It does not affect what version is used when the driver is included a dependency. It is overridden by an environment variable SWIFT_VERSION when testing on Travis in order to allow testing multiple Swift versions there.

      Therefore, modifying the file will only have an effect on driver developers who use swiftenv. The motivation for using 4.2 by default is that it's a lot faster than 4.0. Running make clean; time make on 4.0 takes about 24s, whereas on 4.2 it only takes about 16s.

      Attachments

        Activity

          People

            kaitlin.mahar@mongodb.com Kaitlin Mahar
            kaitlin.mahar@mongodb.com Kaitlin Mahar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: