Skip to content

Convert cxxbridge-cmd dependency to bindep#2230

Closed
dtolnay wants to merge 3 commits intobazelbuild:mainfrom
dtolnay-contrib:cxxbridge
Closed

Convert cxxbridge-cmd dependency to bindep#2230
dtolnay wants to merge 3 commits intobazelbuild:mainfrom
dtolnay-contrib:cxxbridge

Conversation

@dtolnay
Copy link
Copy Markdown
Contributor

@dtolnay dtolnay commented Oct 31, 2023

This is how I tested #2229.

I am not sure whether we want this in rules_rust yet because the existing @cxxbridge-cmd serves as a useful example for users to copy into their own workspaces, and not all of those users use nightly. If we are open to using -Zbindeps unconditionally on all toolchains (via RUSTC_BOOTSTRAP=1) then I'll finish this up, otherwise defer to after artifact dependencies is stable.

Copy link
Copy Markdown
Collaborator

@illicitonion illicitonion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for putting this together!

I think in the short term we should probably block on stabilisation of bindeps, but if that looks like it's going to take forever we can reconsider an approach.

Ideally we would not add RUSTC_BOOTSTRAP=1 in rules_rust :)

@dtolnay
Copy link
Copy Markdown
Contributor Author

dtolnay commented Oct 31, 2023

Okay! That sounds good to me.

@dtolnay dtolnay closed this Oct 31, 2023
@dtolnay dtolnay deleted the cxxbridge branch October 31, 2023 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants