mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
sort symbols
This commit is contained in:
parent
a274da62d3
commit
ab2163b800
1 changed files with 4 additions and 0 deletions
|
@ -154,6 +154,10 @@ fn generate_dynamic_lib(
|
|||
}
|
||||
}
|
||||
|
||||
// on windows (PE) binary search is used on the symbols,
|
||||
// so they must be in alphabetical order
|
||||
custom_names.sort_unstable();
|
||||
|
||||
let bytes = crate::generate_dylib::generate(target, &custom_names)
|
||||
.unwrap_or_else(|e| internal_error!("{}", e));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue