Merge pull request #233521 from alyssais/cargo-cross-broken
cargo: mark broken for cross compilation to x86
This commit is contained in:
commit
a95a7508a5
|
@ -112,6 +112,8 @@ rustPlatform.buildRustPackage.override {
|
||||||
maintainers = teams.rust.members;
|
maintainers = teams.rust.members;
|
||||||
license = [ licenses.mit licenses.asl20 ];
|
license = [ licenses.mit licenses.asl20 ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
|
# https://github.com/alexcrichton/nghttp2-rs/issues/2
|
||||||
|
broken = stdenv.hostPlatform.isx86 && stdenv.buildPlatform != stdenv.hostPlatform;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
// lib.optionalAttrs (rust.toRustTarget stdenv.buildPlatform != rust.toRustTarget stdenv.hostPlatform) {
|
// lib.optionalAttrs (rust.toRustTarget stdenv.buildPlatform != rust.toRustTarget stdenv.hostPlatform) {
|
||||||
|
|
Loading…
Reference in a new issue