Skip to content

Windows users unable to use bevy/dynamic at all on latest #3907

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

Closed
BrainBacon opened this issue Feb 10, 2022 · 7 comments
Closed

Windows users unable to use bevy/dynamic at all on latest #3907

BrainBacon opened this issue Feb 10, 2022 · 7 comments
Labels
C-Bug An unexpected or incorrect behavior O-Windows Specific to the Windows desktop operating system

Comments

@BrainBacon
Copy link

Bevy version

0.6.0

Operating system & version

Windows 10

What you did

Run -features=bevy/dynamic on stable rust.
Attempt to compile on nightly.

What you expected to happen

Windows users should be able to use bevy/dynamic on latest.

What actually happened

Running -features=bevy/dynamic on stable or Rust will fail. In stable there is the LNK1189 error.

On nightly compilation will fail because of the unreachable format error.

Additional information

-Zshare-generics=off is not available on stable, so we currently can't run there, then nightly is unavailable until that PR is part of a release.

As it stands I don't see a way to use dynamic features at all on Windows using latest.

@BrainBacon BrainBacon added C-Bug An unexpected or incorrect behavior S-Needs-Triage This issue needs to be labelled labels Feb 10, 2022
@BrainBacon
Copy link
Author

I realize this is a duplicate of both #1110 and the PR fixed in #3889 but together they cause this catch 22.

@alice-i-cecile alice-i-cecile added O-Windows Specific to the Windows desktop operating system and removed S-Needs-Triage This issue needs to be labelled labels Feb 10, 2022
@alice-i-cecile
Copy link
Member

@cart this is a good argument to cut 0.6.1 with that fix IMO.

@alice-i-cecile
Copy link
Member

For now, the best workaround is going to be to use main, with the patch strategy noted in the Cheatbook to ensure you can still use plugins.

@alice-i-cecile alice-i-cecile modified the milestone: Bevy 0.6.1 Feb 10, 2022
@alice-i-cecile
Copy link
Member

We're planning to release 0.6.1 to backport this fix. I'm going to close this out because it's fixed on main.

@mrchantey
Copy link
Contributor

I'm on Windows 10 with Bevy 0.7 and no luck:

...  
= note: LINK : fatal error LNK1189: library limit of 65535 objects exceeded
error: could not compile `bevy_dylib` due to previous error

@CaptainOachkatzl
Copy link

I'm on Windows 10 with Bevy 0.7 and no luck:

...  
= note: LINK : fatal error LNK1189: library limit of 65535 objects exceeded
error: could not compile `bevy_dylib` due to previous error

same setup and error for me

@alice-i-cecile
Copy link
Member

Actually; keeping this closed. #1110 is the place for ongoing discussions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-Bug An unexpected or incorrect behavior O-Windows Specific to the Windows desktop operating system
Projects
None yet
Development

No branches or pull requests

4 participants