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

Reduce the complexity around all possible feature combinations #107

Merged
merged 2 commits into from
Feb 20, 2024

Conversation

bjorn3
Copy link
Contributor

@bjorn3 bjorn3 commented Feb 16, 2024

This folds a couple of features that I don't think add much value into whichever feature it makes sense. Also unconditionally call rustix::param::init when the origin-program feature is enabled. And finally fix a compile time assertion where a feature rename was missed.

Cargo.toml Outdated Show resolved Hide resolved
Cargo.toml Show resolved Hide resolved
@bjorn3
Copy link
Contributor Author

bjorn3 commented Feb 19, 2024

Rebased on top of #108 for my own convenience. Will rebase again once that PR is merged.

If set_current_id_after_a_fork is isn't used, --gc-sections will already
automatically remove it from the executable.
…origin-start or external-start

Also move a couple of feature deps from origin-start/external-start to
origin-program.
@sunfishcode
Copy link
Owner

Thanks!

@sunfishcode sunfishcode merged commit 9b9b5f9 into sunfishcode:main Feb 20, 2024
5 checks passed
@bjorn3 bjorn3 deleted the cleanup_features branch February 21, 2024 08:45
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

Successfully merging this pull request may close these issues.

2 participants