Skip to content

Conversation

@JukkaL
Copy link
Collaborator

@JukkaL JukkaL commented Nov 11, 2025

This lets us add new API features by adding more functions to the capsule and the module namespace without breaking backward compatibility.

We shouldn't use the capsule if the installed version is too old, since we could be calling functions via uninitialized pointers.

Note that this is a breaking change in the librt.internal ABI.

…bility

This lets us add new API features by adding more functions to the capsule
and the module namespace without breaking backward compatibility.

We shouldn't use the capsule if the installed version is too old, since
we could be calling functions via uninitialized pointers.
@JukkaL
Copy link
Collaborator Author

JukkaL commented Nov 11, 2025

This requires a librt release after merging.

@JukkaL JukkaL requested a review from ilevkivskyi November 11, 2025 15:55
Copy link
Member

@ilevkivskyi ilevkivskyi left a comment

Choose a reason for hiding this comment

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

Good idea!

@JukkaL
Copy link
Collaborator Author

JukkaL commented Nov 11, 2025

I guess this will also require an ABI version update.

@JukkaL
Copy link
Collaborator Author

JukkaL commented Nov 11, 2025

Similar to #20194, this requires a temporary CI breakage and releasing a new version of librt. I'm planning to merge this and release a new librt version tomorrow (Wed).

@ilevkivskyi
Copy link
Member

Yeah, sure, go ahead when ready.

@JukkaL JukkaL merged commit c2ee586 into master Nov 12, 2025
10 of 14 checks passed
@JukkaL JukkaL deleted the librt-api-version branch November 12, 2025 14:16
JukkaL added a commit that referenced this pull request Nov 12, 2025
Includes #20221 (which breaks backward compatibility).
JukkaL added a commit that referenced this pull request Nov 12, 2025
Includes #20221 (which breaks backward compatibility).
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.

3 participants