Skip to content

build: fix STC symbols leaking into libasdf's exported dynamic symbols - #247

Merged
embray merged 2 commits into
asdf-format:mainfrom
embray:stc-symbol-leakage
Aug 30, 2026
Merged

build: fix STC symbols leaking into libasdf's exported dynamic symbols#247
embray merged 2 commits into
asdf-format:mainfrom
embray:stc-symbol-leakage

Conversation

@embray

@embray embray commented Aug 29, 2026

Copy link
Copy Markdown
Collaborator

Found this while working on libasdf-gwcs actually, which also vendors its own copy of STC, with some confusing results. Might actually be useful if it could just share libasdf's internal STC but for now I think this is a cleaner approach.

Includes a new regression test that ensures against future symbol leakage outside the asdf_ prefixed symbols.

Found this while working on libasdf-gwcs actually, which also vendors
its *own* copy of STC, with some confusing results.  Might actually
be useful if it *could* just share libasdf's internal STC but for now I
think this is a cleaner approach.

Includes a new regression test that ensures against future symbol
leakage outside the asdf_ prefixed symbols.
@embray embray added the build Issues related to build system problems or enhancements label Aug 29, 2026
No need to use sed to drop underscores though--it *should* be possible
to ignore just in the pattern passed to grep....
@embray embray self-assigned this Aug 30, 2026
@embray
embray merged commit 56d24aa into asdf-format:main Aug 30, 2026
12 checks passed
@embray
embray deleted the stc-symbol-leakage branch August 30, 2026 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Issues related to build system problems or enhancements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant