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

Feature request: Allow setting (multiple) targets from the command line #230

Closed
jrose-signal opened this issue Aug 26, 2023 · 0 comments · Fixed by #266
Closed

Feature request: Allow setting (multiple) targets from the command line #230

jrose-signal opened this issue Aug 26, 2023 · 0 comments · Fixed by #266
Labels
enhancement New feature or request

Comments

@jrose-signal
Copy link

Is your feature request related to a problem? Please describe.
We compile for several different platforms, each of which uses a different set of targets. Ideally the iOS dependencies wouldn't show up in the Android builds and vice versa, but today the only way to do that would be to have two about.toml files, which would mean duplicating all our clarifications.

Describe the solution you'd like
Add --target to the command line, which overrides any targets setting in about.toml. (This is consistent with Cargo command line options overriding .cargo/config.toml.) --target should be allowed multiple times, and/or accept multiple targets (probably comma-separated).

Describe alternatives you've considered

  • Duplicate about.toml, keep the two files in sync
  • Just use one about.toml that lists every platform (this is what we're currently planning on doing)
@jrose-signal jrose-signal added the enhancement New feature or request label Aug 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant