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

Add no_std compatibility #102

Merged
merged 1 commit into from
Jul 10, 2023
Merged

Add no_std compatibility #102

merged 1 commit into from
Jul 10, 2023

Conversation

andreafioraldi
Copy link
Contributor

Thanks for the effort in maintaining Typed Builder.

Our framework LibAFL is using Typed Builder in a no_std context and the recent update to 0.15.0 is breaking our library on bare metal targets.

In this PR, I introduce no_std compatibility. There is no downside, just an annotation and an import from core.

If you want to test it, use cargo +nightly build -Zbuild-std=core --target aarch64-unknown-none (you may want it in the CI script eventually).

@idanarye
Copy link
Owner

There were already nostd tests. Maybe the CI does not run them?

@idanarye idanarye merged commit 2562445 into idanarye:master Jul 10, 2023
8 checks passed
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.

None yet

3 participants