Source file src/internal/runtime/maps/memhash_align_nocheck.go
1 // Copyright 2026 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 //go:build !(amd64 || 386) 6 7 package maps 8 9 func checkMasksAndShiftsAlignment() bool { 10 // This check is only meaningful on amd64/386, where the AES memhash 11 // implementation depends on these globals being properly aligned. 12 // 13 // Return false here so any accidental use on other architectures fails 14 // loudly rather than silently succeeding. 15 return false 16 } 17