Skip to content

Use build-std=core on a custom targets automatically #95

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

Closed
nazar-pc opened this issue Mar 19, 2025 · 3 comments
Closed

Use build-std=core on a custom targets automatically #95

nazar-pc opened this issue Mar 19, 2025 · 3 comments

Comments

@nazar-pc
Copy link

When working with a custom target, it basically requires everyone to add annoying -Z build-std=core to CLI all the time. I don't know how many use cases there are where not having even core makes a lot of sense, but to me it would be way more ergonomic if it was compiled for custom targets (and Tier 3 targets?) automatically by default.

Not sure if this is the right repo for such request, feel free to move or direct me to a better place to discuss this.

@weihanglo
Copy link
Member

You might want to put it in .cargo/config.toml, so no need to specify it every time.

@nazar-pc
Copy link
Author

Sure, I'm just thinking about what the default should be. If it is not usable without build-std anyway then what is the point, right?

@ehuss
Copy link
Contributor

ehuss commented Mar 19, 2025

Thanks for the report! I'm going to close as a duplicate of #43. We're still exploring what the eventual mechanism will be for enabling build-std, and whether or not that will automatic in any way.

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

3 participants