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

Make origin more of a standalone crate. #3

Merged
merged 1 commit into from
Aug 25, 2023
Merged

Conversation

sunfishcode
Copy link
Owner

Remove all cfg(target_vendor = "mustang") checks, and organize origin's code into logical features instead of target-specific behavior.

This allows us to use origin in non-mustang configurations, such as building no-std no-libc binaries that don't need any of c-gull or c-scape.

This PR adds some new test crates showing how to use origin in this way. See the top-level README.md for details.

@sunfishcode sunfishcode force-pushed the sunfishcode/standalone branch 5 times, most recently from de77143 to d3ab228 Compare August 24, 2023 02:53
@morr0ne morr0ne mentioned this pull request Aug 25, 2023
@sunfishcode sunfishcode force-pushed the sunfishcode/standalone branch 3 times, most recently from 9ef9cf1 to 10f26d3 Compare August 25, 2023 20:42
Remove all `cfg(target_vendor = "mustang")` checks, and organize origin's
code into logical features instead of target-specific behavior.

This allows us to use origin in non-mustang configurations, such as
building no-std no-libc binaries that don't need any of c-gull or c-scape.

This PR adds some new test crates showing how to use origin in this way.
See the top-level README.md for details.
@sunfishcode sunfishcode merged commit e730e7a into main Aug 25, 2023
6 checks passed
@sunfishcode sunfishcode deleted the sunfishcode/standalone branch August 25, 2023 21:06
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.

1 participant