Age | Commit message (Collapse) | Author |
|
This was added in Go 1.20 and is required by encoding/json starting with
Go 1.21.
|
|
This was added in Go 1.20 and becomes necessary for encoding/json in Go
1.21.
|
|
Fixes #3796
|
|
Fixes #3794
|
|
This adds FieldByNameFunc, which some libraries like reflect2 need.
For my usecase I could also just stub FieldByNameFunc to panic, but
figured that it would work OK to just make it work. I'm not sure if
the overhead to FieldByName using a closure is acceptable.
Signed-off-by: Tyler Rockwood <[email protected]>
|
|
|
|
This should be ever so slightly more efficient.
|
|
|
|
Fixes #3683
|
|
|
|
Fixes #3686
|
|
It could be expensive to call Size() three times, and it is unnecessary.
Instead, do it only once.
This results in a very small reduction of binary size if Zero() is used.
|
|
|
|
|
|
|
|
|
|
Needed for go-jose/v3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The runtime.stringFromBytesTyped and runtime.stringToBytesTyped
functions aren't really necessary, because they have the same LLVM IR
signature. Therefore, remove them and link directly to the functions
that the compiler uses internally.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|