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
Describe the bug
It looks like in rerun 0.20.0-0.20.1 re_build_tools started using cargo metadata. we compile our rust code cargo using bazel (crates universe) which means cargo metadata doesn't work for us. What do you guys suggest we do?
Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
Build script process failed with exit code 101
--stdout:
cargo:rerun-if-env-changed=IS_IN_RERUN_WORKSPACE
cargo:rerun-if-env-changed=RERUN_IS_PUBLISHING_CRATES
cargo:rustc-env=RE_BUILD_DATETIME=
cargo:rustc-env=RE_BUILD_GIT_HASH=
cargo:rustc-env=RE_BUILD_GIT_BRANCH=
cargo:rustc-env=RE_BUILD_TARGET_TRIPLE=x86_64-unknown-linux-gnu
cargo:rustc-env=RE_BUILD_RUSTC_VERSION=1.82.0 (f6e511eec 2024-10-15)
cargo:rustc-env=RE_BUILD_LLVM_VERSION=19.1.1
cargo:rustc-env=RE_BUILD_IS_IN_RERUN_WORKSPACE=
cargo:rerun-if-env-changed=IS_IN_RERUN_WORKSPACE
cargo:rerun-if-env-changed=RERUN_IS_PUBLISHING_CRATES
--stderr:
Environment: Not on CI and not in workspace
Environment: Not on CI and not in workspace
thread 'main' panicked at external/_main~rust_crates~crate_index__re_build_tools-0.20.1/src/lib.rs:204:46:
called `Result::unwrap()` on an `Err` value: failed to start `cargo metadata`: No such file or directory (os error 2)
Caused by:
No such file or directory (os error 2)
** Additional Context **
Currently we are bypassing the problem by setting the RERUN_IS_PUBLISHING_CRATES flag. But this can easily break in future versions :(
Describe the bug
It looks like in rerun 0.20.0-0.20.1
re_build_tools
started usingcargo metadata
. we compile our rust code cargo using bazel (crates universe) which means cargo metadata doesn't work for us. What do you guys suggest we do?Backtrace
Rerun version
0.20.1
** Additional Context **
Currently we are bypassing the problem by setting the
RERUN_IS_PUBLISHING_CRATES
flag. But this can easily break in future versions :(The text was updated successfully, but these errors were encountered: