You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A-runtimeArea: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflowsC-cleanupCategory: PRs that clean code up or issues documenting cleanup.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
This is the C++ implementation of the exchange allocator. It has no users. The only thing that can't be removed yet is the global exchange_count variable.
The text was updated successfully, but these errors were encountered:
It looks to me that rust_exchange_alloc used by reserve_vec_exact in rust_util.h, reserve_vec_exact used by vec_reserve_shared_actual in rust_builtin.cpp. and so forth.
I moved the vector reserve for exchange allocations to libstd, so there's not much left using this. I removed the exchange_count atomic counting because valgrind covers this well and we have valgrind bots on auto. It's a noticeable performance hit since it results in a cache miss.
Improvement: Don't show function body in needless_lifetimes
Changes the span on which the lint is reported to point to only the
function return type instead of the entire function body.
Fixesrust-lang#5284
changelog: none
A-runtimeArea: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflowsC-cleanupCategory: PRs that clean code up or issues documenting cleanup.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
This is the C++ implementation of the exchange allocator. It has no users. The only thing that can't be removed yet is the global
exchange_count
variable.The text was updated successfully, but these errors were encountered: