Problem
When using forced-target on a package, host-tuple isn't substituted properly and causes an issue
[package]
name = "pkg"
version = "0.1.0"
edition = "2024"
forced-target = "host-tuple"
[dependencies]
Steps
Check https://github.com/thealtofwar/forced-target-host-tuple-repro
Possible Solution(s)
Apply the same host-tuple change that is applied to --target to this
Notes
No response
Version
cargo 1.93.0-nightly (2d4fa1395 2025-11-12)
release: 1.93.0-nightly
commit-hash: 2d4fa139552ebdd5f091a1401ed03f7dc62cb43f
commit-date: 2025-11-12
host: x86_64-pc-windows-msvc
libgit2: 1.9.1 (sys:0.20.2 vendored)
libcurl: 8.15.0-DEV (sys:0.4.83+curl-8.15.0 vendored ssl:Schannel)
os: Windows 10.0.26200 (Windows 11 Professional) [64-bit]
Problem
When using
forced-targeton a package,host-tupleisn't substituted properly and causes an issueSteps
Check https://github.com/thealtofwar/forced-target-host-tuple-repro
Possible Solution(s)
Apply the same host-tuple change that is applied to
--targetto thisNotes
No response
Version