summaryrefslogtreecommitdiffstats
path: root/vendor/golang.org/x/sys/unix/README.md
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2020-03-27 08:00:01 +0100
committerJesse Duffield <jessedduffield@gmail.com>2020-03-27 19:06:21 +1100
commit6a5d8ba8595702dc0715d4aa67bc65dbb55f8f91 (patch)
tree48dcac72b604836e4e29a3b678ade94dfe2acc3c /vendor/golang.org/x/sys/unix/README.md
parent320e2a653646e86e8093fa9427f2229bca0b7523 (diff)
vendor: replace go-git package
Diffstat (limited to 'vendor/golang.org/x/sys/unix/README.md')
-rw-r--r--vendor/golang.org/x/sys/unix/README.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/vendor/golang.org/x/sys/unix/README.md b/vendor/golang.org/x/sys/unix/README.md
index eb2f78ae2..ab433ccfb 100644
--- a/vendor/golang.org/x/sys/unix/README.md
+++ b/vendor/golang.org/x/sys/unix/README.md
@@ -149,6 +149,17 @@ To add a constant, add the header that includes it to the appropriate variable.
Then, edit the regex (if necessary) to match the desired constant. Avoid making
the regex too broad to avoid matching unintended constants.
+### mkmerge.go
+
+This program is used to extract duplicate const, func, and type declarations
+from the generated architecture-specific files listed below, and merge these
+into a common file for each OS.
+
+The merge is performed in the following steps:
+1. Construct the set of common code that is idential in all architecture-specific files.
+2. Write this common code to the merged file.
+3. Remove the common code from all architecture-specific files.
+
## Generated files