Skip to content

x86_64-unknown-linux-musl is the default target used by cargo fuzz run on my x86_64-unknown-linux-gnu host #398

@tyilo

Description

@tyilo

This doesn't work because musl-g++ is not installed.

Using cargo fuzz run --target x86_64-unknown-linux-gnu ... works.

I'm using Arch Linux and have the following targets installed:

$ rustup target list --installed
aarch64-linux-android
aarch64-unknown-linux-gnu
armv7-linux-androideabi
armv7-unknown-linux-gnueabihf
i686-linux-android
i686-pc-windows-gnu
i686-unknown-linux-gnu
thumbv7neon-linux-androideabi
x86_64-linux-android
x86_64-pc-windows-gnu
x86_64-unknown-linux-gnu
x86_64-unknown-linux-musl

Version of cargo-fuzz and rustc:

$ cargo +nightly fuzz --version
cargo-fuzz 0.12.0
$ rustc +nightly -vV
rustc 1.86.0-nightly (a567209da 2025-02-13)
binary: rustc
commit-hash: a567209daab72b7ea59eac533278064396bb0534
commit-date: 2025-02-13
host: x86_64-unknown-linux-gnu
release: 1.86.0-nightly
LLVM version: 19.1.7

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions