-
Notifications
You must be signed in to change notification settings - Fork 173
fix(rust/core): fix build errror on windows and enable ci for windows #3148
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
Conversation
|
Welp, looks like I gotta fix the windows build code for the driver manager. |
|
Apparently, |
|
CI is apparently working now, but the build is failing, so do I need to temporarily exclude |
|
Yea, let's temporarily exclude windows while I fix the windows build so we can merge this |
Thanks! I've excluded windows for now and opened a follow up issue #3149. |
|
@eitsupi I've worked out the necessary changes to get it to build on windows. Should I push it to this PR or do you want to get this merged and I'll make a follow-up PR to enable the windows build with my changes? |
|
That's so fast! Either is fine with me. |
|
Okay, so I've almost got this except for one weird linking issue with the rust adbc_snowflake crate on windows: nowflake-0.natvis" "/NATVIS:C:\\Users\\zotth\\AppData\\Local\\Temp\\rustcbQbqD9\\adbc_snowflake-1.natvis"
= note: some arguments are omitted. use `--verbose` to show all linker arguments
= note: legacy_stdio_definitions.lib(legacy_stdio_definitions.obj) : warning LNK4078: multiple '.drectve' sections found with different attributes (00100A00)␍
snowflake.lib(go.o) : fatal error LNK1223: invalid or corrupt file: file contains invalid .pdata contributions␍I've hit a wall here. Any ideas @eitsupi @kou @lidavidm @paleolimbot ? |
|
So I guess you can dynamically link Go libraries on Windows, but not statically. |
|
sigh well, at least they found the issue and are fixing it, even though it'll be a while before we can use that fix. I guess we can disable the bundled feature on windows for now so that it doesn't do the static link |
Co-authored-by: Matthijs Brobbel <[email protected]>
|
Thanks all! I'll take a look the build error. |
|
Some tests are failing on Windows: |
This reverts commit de2f189.
|
@zeroshade I was not able to fix the adbc_snowflake build error today. Also, I am currently skipping some tests of driver_manager. |
|
I agree. Let's merge what we have and then open a new PR to continue fixing the windows tests. |
|
Thanks! |
Fix #3149
Close #3122