[swift-dev] Swift modules aware of their version tag on compilation

Daniel Dunbar daniel_dunbar at apple.com
Mon Apr 18 13:27:19 CDT 2016


Have you seen:
  https://github.com/apple/swift-package-manager/pull/122 <https://github.com/apple/swift-package-manager/pull/122>

Also, please consider starting a new thread instead of replying to the digest email (which is very large, and confusing since it includes many topics).

 - Daniel

> On Apr 18, 2016, at 11:07 AM, Robert F Dickerson via swift-dev <swift-dev at swift.org> wrote:
> 
> I would like to see if the community is interested in the ability for Swift libraries (when built with Swift Package Manager) to be aware of the current tagged version number applied on that library during compilation. This could be useful for when the executable is run, we can know the version of that library dependency so that we can dump that information out to our logs. Perhaps some macro like #file or #line, but something like #version. 
> 
> 
> 
> 
> <graycol.gif>swift-dev-request---04/18/2016 11:57:30 AM---Send swift-dev mailing list submissions to swift-dev at swift.org
> 
> From: swift-dev-request at swift.org
> To: swift-dev at swift.org
> Date: 04/18/2016 11:57 AM
> Subject: swift-dev Digest, Vol 5, Issue 18
> Sent by: swift-dev-bounces at swift.org
> 
> 
> 
> 
> Send swift-dev mailing list submissions to
> swift-dev at swift.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.swift.org/mailman/listinfo/swift-dev <https://lists.swift.org/mailman/listinfo/swift-dev>
> or, via email, send a message with subject or body 'help' to
> swift-dev-request at swift.org
> 
> You can reach the person managing the list at
> swift-dev-owner at swift.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of swift-dev digest..."
> 
> 
> Today's Topics:
> 
>   1. Re: [SR-710][RFC] Automatically detecting XCTest test methods
>      on Linux: Reflection? SourceKit? (Brian Gesiak)
>   2. Re: R_ARM_GOT_PREL error when building Swift on Pi from
>      source (Timothy Wood)
>   3. Re: R_ARM_GOT_PREL error when building Swift on Pi from
>      source (Joe Bell)
>   4. Re: R_ARM_GOT_PREL error when building Swift on Pi from
>      source (Timothy Wood)
>   5. Random failure when building Swift on Pi (Timothy Wood)
>   6. Re: [SR-710][RFC] Automatically detecting XCTest test methods
>      on Linux: Reflection? SourceKit? (Drew Crawford)
>   7. Re: R_ARM_GOT_PREL error when building Swift on Pi from
>      source (Timothy Wood)
>   8. SIMD in open source Swift? (Geordie Jay)
>   9. Re: [Swift CI] Build Failure: 0. OSS - Swift Incremental RA -
>      Ubuntu 15.10 (master) #4254 (Sean Callanan)
>  10. Re: [Swift CI] Build Failure: 0. OSS - Swift Incremental RA -
>      Ubuntu 15.10 (master) #4254 (Sean Callanan)
>  11. Re: [Swift CI] Build Failure: 0. OSS - Swift Incremental RA -
>      OS X (master) #3432 (Sean Callanan)
> 
> 
> ----------------------------------------------------------------------
> <snip>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-dev/attachments/20160418/4c51ccbd/attachment.html>


More information about the swift-dev mailing list