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

instead of passing rustflags internally, simply add a .cargo/config.toml entry with alternative profiles #2780

Closed
jkelleyrtp opened this issue Aug 3, 2024 · 0 comments · Fixed by #2862
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@jkelleyrtp
Copy link
Member

Feature Request

Cross platform builds are hard!!

Currently wasm / fullstack are quite slow if their dependencies are not properly optimized up to a higher opt level and some debug info is stripped.

We do this internally by using cargo rustc to build things but those flags are not exposed and not easy to disable.

In reality, we should simply add extra profiles to the config.toml, or just override the dev and release profiles automatically.

This would fix a number of issues with duplicate full recompiles since we're no longer busting the cache between first build, rust-analyzer build, and asset collection.

This would also let us circumvent configuration issues for faster checks:
#2523
#1796

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.

2 participants