CARGO_TARGET_DIR is currently hardcoded to the current directory, but we'd like the ability to choose a value for Rust libraries.