Registry / utility / swc-malloc

swc-malloc

JSON →
library1.2.5rscratesunverified

Configures the best memory allocator for each platform to optimize SWC performance.

# Cargo.toml [dependencies] swc_malloc = "1.2.5"
INSTALL
IMPORT
SIG · SWC-MALLOC
S
swc-malloc
utilityrustv1.2.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

allocator
use swc_malloc::allocator;

Initialize the platform-optimized memory allocator.

use swc_malloc::allocator; fn main() { let alloc = allocator::default(); println!("Memory allocator configured"); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.2.5latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
4
Amazon
1
Resources
swc-malloc — cargo add swc-malloc · libregistry