mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
cargo-auditable: disable test_bare_linker
This tries to use `linker = "rust-lld"` on `aarch64-darwin`, Linux Musl and ARMv7 targets, and MSVC Windows, but we deliberately don’t provide that.
This commit is contained in:
parent
2bd62d6a30
commit
35ebf72241
1 changed files with 14 additions and 1 deletions
|
|
@ -42,7 +42,20 @@ lib.extendMkDerivation {
|
|||
# https://github.com/rust-secure-code/cargo-auditable/issues/235
|
||||
"--skip=test_proc_macro"
|
||||
"--skip=test_self_hosting"
|
||||
];
|
||||
]
|
||||
# TODO: Clean up on `staging`.
|
||||
++
|
||||
lib.optionals
|
||||
(
|
||||
stdenv.hostPlatform.isMusl
|
||||
|| stdenv.hostPlatform.isAarch32
|
||||
|| stdenv.hostPlatform.isDarwin
|
||||
|| stdenv.hostPlatform.isMsvc
|
||||
)
|
||||
[
|
||||
# Expects `linker = "rust-lld"` to work.
|
||||
"--skip=test_bare_linker"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
installManPage cargo-auditable/cargo-auditable.1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue