fix(library/module): bug in export_module procedure
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
6bbb9d3667
commit
61b662151e
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ void export_module(std::ostream & out, environment const & env) {
|
|||
for (auto m : imports)
|
||||
s2 << m;
|
||||
// store object code
|
||||
s2 << h;
|
||||
s2.write_unsigned(r.size());
|
||||
for (unsigned i = 0; i < r.size(); i++)
|
||||
s2.write_char(r[i]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue