You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when i use cargo build {binary file name} --release,the compiled is failed.But when i use RUSTFLAGS="-v" cargo build {binary file name} --release,the compile is success.
I thought RUSTFLAGS="-v" is used to enable verbose output and does not change the variables during compilation, but why does the above line appear?
Steps
No response
Possible Solution(s)
No response
Notes
No response
Version
cargo 1.85.0
release: 1.85.0
host: aarch64-apple-darwin
libgit2: 1.8.4 (sys:0.19.0 system)
libcurl: 8.7.1 (sys:0.4.74+curl-8.9.0 system ssl:(SecureTransport) LibreSSL/3.3.6)
os: Mac OS 15.2.0 [64-bit]
The text was updated successfully, but these errors were encountered:
And for "-C", "link-arg=$(xcrun --sdk macosx --show-sdk-path)", this won't work because rustflags will be passed to rustc directly. It won't get parsed by any shell program. See also
Going to close this as the behavior is expected, and shell expansion support is discussed in #10789. If there is any reason this issue should keep open separately, let us know. Thank you.
Problem
I write
.cargo/config.toml
for my repo:when i use
cargo build {binary file name} --release
,the compiled is failed.But when i useRUSTFLAGS="-v" cargo build {binary file name} --release
,the compile is success.I thought
RUSTFLAGS="-v"
is used to enable verbose output and does not change the variables during compilation, but why does the above line appear?Steps
No response
Possible Solution(s)
No response
Notes
No response
Version
The text was updated successfully, but these errors were encountered: