Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Minimise amount of code behind conditional compilation #2362

Merged
merged 6 commits into from
Oct 25, 2023

Conversation

Rua
Copy link
Contributor

@Rua Rua commented Oct 23, 2023

This makes some bits of code compile on all platforms, except where it's absolutely impossible. This makes errors more likely to be caught (I already caught two!), and also makes them available in the documentation regardless of what platform you're viewing it for.

@AustinJ235 AustinJ235 merged commit fa5d127 into vulkano-rs:master Oct 25, 2023
3 checks passed
@Rua Rua deleted the cond-comp branch October 25, 2023 14:23
hakolao pushed a commit to hakolao/vulkano that referenced this pull request Feb 20, 2024
* Minimise amount of code behind conditional compilation

* An additional case

* Copy paste derp

* Fix unreachable warnings

* Typo

* Let's hope this works...
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants