Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail to compile when building with musl #6

Open
beamspease opened this issue Apr 25, 2017 · 0 comments
Open

Fail to compile when building with musl #6

beamspease opened this issue Apr 25, 2017 · 0 comments

Comments

@beamspease
Copy link

Build command:

cargo build --target x86_64-unknown-linux-musl

Error:

error: failed to run custom build command for `libusb-sys v0.2.3`
process didn't exit successfully: `target/debug/build/libusb-sys-6bbfe3932132cdbf/build-script-build` (exit code: 101)
--- stderr
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: "Cross compilation detected. Use PKG_CONFIG_ALLOW_CROSS=1 to override"', /buildslave/rust-buildbot/slave/stable-dist-rustc-linux/build/src/libcore/result.rs:868
note: Run with `RUST_BACKTRACE=1` for a backtrace.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant