Skip to content

Commit

Permalink
Fix missing filling of provided_globals
Browse files Browse the repository at this point in the history
  • Loading branch information
chambart committed Feb 13, 2019
1 parent 56f7d66 commit 602425f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bytecomp/bytelink.ml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@ let add_required compunit =
let remove_required (rel, _pos) =
match rel with
Reloc_setglobal id ->
missing_globals := Ident.Set.remove id !missing_globals
missing_globals := Ident.Set.remove id !missing_globals;
provided_globals := Ident.Set.add id !provided_globals
| _ -> ()

let scan_file obj_name tolink =
Expand Down

0 comments on commit 602425f

Please sign in to comment.