Source file src/runtime/secret/export.go
1 // Copyright 2025 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 package secret 6 7 import ( 8 "internal/cpu" 9 "unsafe" 10 ) 11 12 // exports for assembly testing functions 13 const ( 14 offsetX86HasAVX = unsafe.Offsetof(cpu.X86.HasAVX) 15 offsetX86HasAVX512 = unsafe.Offsetof(cpu.X86.HasAVX512) 16 ) 17