Skip to content

Releases: bytecodealliance/componentize-py

canary

25 Mar 22:05
f340fb5

Choose a tag to compare

canary Pre-release
Pre-release
Recognize .abi3.so native extensions in linker scanner (#208)

* Recognize .abi3.so native extensions in linker scanner

The directory scanner in prelink.rs only matched native WASM extensions
ending in .cpython-314-wasm32-wasi.so, ignoring stable-ABI extensions
(.abi3.so) even though CPython's EXTENSION_SUFFIXES includes them.

This adds .abi3.so to the set of recognized suffixes and validates
candidates with a WASM magic byte check to avoid accidentally treating
native (ELF) .abi3.so files as WASM modules.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Run cargo fmt

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>