Skip to content

Commit f584c32

Browse files
committed
WASI doesn't really use ELF
1 parent 5855774 commit f584c32

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

Documentation/ABI/TestContent.md

+7-10
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,13 @@ section in built test products:
2727
|-|:-:|-|
2828
| macOS, iOS, watchOS, tvOS, visionOS | Mach-O | `__DATA_CONST,__swift5_tests` |
2929
| Linux, FreeBSD, Android | ELF | `swift5_tests` |
30-
| WASI | Statically Linked | `swift5_tests`[^1] |
31-
| Windows | PE/COFF | `.sw5test`[^2] |
32-
33-
[^1]: SwiftWasm effectively uses the ELF format for its images, however it is
34-
currently always statically linked and runtime discovery is performed
35-
using a different mechanism than what we use on other ELF-based platforms.
36-
[^2]: On Windows, the Swift compiler [emits](https://github.com/swiftlang/swift/blob/main/stdlib/public/runtime/SwiftRT-COFF.cpp)
37-
leading and trailing padding into this section, both zeroed and of size
38-
`MemoryLayout<UInt>.stride`. Code that walks this section can safely skip
39-
over this padding.
30+
| WASI | WebAssembly | `swift5_tests` |
31+
| Windows | PE/COFF | `.sw5test`[^windowsPadding] |
32+
33+
[^windowsPadding]: On Windows, the Swift compiler [emits](https://github.com/swiftlang/swift/blob/main/stdlib/public/runtime/SwiftRT-COFF.cpp)
34+
leading and trailing padding into this section, both zeroed and of size
35+
`MemoryLayout<UInt>.stride`. Code that walks this section must skip over this
36+
padding.
4037

4138
### Record headers
4239

0 commit comments

Comments
 (0)