Max Desiatov
21a2b78801
stdlib/benchmark: add canImport(Musl) where needed ( #67120 )
...
This allows compiling stdlib and benchmarks when targeting musl instead of Glibc.
2023-07-05 19:55:08 +01:00
Konrad `ktoso` Malawski
da6f08a24e
[Concurrency] Adopt stable keyword consuming instead of __owned
...
add test for warnings emitted when missing consuming attribute
use -emit-sil in mock SDK tests for better coverage
2023-05-11 15:18:54 +02:00
Kavon Farvardin
103bd043cd
Revert "Revert "Prevent noncopyable metatypes from being converted to Any""
...
This reverts commit 1a3b42cd63 .
2023-05-04 11:38:00 -07:00
Hamish Knight
1a3b42cd63
Revert "Prevent noncopyable metatypes from being converted to Any"
2023-05-04 12:10:10 +01:00
Kavon Farvardin
4710fc675b
Prevent noncopyable metatypes from being converted to Any
...
These metatypes are a gateway to more incorrect
uses of these noncopyable values because we don't
yet have the corresponding runtime support yet.
The other use cases of using metatypes of
noncopyable types in generics is not high enough to
warrant people using them yet.
resolves rdar://106452518
2023-05-03 10:23:11 -07:00
Konrad `ktoso` Malawski
e19ccb2228
[Executors] Avoid using Job typealias and use the ExecutorJob explicitly
2023-04-14 18:44:17 +09:00
Konrad `ktoso` Malawski
80b93863a9
[Concurrency] Rename Job to ExecutorJob, ease transition with typealias ( #65006 )
2023-04-11 14:52:10 +09:00
Konrad `ktoso` Malawski
b666fc672e
[Executors] Remote distributed actors get "crash on enqueue" default executor ( #64969 )
2023-04-10 19:12:03 +09:00
Konrad `ktoso` Malawski
b8780c9d9e
[Executors] Move assert/assume APIs onto actors; assumeIsolated() ( #64812 )
2023-04-04 07:44:43 +09:00
Konrad `ktoso` Malawski
edb66df377
[Executors] Clean up how we unwrap the local executor of distributed custom actor ( #64719 )
2023-03-30 06:22:48 +09:00
Konrad `ktoso` Malawski
0586c14b60
[Concurrency] SerialExecutor.isSameExclusiveExecutionContext ( #64604 )
2023-03-28 15:56:28 +09:00
Konrad `ktoso` Malawski
345c221f56
[Concurrency] Distributed actor's unownedExecutor should be optional ( #64499 )
2023-03-22 08:40:41 +09:00
Konrad `ktoso` Malawski
5d2a311dda
[Executors] assumeOnLocalDistributedActorExecutor (isolated Act) ->
2023-03-16 13:23:47 +09:00
Konrad `ktoso` Malawski
41f99fc2ae
[Executors][Distributed] custom executors for distributed actor ( #64237 )
...
* [Executors][Distributed] custom executors for distributed actor
* harden ordering guarantees of synthesised fields
* the issue was that a non-default actor must implement the is remote check differently
* NonDefaultDistributedActor to complete support and remote flag handling
* invoke nonDefaultDistributedActorInitialize when necessary in SILGen
* refactor inline assertion into method
* cleanup
* [Executors][Distributed] Update module version for NonDefaultDistributedActor
* Minor docs cleanup
* we solved those fixme's
* add mangling test for non-def-dist-actor
2023-03-15 23:42:55 +09:00
Konrad `ktoso` Malawski
48c6f59186
[Distributed] LocalDAS cannot gain constraint on resolve method ( #63321 )
2023-02-01 13:56:48 +09:00
Konrad `ktoso` Malawski
a2879246ad
[Distributed] LocalDAS cannot gain this constraint, even though the DAS protocol has it ( #62572 )
2022-12-15 07:00:45 +09:00
Max Desiatov
ffc6152f68
[Distributed] fix deprecation warning in LocalTesting ( #61415 )
2022-10-24 20:19:41 +09:00
swift-ci
5d90a69dfb
Merge pull request #61542 from ktoso/wip-more-docs-on-decoder-da
...
[Distributed] More docs on the InvocationDecoder itself
2022-10-12 16:31:35 -07:00
Konrad `ktoso` Malawski
e1527ff9b6
Update stdlib/public/Distributed/DistributedActorSystem.swift
...
Co-authored-by: Kavon Farvardin <kfarvardin@apple.com >
2022-10-13 06:14:32 +09:00
Konrad `ktoso` Malawski
20e1834627
[Distributed] More docs on the InvocationDecoder itself
2022-10-11 23:00:24 +09:00
Yuta Saito
2f9fb0a426
[Distributed] Fix signature mismatch in NotFoundError constructor
2022-10-06 16:15:25 +00:00
Konrad `ktoso` Malawski
7d214054b6
[Distributed] More docs for ad-hoc requirements ( #60916 )
2022-09-16 09:38:29 +09:00
swift-ci
a851866920
Merge pull request #60296 from apple/wip-distributed-docs
...
[Distributed] More API documentation
2022-08-18 04:29:48 -07:00
Konrad `ktoso` Malawski
49ae51c37c
small cleanups
2022-08-18 18:07:28 +09:00
Konrad `ktoso` Malawski
968a64eb8b
Apply suggestions from code review
...
Co-authored-by: Yim Lee <yim_lee@apple.com >
2022-08-18 17:04:11 +09:00
Konrad `ktoso` Malawski
1f840d75cc
actor system docs
2022-08-17 22:07:41 +09:00
Konrad `ktoso` Malawski
25e17930cc
[Distributed] more specific errorCodes for dist failures; hide the make error func
2022-08-10 10:39:12 +09:00
Konrad `ktoso` Malawski
2418aeb375
[Distributed] documentation
2022-07-29 12:32:49 +09:00
Konrad `ktoso` Malawski
96462980fe
improve error reporting
2022-07-29 10:44:38 +09:00
Konrad `ktoso` Malawski
cf37dd8860
make error func can be internal
2022-07-29 09:51:53 +09:00
Konrad `ktoso` Malawski
fbc829fbbd
[Distributed] Don't hang, but throw when target accessor not found
2022-07-29 09:33:38 +09:00
Konrad `ktoso` Malawski
febfef97d4
[Distributed] Skeleton implementation of distributed computed properties
2022-06-29 14:49:04 -07:00
Konrad `ktoso` Malawski
6a2778645f
Revert "Merge pull request #59481 from xedin/distributed-computed-properties"
...
This reverts commit 8125a85a8f , reversing
changes made to 728971c5b7 .
2022-06-25 08:49:00 +09:00
Konrad `ktoso` Malawski
5a5b7c007c
towards distributed getters
2022-06-17 12:12:16 -07:00
Max Desiatov
1ef2eeffa4
Fix typo in DistributedActorSystem.swift doc comment
...
`an distributed actor` -> `a distributed actor`
2022-05-29 19:21:43 +01:00
Konrad `ktoso` Malawski
1675669e43
Revert "[Distributed] workaround for LocalTestingDAS crashes;"
...
This reverts commit bcd0f64e91 .
2022-05-08 19:37:24 +09:00
Konrad `ktoso` Malawski
1e489d6c0b
[Distributed] Force the order of properties in AST
2022-05-08 18:20:50 +09:00
Konrad `ktoso` Malawski
bcd0f64e91
[Distributed] workaround for LocalTestingDAS crashes;
...
This happens to work, but is not a real fix; we are not handling well
types declared in a library evolution enabled library, which this DAS
is. Without this, at runtime, we crash in LocalTestingDAS using actor
initializers
2022-05-07 07:28:55 +09:00
Josh Soref
7a57e7ce99
Spelling stdlib/public/concurrency ( #42443 )
...
* spelling: already
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: appropriate
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: asynchronous
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: cancel
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: divisible
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: execution
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: initialized
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: normally
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: preprocessed
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: priority
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: some
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: success
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: suspending
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: the
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: throws
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com >
2022-04-21 11:12:57 -07:00
Josh Soref
644c18ca9b
Spelling stdlib ( #42444 )
...
* spelling: against
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: algorithmic
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: alignment
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: anything
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: architectural
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: architecture
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: are
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: artificial
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: aside
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: available
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: being
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: bidirectional
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: characters
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: circular
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: compatibility
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: compiled
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: correctly
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: covers
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: declaration
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: dependencies
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: descriptor
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: dictionaries
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: dynamic
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: greater
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: hierarchy
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: immortal
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: initialize
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: initializes
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: iterable
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: message
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: minimum
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: multiple
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: originally
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: simplified
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: sophisticated
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: trivia
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: wasn't
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com >
2022-04-19 14:02:43 -07:00
Konrad `ktoso` Malawski
79ad9278b2
[Distributed] Retain adhoc decodeNextArgument in distributed thunk
2022-04-18 16:53:10 -07:00
Konrad `ktoso` Malawski
edd5880a59
[Distributed] SerializationReq must be associated type on DA
2022-04-13 21:52:15 +09:00
Allan Shortlidge
f0360a2984
Fix trivial warnings emitted during a full build.
2022-04-05 17:16:19 -07:00
Konrad `ktoso` Malawski
8d3e7d91c0
[Distributed] ResultHandler.onReturn must be ad-hoc because SerializationRequirement ( #41916 )
...
* [Distributed] Invoke handler.onReturn ad hoc via ast synthesized func
* reformat and cleanup
* remove unused var
2022-03-24 21:44:37 +09:00
Konrad `ktoso` Malawski
5a5d1ba2e6
[Distributed] Implement RemoteCallArgument
2022-03-17 22:55:09 +09:00
Konrad `ktoso` Malawski
20f28f8c3c
[Distributed] make RemoteCallTarget Hashable, add availability
2022-03-17 20:05:31 +09:00
Konrad `ktoso` Malawski
ea29723466
[Distributed] Add name parameter to recordArgument for better interop
2022-03-17 20:05:31 +09:00
swift-ci
fcde683a32
Merge pull request #41756 from yim-lee/distributed/loccal-actor-system
...
[Distributed] Offer LocalTestingDistributedActorSystem
2022-03-15 23:47:41 -07:00
Konrad `ktoso` Malawski
8a1c513993
add test and availability annotations
2022-03-15 16:42:58 -07:00
Konrad `ktoso` Malawski
4f8c0152c3
update some missing places with _
2022-03-16 08:35:37 +09:00