Help us shape the future of Go! Take the 2026 Go Developer Survey

libc

package
v0.1.1390 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 24, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package libc tells which C library this Linux runs on, for the downloads that come in a glibc build and a musl one: Claude Code's and Bun's. A glibc build names glibc's loader (/lib64/ld-linux-x86-64.so.2) as its interpreter, which a musl Linux such as Alpine doesn't have, so the kernel can't start it and exec says "no such file or directory" (#1877).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Musl

func Musl() bool

Musl is whether this is a Linux whose C library is musl (Alpine). It is false on every other system.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL