rust-analyzer version: 0.3.2593-standalone
rustc version: rustc 1.91.0-nightly
editor or extension: VSCode, extension version 0.3.2593
VSCode doesn't restart the server when any of the rust-analyzer.cargo settings change, e.g., rust-analyzer.cargo.cfgs or rust-analyzer.cargo.extraEnv. Especially these two setting can have significant changes though and should result in restarts.
Culprit appears to be this, that's missing "cargo" in the list.