Karoy Lorentey
26e346cd64
Merge pull request #12 from lorentey/restore-linux-support
...
Fix Linux compatibility
0.0.2
2020-10-12 12:26:59 -07:00
Karoy Lorentey
7658766e61
Remove LinuxMain.swift
...
This package requires --enable-test-discovery.
2020-10-12 12:08:04 -07:00
Karoy Lorentey
230c1aa676
Add note on portability of double-wide atomics
2020-10-09 17:18:19 -07:00
Karoy Lorentey
ed324ec42e
generate-sources: Don’t invoke —generate-linuxmain
...
SPM’s --generate-linuxmain feature doesn’t support conditionally compiled tests.
To run tests on non-Darwin platforms, use `swift test --enable-test-discovery`.
2020-10-09 14:53:02 -07:00
Karoy Lorentey
9ad914d118
Make double-wide atomics conditional on platform support
...
Linux on x86_64 unfortunately disables support for cmpxchg16 by default, making double-wide atomic operations fall back to using locks. We cannot currently override this on the package level, so stop providing double-wide atomics in this configuration by default.
To enable codegen support for double-wide atomics on Linux/x86_64, compile the package with `-Xcc -mcx16 -Xswiftc -DENABLE_DOUBLEWIDE_ATOMICS`.
2020-10-09 14:52:33 -07:00
Karoy Lorentey
56753d183f
generate-sources: Adjust mktemp invocation for portability
2020-10-09 14:48:50 -07:00
Karoy Lorentey
34caa6fbd5
[test] Split basic tests into 25 separate test cases
...
This prevents an “unable to typecheck in reasonable time” error when compiling the test registry.
1612 tests under one test case is currently too many for swift-corelibs-xctest.
While we’re here, add explicit test cases for UnsafeRawPointer and Optional<UnsafeRawPointer>.
2020-10-09 14:48:50 -07:00
Karoy Lorentey
dc49369e96
Merge pull request #11 from apple/revert-9-fix-implicit-runtime-dependency
...
Revert "[shims] Make retain_n/release_n shims header-only"
2020-10-07 23:58:46 -07:00
Karoy Lorentey
6e09389a3d
Revert "[shims] Make retain_n/release_n shims header-only"
2020-10-07 23:57:38 -07:00
Karoy Lorentey
c6e526aa42
Merge pull request #9 from lorentey/fix-implicit-runtime-dependency
...
[shims] Make retain_n/release_n shims header-only
2020-10-06 18:54:33 -07:00
Karoy Lorentey
40bd3bac4f
[shims] Force-inline new shims
2020-10-06 18:39:11 -07:00
Karoy Lorentey
45fa32a922
[shims] Make retain_n/release_n shims header-only.
...
Resolves issue #8 .
2020-10-06 18:00:10 -07:00
Karoy Lorentey
c6b1ed76a2
Merge pull request #6 from e28eta/patch-1
...
Fix succesOrdering typo in documentation
2020-10-03 17:45:12 -07:00
Daniel Jackson
42691f8636
Commit changes from running generate-sources
2020-10-02 16:29:09 -07:00
Daniel Jackson
778e62b8c6
Fix successOrdering typo in documentation, in the gyb file
2020-10-02 16:28:33 -07:00
Karoy Lorentey
f585014007
Merge pull request #7 from e28eta/patch-2
...
Update documentation typo: double ‘the’
2020-10-02 15:00:01 -07:00
Dan Jackson
ad1fb15167
Update documentation typo: double ‘the’
2020-10-02 09:28:57 -07:00
Karoy Lorentey
d07c2a5c92
Merge pull request #4 from lorentey/regenerate-test-registry
...
Register all tests
2020-10-01 18:34:17 -07:00
Karoy Lorentey
9c8dc27457
Merge pull request #5 from lorentey/readme-edits
...
Minor README updates
2020-10-01 18:33:43 -07:00
Karoy Lorentey
432e5bd9fe
Minor fixes
2020-10-01 18:32:26 -07:00
Karoy Lorentey
4fb7f05a27
Register all tests
2020-10-01 18:25:07 -07:00
Karoy Lorentey
b97750eb18
Initial commit.
0.0.1
2020-10-01 16:57:36 -07:00