Summary
llgo will introduce static library support, requiring new end-to-end tests in llcppgtest. These tests will validate static library compilation and linking by leveraging distinct import paths as specified in Issue #475.
Design
Import Path Distinction
Use zlib for dynamic library imports (existing).
Use zlibstatic for static library imports (new).
Test Example
// Test dynamic linking (existing) import _ "zlib"funcTestDynamicLinkage(t*testing.T) { // Validate dynamic library behavior
} // Test static linking (new) import _ "zlibstatic"funcTestStaticLinkage(t*testing.T) { // Validate static library behavior
}
Summary
llgo will introduce static library support, requiring new end-to-end tests in llcppgtest. These tests will validate static library compilation and linking by leveraging distinct import paths as specified in Issue #475.
Design
Import Path Distinction
Use
zlibfor dynamic library imports (existing).Use
zlibstaticfor static library imports (new).Test Example