Allow disabling the host-arch feature of cranelift-codegen#7369
Allow disabling the host-arch feature of cranelift-codegen#7369alexcrichton merged 1 commit intobytecodealliance:mainfrom
Conversation
|
Without the |
|
It would be great if this could get backported too. Without this rust's CI fails when trying to build cg_clif for distribution with rustup. |
|
Thanks! I'm a little surprised that the dependency from Otherwise yeah looks like disabling the Also a point release is fine by me, and there's one slated tomorrow for #7362 as well so good timing! If you wouldn't mind preparing the PR for the backport that'd be appreciated! |
This is required to compile for a target which doesn't have a cranelift backend. Before this change using any of the cranelift crates that depend on cranelift-codegen would forcefully enable all default features and thus host-arch. With this change only the std and unwind features are still forcefully enabled as cranelift-codegen doesn't compile with either disabled.
abf0105 to
e3e38cb
Compare
Done
Sure
Will do. |
This is required to compile for a target which doesn't have a cranelift backend. Before this change using any of the cranelift crates that depend on cranelift-codegen would forcefully enable all default features and thus host-arch. With this change only the std and unwind features are still forcefully enabled as cranelift-codegen doesn't compile with either disabled.
Required for rust-lang/rust#81746