Skip to content

@_implementationOnly import _AtomicsShims triggers compiler assertions on 5.9 #107

Closed
@lorentey

Description

@lorentey

Under certain unknown circumstances, using Swift Atomics as a dependency triggers a compiler assertion due to the way it imports _AtomicsShims in 5.9.

error: fatal error encountered while reading from module '[...]'; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
<binary format>
^
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
[...]
6.      *** DESERIALIZATION FAILURE ***
[...]
module '_AtomicsShims' was not loaded

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions