Skip to content
Discussion options

You must be logged in to vote

Thanks for reporting this — it is a real bug in Perry, not a misuse on your end. Filed and fixed as #564 (commit acaa8ea9 on main).

Root cause: when something pins a default target on your machine — [build] target = "..." in .cargo/config.toml, CARGO_BUILD_TARGET env var, or a rust-toolchain.toml with targets = [...] — cargo writes artifacts to target/<host-triple>/release/ instead of target/release/. Three sites in Perry only probed target/release/ for native builds, so the link/validate/companion-copy step couldn't find the library. The fix probes both layouts (bare target/release/ and target/<host-triple>/release/ derived from rustc -vV's host: line).

Two ways forward:

  1. Wait for the n…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by proggeramlug
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants