Skip to content

Commit

Permalink
Merge pull request erlang#9517 from dotsimon/fix_preloaded_md5
Browse files Browse the repository at this point in the history
Don't include enabled_features tuple when there are none

OTP-19524
  • Loading branch information
bjorng authored Mar 6, 2025
2 parents 3c5fad5 + 61abf85 commit e82aa1a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/compiler/src/compile.erl
Original file line number Diff line number Diff line change
Expand Up @@ -1947,6 +1947,8 @@ do_parse_module(DefEncoding, #compile{ifile=File,options=Opts,dir=Dir}=St) ->
-define(META_USED_FEATURES, enabled_features).
-define(META_CHUNK_NAME, <<"Meta">>).

metadata_add_features([], St) ->
St;
metadata_add_features(Ftrs, #compile{options = CompOpts,
extra_chunks = Extra} = St) ->
MetaData =
Expand Down

0 comments on commit e82aa1a

Please sign in to comment.