Sandro Jäckel
e594a0fc14
cargo-auditable: fix cross compilation
...
This fixes the following error:
...
cargo-auditable> Doc-tests auditable-extract
cargo-auditable> error: doctest failed, to rerun pass `-p auditable-extract --doc`
cargo-auditable>
cargo-auditable> Caused by:
cargo-auditable> could not execute process `rustdoc --edition=2018 --crate-type lib --crate-name auditable_extract --test /build/source/auditable-extract/src/lib.rs --target x86_64-unknown-linux-gnu -L dependency=/build/source/target/x86_64-unknown-linux-gnu/release/deps -L dependency=/build/source/target/release/deps --test-args --test-threads=96 --extern auditable_extract=/build/source/target/x86_64-unknown-linux-gnu/release/deps/libauditable_extract-dd1904617e4b78db.rlib --extern binfarce=/build/source/target/x86_64-unknown-linux-gnu/release/deps/libbinfarce-2ba09d21aed0de1a.rlib -C embed-bitcode=no --error-format human` (never executed)
cargo-auditable>
cargo-auditable> Caused by:
cargo-auditable> No such file or directory (os error 2)
Tested with lanzaboote
2023-08-11 09:40:05 +01:00
Adam Joseph
0ac955ad63
rust/cargo.nix: set HOST_PKG_CONFIG_PATH for cross builds
...
Prior to this commit, builds of
`pkgsCross.aarch64-multiplatform.cargo` would fail due to being
unable to find `-lz` when compiling cargo's own `build.rs` for the
`buildPlatform`.
This environment variable uses the (very confusing) LLVM convention
of calling the buildPlatform "HOST".
Co-authored-by: figsoda <figsoda@pm.me>
2023-04-22 14:41:58 -07:00
Adam Joseph
758ae7d4f4
cargo-auditable: mark broken if cross
2023-04-22 12:56:30 -07:00
figsoda
201d4b7c5c
rustPlatform.buildRustPackage: make auditable the default
2023-03-26 22:47:06 -04:00
figsoda
4a3699c08b
cargo-auditable: 0.6.0 -> 0.6.1
...
Diff: https://github.com/rust-secure-code/cargo-auditable/compare/v0.6.0...v0.6.1
Changelog: https://github.com/rust-secure-code/cargo-auditable/blob/v0.6.1/cargo-auditable/CHANGELOG.md
2023-03-06 21:27:01 -05:00
figsoda
b9259df616
rustPlatform.buildRustPackage: fix cross compiling auditable packages
2023-01-12 12:22:59 -05:00