Add Cargo bin directory to PATH in configure-env.sh
After installing Rust, the cargo binaries (rustc, cargo, etc.) need to be available in the PATH for subsequent build steps. This adds $CARGO_HOME/bin to the PATH_EXT variable so that Rust tools are accessible when PYMONGO_BUILD_RUST is enabled. Without this, the build would fail with 'Rust toolchain not found' even though Rust was successfully installed by install-rust.sh.
This commit is contained in:
parent
536d3cc4fc
commit
cd3da42d6f
@ -27,7 +27,7 @@ else
|
||||
PYMONGO_BIN_DIR=$HOME/cli_bin
|
||||
fi
|
||||
|
||||
PATH_EXT="$MONGODB_BINARIES:$DRIVERS_TOOLS_BINARIES:$PYMONGO_BIN_DIR:\$PATH"
|
||||
PATH_EXT="$MONGODB_BINARIES:$DRIVERS_TOOLS_BINARIES:$PYMONGO_BIN_DIR:$CARGO_HOME/bin:\$PATH"
|
||||
|
||||
# Python has cygwin path problems on Windows. Detect prospective mongo-orchestration home directory
|
||||
if [ "Windows_NT" = "${OS:-}" ]; then # Magic variable in cygwin
|
||||
|
||||
Loading…
Reference in New Issue
Block a user