diff options
| author | Cherry Mui <cherryyz@google.com> | 2026-02-17 10:22:16 -0500 |
|---|---|---|
| committer | Cherry Mui <cherryyz@google.com> | 2026-02-17 11:58:25 -0800 |
| commit | 2eb890bde31495cdd90423fcfbc789351ca56ec6 (patch) | |
| tree | 71ff3b67df1de68bb96a4721822a5f1467747cc4 /src/cmd/link | |
| parent | f75c7ccaefe16a13be7ccc08731478976a6cc645 (diff) | |
| download | go-2eb890bde31495cdd90423fcfbc789351ca56ec6.tar.xz | |
all: use LF line ending for C files
For Go files, gofmt already converts CRLF line ending to LF. For C
and assembly files, we don't enforce a format, but most files in
tree are written with LF line ending, and the C toolchain can
handle them file, even on Windows. Convert all to LF line ending
for consistency.
Will look into adding a test for them.
Updates #9281.
Change-Id: Idc0dc13f0ab90b8cd8ea118abf9cb195ec438fe7
Reviewed-on: https://go-review.googlesource.com/c/go/+/746220
Reviewed-by: Mark Freeman <markfreeman@google.com>
Reviewed-by: Quim Muntal <quimmuntal@gmail.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'src/cmd/link')
| -rw-r--r-- | src/cmd/link/internal/ld/testdata/issue10978/main.s | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/link/internal/ld/testdata/issue10978/main.s b/src/cmd/link/internal/ld/testdata/issue10978/main.s index 1d00e76c1d..37759684eb 100644 --- a/src/cmd/link/internal/ld/testdata/issue10978/main.s +++ b/src/cmd/link/internal/ld/testdata/issue10978/main.s @@ -1 +1 @@ -// This file is needed to make "go build" work for package with external functions.
+// This file is needed to make "go build" work for package with external functions. |
