Skip to content

Commit 8e28f5a

Browse files
committed
follow-up to #2035
1 parent e0f9d7d commit 8e28f5a

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,10 @@
104104

105105
With this release, esbuild will now ignore rules in `paths` that result in a `.d.ts` file during path resolution. This means code that does this should now be able to be bundled without modifying its `tsconfig.json` file to remove the `.d.ts` rule. This change was contributed by [@magic-akari](https://github.com/magic-akari).
106106

107+
* Disable Go compiler optimizations for the Linux RISC-V 64bit build ([#2035](https://github.com/evanw/esbuild/pull/2035))
108+
109+
Go's RISC-V 64bit compiler target has a fatal compiler optimization bug that causes esbuild to crash when it's run: https://github.com/golang/go/issues/51101. As a temporary workaround until a version of the Go compiler with the fix is published, Go compiler optimizations have been disabled for RISC-V. The 7.7mb esbuild binary executable for RISC-V is now 8.7mb instead. This workaround was contributed by [@piggynl](https://github.com/piggynl).
110+
107111
## 0.14.23
108112

109113
* Update feature database to indicate that node 16.14+ supports import assertions ([#2030](https://github.com/evanw/esbuild/issues/2030))

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ GO_FLAGS += "-ldflags=-s -w"
66
# Avoid embedding the build path in the executable for more reproducible builds
77
GO_FLAGS += -trimpath
88

9-
# Temporary workaround for golang/go#51101 before Go 1.18/1.17.8 is released
9+
# Temporary workaround for https://github.com/golang/go/issues/51101 before Go 1.18/1.17.8 is released
1010
ifeq ($(GOARCH), riscv64)
1111
GO_FLAGS += "-gcflags=all=-N -l"
1212
endif

0 commit comments

Comments
 (0)