From 668daf952d45147eae019e60235e8e717c78cd0b Mon Sep 17 00:00:00 2001 From: Leigh <351529+leighmcculloch@users.noreply.github.com> Date: Mon, 13 Oct 2025 23:18:47 +1000 Subject: [PATCH] Update RUSTFLAGS warning to suggest CARGO_BUILD_RUSTFLAGS Modify the warning message when RUSTFLAGS is set to recommend using CARGO_BUILD_RUSTFLAGS instead, which the CLI can merge with remapping. --- cmd/soroban-cli/src/commands/contract/build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/soroban-cli/src/commands/contract/build.rs b/cmd/soroban-cli/src/commands/contract/build.rs index 440eef9220..6ef974f3cc 100644 --- a/cmd/soroban-cli/src/commands/contract/build.rs +++ b/cmd/soroban-cli/src/commands/contract/build.rs @@ -507,7 +507,7 @@ fn make_rustflags_to_remap_absolute_paths(print: &Print) -> Result