mirror of https://github.com/tailscale/tailscale/
types/pad32: delete package
Use Go 1.19's new 64-bit alignment ~hidden feature instead. Fixes #5356 Change-Id: Ifcbcb115875a7da01df3bc29e9e7feadce5bc956 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>pull/6162/head
parent
60f77ba515
commit
f4ff26f577
@ -1,9 +0,0 @@
|
||||
// Copyright (c) 2021 Tailscale Inc & AUTHORS All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
// Package pad32 defines padding types that have width on only 32-bit platforms.
|
||||
package pad32
|
||||
|
||||
// Four is 4 bytes of padding on 32-bit machines, else 0 bytes.
|
||||
type Four [4 * (1 - ((^uint(0))>>32)&1)]byte
|
Loading…
Reference in New Issue