-
Notifications
You must be signed in to change notification settings - Fork 203
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
Cannot cross-compile to windows if using C compiler in build script #796
Comments
Going backwards through the issues: The 0.1.3 crate level docs appear to match the source from crates.io. (Checked with The windows documentation build failed because The 0.1.4 build failed because it believes the
There's a bug that docs.rs does not record build status if it fails this early (#797). And the actual failure seems to be a cargo bug, docs.rs regenerates the lockfile if it fails to fetch the sources, but it seems even the regenerated lockfile doesn't work (rust-lang/cargo#8302). |
From my understanding, the build failed because we cross-compiled from Linux to Windows? I think we should make an issues for failures due to cross-compilation, not for windows specifically. |
Sure, a general issue about cross compilation would be useful, but the reasons for different targets are going to be different enough that it might be useful to have sub-issues for them (e.g. cross-compiling to |
This is not usually the case. Most build failures are because pkg-config disables cross-compilation by default:
That will be an issue regardless of the target. Can you paste the error that |
For
For
then after an |
UPDATE: I fixed a bug in version 0.1.4 so I yanked it. Also I changed the version of winapi from ^0 to ^0.3. Documentation for 0.1.5 appears only for linux and macos in docs.rs edit : For the tinyfiledialogs crate also documentation only appears for linux and macos in docs.rs |
The relevant code is https://docs.rs/crate/tinyfiledialogs/3.3.9/source/build.rs, which calls |
Yeah, this is a bug in the |
@Nemo157 from what I see in the comments this build failure was not a docs.rs issue? So we can close this? Or did this issue grow into "we need to natively build on windows"? |
After a day documentation is still not built for version 0.1.4. In version 0.1.3, there is no documentation for windows and the example in the crate level documentation does not contain the code I added in version 0.1.3.
The text was updated successfully, but these errors were encountered: