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

WSL2 support #2364

Open
AlterionX opened this issue Oct 24, 2023 · 1 comment
Open

WSL2 support #2364

AlterionX opened this issue Oct 24, 2023 · 1 comment

Comments

@AlterionX
Copy link

Issue

A request for a portion of the readme that details how to set up Vulkano in WSL2.

I have a working Vulkan setup (though I haven't run through an actual Vulkano application yet) w/ mesa (+ dozen), VcXsrv on the actual (hosting?) machine (Windows side), and probably weston on the WSL2 side. I was wondering if that's reasonable to add to the README or if it's excluded for some specific reason.

@ryco117
Copy link
Contributor

ryco117 commented Nov 27, 2023

I use WSL2 for my Rust setup and for Vulkano what I do is add to my .cargo/config.toml the following:

[build]
target = "x86_64-pc-windows-gnu"

This sets the default cargo build toolchain for the project to Windows 64-bit, which results in building a native Win64 .exe which can be run from either the WSL environment or copied back to Windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants