You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
_cargo_build_script_run not executing relative to crate? #391
i am having issues with crates such as ring/openssl that attempt to compile libraries as part of the build... they try to refer to files that are relative to the crate (when vendor'd) but instead, the working directory is my repository root. if i manually edit the build files to do ./cargo/vendor/crate-name-version/path/to/file.c then it works fine (but obviously isn't a solution).
Activity
damienmg commentedon Sep 2, 2020
Hi, sorry for the delay, I am a bit overloaded at the moment,
Would you mind sharing the Cargo.toml file you used so I can repro? Can you also share some details about your operating system?
parisholley commentedon Sep 2, 2020
https://github.com/parisholley/cargobug
damienmg commentedon Sep 2, 2020
Thanks for the repro. Sorry I still don't follow fully, what are you changing in the BUILD file?
parisholley commentedon Sep 2, 2020
if you checkout the repo, and run the instructions in the readme, you can reproduce the error. i'm on Mac OS 10.15.5
damienmg commentedon Sep 3, 2020
Yes I can repro, this was not what I wanted to ask. You said earlier that:
Are you editing the build.rs?
parisholley commentedon Sep 3, 2020
yep
UebelAndre commentedon Sep 11, 2020
Does this happen when using
remotemode withcargo raze?dae commentedon Oct 21, 2020
@parisholley did #427 solve your problem?
UebelAndre commentedon Feb 16, 2026
Closed by #427