-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[stdlib] Prototype bidirectional UTF-8 Decoding #5965
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
dabrahams
commented
Nov 28, 2016
432aca8
to
6e5127e
Compare
@swift-ci Please smoke test and merge |
@@ -9,9 +9,12 @@ | |||
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors | |||
// | |||
//===----------------------------------------------------------------------===// | |||
// RUN: %target-run-simple-swift | |||
// RUN: %target-build-swift -parse-stdlib -Xfrontend -disable-access-control %s -o %t/a.out |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do you need -disable-access-control
? Because it won't work in general for execution tests, or generally anything that needs linking.
on Tue Nov 29 2016, Jordan Rose <notifications-AT-i.8713187.xyz> wrote:
jrose-apple commented on this pull request.
> @@ -9,9 +9,12 @@
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//
-// RUN: %target-run-simple-swift
+// RUN: %target-build-swift -parse-stdlib -Xfrontend -disable-access-control %s -o %t/a.out
Why do you need this? Because it won't work in general.
I was just hoping it would work around what appears to be a SILGen bug
that shows up in CI but I wasn't able (at the time) to reproduce
locally. I'm eager to remove it, but there's not much point until the
SILGen bug is fixed.
…--
-Dave
|
You can avoid the problem by not using @inline(__always) for the nested functions inside UTF8.parseForward, or else making |
Some small optimizations and reorganization.
e9e8d6a
to
497d481
Compare
@swift-ci Please smoke test and merge |
Can you move this test to validation-test? StdlibUnicodeUnittest isn't built when just running the normal tests. |
This test is failing on iOS. Reverting in #6010. |
on Thu Dec 01 2016, Jordan Rose <notifications-AT-i.8713187.xyz> wrote:
Can you move this test to validation-test? StdlibUnicodeUnittest isn't built when just running the
normal tests.
Okay, will do.
…--
-Dave
|
…and macOS: Might be an intermittent failure. |