]>
git.proxmox.com Git - rustc.git/blob - vendor/jemalloc-ctl/src/config.rs
1 //! `jemalloc`'s build-time configuration.
4 malloc_conf
[ str: b
"config.malloc_conf\0", str: 2 ] => &'
static str |
7 /// Default run-time options specified during `jemalloc`'s build configuration.
9 /// The string will be empty unless `--with-malloc-conf` was specified
10 /// during build configuration.
15 /// # extern crate jemallocator;
16 /// # extern crate jemalloc_ctl;
18 /// # #[global_allocator]
19 /// # static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc;
22 /// use jemalloc_ctl::config;
23 /// let malloc_conf = config::malloc_conf::mib().unwrap();
24 /// println!("default malloc conf: {}", malloc_conf.read().unwrap());
27 mib_docs
: /// See [`malloc_conf`].