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
The rust toolchain installed with rustup on my Ubuntu linux platform doesn't seem to be compatible with valgrind. I've tried various things like using #![feature(alloc_system)], to no avail.
one of the answers mentioned in rust-lang/rust#28224 is to build jemalloc with --enable-valgrind
The text was updated successfully, but these errors were encountered:
This is a bug in rust, not in rustup. The planned switch to the system allocator should fix it, and in the interim, you should be able to switch to the system allocator yourself by using:
use std::alloc::System;
#[global_allocator]
static A: System = System;
The rust toolchain installed with rustup on my Ubuntu linux platform doesn't seem to be compatible with valgrind. I've tried various things like using #![feature(alloc_system)], to no avail.
one of the answers mentioned in rust-lang/rust#28224 is to build jemalloc with --enable-valgrind
The text was updated successfully, but these errors were encountered: