Skip to content

Commit b2032dd

Browse files
committed
update compiler options
1 parent d0ff9ea commit b2032dd

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/compiler/compiler-options.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,15 @@ See more about [cross-compilation](/compiler/cross-compilation).
5353

5454
---
5555

56+
`--COMAXPROCS <value>` \
57+
Sets the maximum number of Ps that can execute coroutines concurrently.
58+
Pass "default" to explicitly use the runtime default.
59+
The value must be a valid integer and at least 1.
60+
The default may vary by machine and is a reasonable choice for most programs,
61+
optimized for overall concurrency.
62+
63+
---
64+
5665
`--shadowing`\
5766
Enable variable shadowing.
5867

0 commit comments

Comments
 (0)