Doug Gregor
453277eb74
Mark the various with* functions as @safe
...
Functions like withUnsafeBufferPointer are, by themselves, safe to
call. It's only the operations on the unsafe pointers passed into the
closure that are the safety issue.
This was the intent spelled out in SE-0458 but was not fully realized
in the library.
Fixes rdar://174519372.
2026-04-16 22:37:54 -07:00
Doug Gregor
d9b5a4621f
Enable strict memory safety in the Distributed module
2025-02-26 14:28:26 -08:00
Konrad `ktoso` Malawski
1d44e2e8e0
[Distributed] Undo new record and mangling scheme for dist.p.witnesses ( #71801 )
2024-02-22 23:02:29 +09:00
Konrad `ktoso` Malawski
e9c7f3c382
[Distributed] Target identifiers for protocol calls ( #70928 )
2024-02-16 07:19:20 -08: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
8c13370242
[Distributed] rename _Distributed to underscoreless module
2022-03-16 08:35:35 +09:00
Konrad `ktoso` Malawski
fc83047985
[Distributed] Update availability of distributed types to 5.7
2022-02-03 21:55:41 +09:00
Pavel Yaskevich
624b27257a
[Distributed] Move some of the swift_distributed_* accessors to a dedicated file
...
Add a new `DistributedActor.cpp` and move some of the logic related to
swift_distributed_execute_target there to avoid exporting it from Concurrency.
2022-01-24 18:22:37 -08:00
Pavel Yaskevich
e801e4e2b7
[Distributed] Runtime: Add a way to fetch witness tables for given generic env/arguments
2022-01-24 10:18:00 -08:00
Pavel Yaskevich
206969a705
[Distributed] Augment parameter/result type decoded to support generic substitutions
2022-01-24 10:17:59 -08:00
Pavel Yaskevich
0e35951213
[Distributed] Stage use of generic environment to decode target parameter/result types
2022-01-24 10:17:59 -08:00
Pavel Yaskevich
d54e3294c3
[Distributed] Runtime: Implement a way to access generic env of distributed target
2022-01-24 10:17:59 -08:00
Konrad `ktoso` Malawski
9438cf6b2e
[Distributed] Func metadata operations and implement executeDistributedTarget entry ( #40605 )
...
* [Distributed] Implement func metadata and executeDistributedTarget
dont expose new entrypoints
able to get all the way to calling _execute
* [Distributed] reimplement distributed get type info impls
* [Distributed] comment out distributed_actor_remoteCall for now
* [Distributed] disable test on linux for now
2022-01-09 23:55:06 +09:00