Source file src/runtime/cgo/library_android32.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.cgobindings && !msan && !tsan && android && (386 || arm)
     6  
     7  package cgo
     8  
     9  // dlopen flags from bionic's <dlfcn.h> for LP32, where RTLD_NOW is 0.
    10  // The runtime/cgo initialization code on Android already imports dlopen,
    11  // dlsym, and dlerror (see cgo_android.go).
    12  const (
    13  	_RTLD_NOW   = 0x0
    14  	_RTLD_LOCAL = 0x0
    15  
    16  	dlopenFlags = _RTLD_NOW | _RTLD_LOCAL
    17  )
    18  

View as plain text