Skip to content

Build some crates with nightly compiler and some with stable -- automatically #1955

Answered by UebelAndre
cbrune asked this question in Q&A
Discussion options

You must be logged in to vote

You'd need to write a rule that transitions on @rules_rust//rust/toolchain/channel. We do transitions for the unit testing of this build setting here but to get into the details of actually writing a rule that transitions I'd see:

This will allow you to have top level targets that are explicitly built for stable or nightly compilers.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@cbrune
Comment options

Answer selected by cbrune
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants