Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions binaries-linux-gnu/go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module github.com/figma/statsig-server-core/binaries-linux-gnu

go 1.24
16 changes: 16 additions & 0 deletions binaries-linux-gnu/linux_gnu_x86_64.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
//go:build linux && amd64

package go_server_core_binaries_linux_gnu

import _ "embed"

//go:embed linux_gnu_x86_64.so
var binaryData []byte

// GetBinaryData returns the embedded libstatsig_ffi.so bytes.
// Symbol parity with upstream — the wrapper's internal/use_linux.go reads this.
func GetBinaryData() []byte { return binaryData }

// GetSignatureData returns nil. Upstream wrapper fetches but does not verify
// the .sig (statsig_ffi.go:loadLibrary at v0.19.3).
func GetSignatureData() []byte { return nil }