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

README: Copy splat documentation and describe --output #96

Merged
merged 1 commit into from
Sep 11, 2023

Conversation

MarijnS95
Copy link
Contributor

It took a while to figure out how to use this tool, when it's not immediately obvious from the readme alone that xwin splat --output is the command that most users will likely want to use to extract all the headers, after which they are ready to cross-compile with MSVC.

Note that I have added the setup from the blog / xwin.dockerfile locally to my ~/.cargo/config.toml via [env] and [target.x86_64-pc-windows-msvc]. The [env] obviously only works for C/C++ code compiled within Rust / cargo projects and not system-wide, but for example setting rustflags via [target.*] allows it to be merged with other target-specific rustflags in project-specific ./.cargo/config.toml rather than being mutually exlusive with the RUSTFLAGS env var: https://doc.rust-lang.org/cargo/reference/config.html#buildrustflags. Is it worth documenting this setup somewhere?

It took a while to figure out how to use this tool, when it's not
immediately obvious from the readme alone that `xwin splat --output` is
the command that most users will likely want to use to extract all the
headers, after which they are ready to cross-compile with MSVC.
@Jake-Shadle Jake-Shadle merged commit 0572b40 into Jake-Shadle:main Sep 11, 2023
6 of 8 checks passed
@MarijnS95 MarijnS95 deleted the readme-document-splat branch September 11, 2023 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants