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
Please refer to https://doc.rust-lang.org/std/alloc/index.html to see the usage of global allocators. The declaration is to make snmalloc replace all allocation hooks. Users typically does not use the allocation functions of such global objects directly.
Since it provides a Rust wrapper snmalloc-rs, the document suggests
for a Rust program. If a Rust project has multiple modules, should it add a "pub" keyword before "static" to share it for all modules?
The text was updated successfully, but these errors were encountered: