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

Get default build target including from .cargo/Config.toml #357

Closed
daxpedda opened this issue Jan 4, 2020 · 1 comment
Closed

Get default build target including from .cargo/Config.toml #357

daxpedda opened this issue Jan 4, 2020 · 1 comment
Assignees
Milestone

Comments

@daxpedda
Copy link
Contributor

daxpedda commented Jan 4, 2020

Features Description
A way to get default build targets from .cargo/Config.toml or fall back to rustc default.

Describe the solution you'd like
An environment variable like CARGO_MAKE_CRATE_TARGET_TRIPLE.

Code Sample

[tasks.wasm-bindgen]
condition = { env = { CARGO_MAKE_CRATE_TARGET_TRIPLE = "wasm32-unknown-unknown" } }
command = "wasm-bindgen"
@sagiegurari sagiegurari assigned daxpedda and unassigned sagiegurari Jan 6, 2020
@sagiegurari sagiegurari added this to the 0.26.0 milestone Jan 6, 2020
sagiegurari added a commit that referenced this issue Jan 9, 2020
…fault build target including from '.cargo/Config.toml') #357
sagiegurari added a commit that referenced this issue Jan 9, 2020
…fault build target including from '.cargo/Config.toml') #357
@sagiegurari
Copy link
Owner

0.26.0 version is being released with your PR

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

2 participants