-
Notifications
You must be signed in to change notification settings - Fork 11
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
Possible to allow msvcrtd linking for static builds in debug mode? #110
Comments
I’m not sure what code changes are actually needed for this. librashader-build-script can take arbitrary cargo flags, or you can just build with cargo directly (the build-script does nothing special but move files around) |
It looks like it's glslang related. 2>lld-link : error : /failifmismatch: mismatch detected for '_ITERATOR_DEBUG_LEVEL': |
Maybe glslang is missing a debug flag? https://github.com/SnowflakePowered/glslang-rs/blob/master/glslang-sys/build.rs |
This is what Perhaps try building with the environment variable |
Same thing with DEBUG=1. 2>lld-link : error : /failifmismatch: mismatch detected for '_ITERATOR_DEBUG_LEVEL': |
rust-lang/rust#122268 (comment) Does doing whats indicated here work? |
This is blocking on support in Once |
The latest version of Librashader is very nice. It's much easier to compile static release builds now. I'm wondering if anything has changed where it might be possible to allow for debug static builds now. See rust-lang/rust#122268 and rust-lang/rust#39016 for reference.
Currently when you build librashader in debug mode, it still links msvcrt in release mode I think.
The text was updated successfully, but these errors were encountered: