Skip to content

Commit 006f85c

Browse files
committed
Fix typo
1 parent adb39b2 commit 006f85c

File tree

1 file changed

+1
-1
lines changed
  • Sources/EmbeddedSwift/Documentation.docc/GuidedExamples

1 file changed

+1
-1
lines changed

Sources/EmbeddedSwift/Documentation.docc/GuidedExamples/macOSGuide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ HelloEmbedded:
3737
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1000.0.0)
3838
```
3939

40-
However, the singular object file that was used to build this executable was produced by the compiler in the same fashion that a real embedded build would. If we ask the compiler and linker to minimize the size of the outputs and to remove any unused code, we can observe that the binary has no dependencies other than `putchar` from `libSystem` and that the machine code section is very small (176 bytes in the `__text` section)::
40+
However, the singular object file that was used to build this executable was produced by the compiler in the same fashion that a real embedded build would. If we ask the compiler and linker to minimize the size of the outputs and to remove any unused code, we can observe that the binary has no dependencies other than `putchar` from `libSystem` and that the machine code section is very small (176 bytes in the `__text` section):
4141

4242
```shell
4343
$ swiftc HelloEmbedded.swift -o HelloEmbedded -enable-experimental-feature Embedded -wmo -Osize -Xlinker -dead_strip

0 commit comments

Comments
 (0)