mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-30 05:25:35 +00:00
15835f03b3
Unfortunately this test fails on certain architectures.
The problem comes down to inconsistencies in the Go escape analysis
where specific variables are marked as escaping on certain architectures.
The variables escaping to the heap are unfortunately in crypto/sha256,
which makes it impossible to fixthis locally in deephash.
For now, fix the test by compensating for the allocations that
occur from calling sha256.digest.Sum.
See golang/go#48055
Fixes #2727
Signed-off-by: Joe Tsai <joetsai@digital-static.net>
(cherry picked from commit
|
||
---|---|---|
.. | ||
cibuild | ||
cmpver | ||
deephash | ||
dnsname | ||
endian | ||
groupmember | ||
jsonutil | ||
lineread | ||
osshare | ||
pidowner | ||
racebuild | ||
systemd | ||
uniq | ||
winutil |