Skip to content

Unable to use syntax crate on FreeBSD with nightly #32984

Closed
@saghm

Description

@saghm

When I try to compile a simple program using the syntax crate on FreeBSD, it seems to be unable to find the syntax library:

#![feature(rustc_private)]
extern crate syntax;

fn main() {
}

// error: can't find crate for `syntax`

I first got the error when trying to compile docopt_macros, but from the above test it seems clear that the issue is not in the crate itself.

I'm currently running nightly-2016-04-13 (installed from the newly-avaliable multirust toolchain for FreeBSD). In case it's helpful to know, there does seem to be a libsyntax-[hash].so in ~/.multirust/toolchains/nightly/lib, but I'm not sure how to figure out why I'm unable to use it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions