Skip to content

Conversation

@petermm
Copy link

@petermm petermm commented Oct 31, 2025

globalcontext_insert_atom is no longer on main, and thus unable to compile.

Minimal change - otherwise untested.

Copy link
Contributor

@UncleGrumpy UncleGrumpy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think ideally we want to replace the esp32 specific port with a platform agnostic pure Erlang implementation, but for the meantime it would be good to fix this.

globalcontext_insert_atom is no longer on main, and thus unable to compile.

Signed-off-by: Peter M <[email protected]>
@petermm petermm force-pushed the fix-globalcontext_insert_atom branch from 119c7ba to aae2bbb Compare November 4, 2025 07:42
@UncleGrumpy
Copy link
Contributor

UncleGrumpy commented Nov 4, 2025

It’s a easy thing to overlook, there are a lot of places in the AtomVM code base that atoms are not checked for safety that will need to be fixed, but I think we are still waiting for a “safe” API… or fixing globalcontext_make_atom itself to be safe. I don’t think @bettio has made a decision about that yet.

@petermm petermm requested a review from UncleGrumpy November 4, 2025 17:11
Copy link
Contributor

@UncleGrumpy UncleGrumpy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good now. Thanks.

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.

2 participants