Sanitizers in Mixed Rust and C Code

That sounds perfect. Something on my system is wrong with the crate serde_derive:

error: /home/.../target/debug/deps/libserde_derive-3efc794075ed84d6.so: undefined symbol: __asan_option_detect_stack_use_after_return

Do you know what the reason for this could be? Maybe my clang version does not match Rust's?

I tried it with this command:

CC=clang CFLAGS=-fsanitize=address RUSTFLAGS="-Zsanitizer=address -Clink-arg=-fuse-ld=lld" cargo +nightly build