MCPcopy Create free account
hub / github.com/PolyhedraZK/ExpanderCompilerCollection / getLibName

Function getLibName

ecgo/rust/wrapper/wrapper.go:86–98  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

84}
85
86func getLibName() string {
87 switch runtime.GOOS {
88 case "darwin":
89 if runtime.GOARCH == "arm64" {
90 return "libec_go_lib.dylib"
91 }
92 case "linux":
93 if runtime.GOARCH == "amd64" {
94 return "libec_go_lib.so"
95 }
96 }
97 panic(fmt.Sprintf("unsupported platform %s %s", runtime.GOOS, runtime.GOARCH))
98}
99
100func downloadLib(path string) {
101 log := logger.Logger()

Callers 2

downloadLibFunction · 0.85
initCompilePtrFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected