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

Question: how to disable a platform #44

Open
tel opened this issue May 10, 2024 · 0 comments
Open

Question: how to disable a platform #44

tel opened this issue May 10, 2024 · 0 comments

Comments

@tel
Copy link

tel commented May 10, 2024

I'm building an application targeting macos and linux exclusively, however by default reindeer seems to solve Cargo dependencies like [target."cfg(windows)".dependencies.winapi-util] in walkdir.

These aren't causing a significant issue, but they are a bit of noise given my platform interests.

I believe I was able to fix some of this by explicitly declaring my platforms in reindeer.toml.

# reindeer.toml

[platform.linux-x86_64]
# typical values...
[platform.linux-arm64]
# ...
[platform.macos-x86_64]
# ...
[platform.macos-arm64]
# ...

Nevertheless, it appears that the winapi-util dependency is getting pulled.

Is there a way to ensure that cfg(windows) will evaluate to false?

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

No branches or pull requests

1 participant