mirror of
https://github.com/odin-lang/Odin.git
synced 2025-12-29 17:34:34 +00:00
Multithread min dep set by removing the set itself
This commit is contained in:
@@ -3050,7 +3050,8 @@ gb_internal void print_show_unused(Checker *c) {
|
||||
if (e->token.string == "_") {
|
||||
continue;
|
||||
}
|
||||
if (ptr_set_exists(&info->minimum_dependency_set, e)) {
|
||||
|
||||
if (e->min_dep_count.load(std::memory_order_relaxed) > 0) {
|
||||
continue;
|
||||
}
|
||||
array_add(&unused, e);
|
||||
|
||||
Reference in New Issue
Block a user