Skip to content
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

How to support dynamic linking on Windows #242

Open
Jacobboogiebear opened this issue Oct 29, 2023 · 1 comment
Open

How to support dynamic linking on Windows #242

Jacobboogiebear opened this issue Oct 29, 2023 · 1 comment
Labels
C-enhancement New content that isn't covered already P-windows Platform: MS Windows S-platforms Content about developing for a specific target platform Z-small small task that should be quick to do

Comments

@Jacobboogiebear
Copy link

How to add dynamic linking for Bevy on Windows

If you add the following to the file .cargo/config.toml you are able to add dynamic linking for Windows

[target.x86_64-pc-windows-msvc]
linker = "rust-lld.exe"
rustflags = ["-Zshare-generics=off"]

Sorry, never added an issue before, please leave any help <3

@PJaros
Copy link

PJaros commented Nov 8, 2023

Here it is mention you'd be interested in a configuration how to use dynamic linking under windows.

Also interesting is, how to still be able to debug this under VSCode. There is a bug-report in bevy discussing this.

@inodentry inodentry added C-enhancement New content that isn't covered already S-platforms Content about developing for a specific target platform P-windows Platform: MS Windows Z-small small task that should be quick to do labels Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement New content that isn't covered already P-windows Platform: MS Windows S-platforms Content about developing for a specific target platform Z-small small task that should be quick to do
Projects
None yet
Development

No branches or pull requests

3 participants