-
Notifications
You must be signed in to change notification settings - Fork 338
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[rust] upstreaming rust/cxx integration #2987
Conversation
42df254
to
e94d859
Compare
blocked by capnproto/capnproto#2169 |
b4f375e
to
bf629a2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems to break windows build 😢
Yeah, windows rust build is a bit tricky for some reason. Will require some fiddling. |
Two things stick out: Overall, rules_rust does not support Windows well unfortunately so I'd expect more such issues along the way (well, perhaps Windows is just not very suitable for software development in general). |
inet_pton is from Ws2_32.lib not ntdll.lib |
maybe this is what rust_crate does on windows? |
6916176
to
c96d8bd
Compare
I'll be CI-debugging windows build by commenting things out, sorry for the noise. |
b4dc134
to
53b2564
Compare
220bb7c
to
040be41
Compare
3620e56
to
b47ac61
Compare
b47ac61
to
7001aaf
Compare
Windows build issue is fixed by:
PTAL @danlapid |
Glad you figured it out! |
👑 |
@hoodmane we can integrate ruff now! 🤩 |
Thanks @mikea ! |
Np. I'll also follow up with wd_rust_binary tomorrow (me and @anonrig need it too) |
TODO after this PR would be to reuse these parts of cxx support downstream. (will require small tweaks to init tokio),
but want to land this now to unblock.