Skip to content

Statically link SourcePawn#2459

Merged
dvander merged 1 commit into
masterfrom
static-link-sp
May 14, 2026
Merged

Statically link SourcePawn#2459
dvander merged 1 commit into
masterfrom
static-link-sp

Conversation

@dvander
Copy link
Copy Markdown
Member

@dvander dvander commented May 14, 2026

This removes the SourcePawn shared library from the distrubtion, and
statically links the VM to sourcemod.logic instead. This means we can
stop designing public APIs that only SourceMod will ever use, since now
SourceMod can just keep directly inside the VM.

We still need a public API for extensions (and the "core" binary). But
that API surface is a lot smaller than what the logic binary needs.

@dvander dvander force-pushed the static-link-sp branch 2 times, most recently from b4daa9e to 7774ee6 Compare May 14, 2026 03:30
This removes the SourcePawn shared library from the distrubtion, and
statically links the VM to sourcemod.logic instead. This means we can
stop designing public APIs that only SourceMod will ever use, since now
SourceMod can just peek directly inside the VM.

We still need a public API for extensions (and the "core" binary). But
that API surface is a lot smaller than what the logic binary needs.

Remove unused DebugReporter::GenerateCodeError function while we're
here, since this will allow removing IPluginDebugInfo.
@dvander dvander merged commit fba9d71 into master May 14, 2026
4 checks passed
@dvander dvander deleted the static-link-sp branch May 14, 2026 04:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant