Source file src/simd/internal/bridge/import_hook.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 goexperiment.simd
     6  
     7  package bridge
     8  
     9  // ZeroSized is used as the definition for type _simd in package simd, to create
    10  // a hard dependence between the two packages before code transformation.
    11  type ZeroSized struct {
    12  	_ [0]func(*ZeroSized) *ZeroSized
    13  }
    14  

View as plain text