Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion e2e/tests-dfx/rust.bash
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,10 @@ teardown() {

@test "rust canister can have nonstandard target dir location" {
dfx_new_rust
CARGO_TARGET_DIR="$(echo -ne '\x81')"
# We used to set CARGO_TARGET_DIR="$(echo -ne '\x81')"
# But since rust 1.69, `cargo metadata` returns
# error: path contains invalid UTF-8 characters
CARGO_TARGET_DIR="custom-target"
export CARGO_TARGET_DIR
dfx_start
assert_command dfx deploy
Expand Down