Skip to content

Linux not supported #77

Closed
Closed
@jafioti

Description

@jafioti

I was trying to build the add example, and since the guide makes no mention that linux isn't supported I assumed it was. When I ran the build script, I get Unsupported target with no matching prebuilt LLVM: x86_64-unknown-linux-gnu, install LLVM and set LLVM_CONFIG.

I went through the build script and saw this:

fn target_to_llvm_prebuilt(target: &str) -> String {
    println!("Target: {}", target);
    let base = match target {
        "x86_64-pc-windows-msvc" => "windows-x86_64",
        // NOTE(RDambrosio016): currently disabled because of weird issues with segfaults and building the C++ shim
        //"x86_64-unknown-linux-gnu" => "linux-x86_64",
        _ => panic!("Unsupported target with no matching prebuilt LLVM: `{}`, install LLVM and set LLVM_CONFIG", target)
    };
    format!("{}.tar.xz", base)
}

So is there a plan to re-support linux?

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