Treat \
in cargo package -l
output as /
#213
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #212
tr
-ing the\
characters to/
in the output ofcargo package -l
makes thetar
pipeline work and allows the build to succeed on Windows, presumably since files needed bycmake
are now available:(Those warnings are separate from this change and also occur without it on other systems and with
cargo build
.)I tested on Ubuntu 24.04 LTS and macOS 14.6, and this change does not seem to have broken or degraded them. I noticed this on macOS, but it also happens on macOS on the main branch and thus appears independent of this change:
Since that appears altogether separate from this, I've opened #214 for it.
In all tests, I used
cargo clean -xde
between the build (though I think actually no cleaning is really needed, since a temporary directory is used and it is different each time). To make sure this really was fixing the build on Windows, I re-cloned the repository and retested as well.The only commands I have tested are
./cargo-zng
and./cargo-zng build
. I have not tested publishing.