Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eliminate use of experimental function code:lib_dir/2 #935

Merged
merged 1 commit into from
Feb 22, 2024

Conversation

bjorng
Copy link
Contributor

@bjorng bjorng commented Feb 22, 2024

The code:lib_dir/2 function was introduced to support looking into archives. Both archives and the code:lib_dir/2 are marked as experimental.

In the upcoming Erlang/OTP 27 release, code:lib_dir/2 will be deprecated. In some future release, the archive functionality will be changed (escript:extract/2 will continue to work, reading archive members using erl_prim_loader will not).

The `code:lib_dir/2` function was introduced to support looking
into archives. Both archives and the `code:lib_dir/2` are marked
as experimental.

In the upcoming Erlang/OTP 27 release, `code:lib_dir/2` will be
deprecated. In some future release, the archive functionality will
be changed (`escript:extract/2` will continue to work, reading archive
members using `erl_prim_loader` will not).
@ferd
Copy link
Collaborator

ferd commented Feb 22, 2024

Should absolutely be safe for relx as far as I can tell, and I think the CI checks are unrelated.

@ferd ferd merged commit fe2fc77 into erlware:main Feb 22, 2024
6 of 9 checks passed
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