cull fmt package use and prevent aggressive DCE in MWE example with TinyGo

This commit is contained in:
soypat
2026-09-01 09:39:10 -07:00
parent d219daa2c4
commit c97a32f3c1
14 changed files with 197 additions and 97 deletions
+1 -2
View File
@@ -2,7 +2,6 @@ package lneto
import (
"errors"
"fmt"
"strconv"
)
@@ -82,7 +81,7 @@ type BitPosErr struct {
}
func (bpe *BitPosErr) Error() string {
return fmt.Sprintf("%s at bits %d..%d", bpe.Err.Error(), bpe.BitStart, bpe.BitStart+bpe.BitLen)
return bpe.Err.Error()
}
func (bpe *BitPosErr) AppendError(dst []byte) []byte {