allow setting codegen-backend
per-target
#13001
Labels
C-feature-request
Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
S-triage
Status: This issue is waiting on initial triage.
Problem
i'm currently testing the
codegen-backend
option, but every target besidesx86_64-unknown-linux-gnu
does not work withcranelift
. i would like to be able to select the backend for each individual target, or even better, for eachcfg()
target.Proposed Solution
add a
codegen-backend
field to[target.<triple>]
and[target.<cfg-expr>]
sections.Notes
p.s. would also be nice if we could somehow do something akin to
The text was updated successfully, but these errors were encountered: