Would `isOptimized` and `isOptimizedUnchecked` be useful, and also easier to specify?
> On 15 Mar 2016, at 17:28, Jordan Rose via swift-evolution > <[email protected]> wrote: > > What is a "debug build"? Is it one where testing is enabled? Where the > optimization level is -Onone? (We've talked about having an -Odebug and/or > -Oplayground at some point. Are those "debug builds"?) Is it one where > asserts are not removed? (This can technically be controlled independently of > -O, but we don't advertise the fact, and I'm not sure we even want that > feature.) If you mean the `-assert-config` option, it is listed by the `swiftc -help` command. -- Ben _______________________________________________ swift-evolution mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-evolution
