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

fix: ftm::Debug impl fails to compile #78

Merged
merged 1 commit into from
Jun 29, 2024

Conversation

xJonathanLEI
Copy link
Collaborator

The ftm::Debug impl fails to compile unless the alloc feature is on. The underlying math lib allows alloc-free hex output, except it's not fixed-width like the current impl does.

This technically changes the debug output format, but it should be worth it for getting to avoid requiring alloc for just debug printing.

Also adds a GitHub Actions workflow to check that all feature combinations would compile correctly so that this doesn't happen again.

The `ftm::Debug` impl fails to compile unless the `alloc` feature is on.
The underlying math lib allows `alloc`-free hex output, except it's not
fixed-width like the current impl does.

This technically changes the debug output format, but it should be worth
it for getting to avoid requiring `alloc` for just debug printing.

Also adds a GitHub Actions workflow to check that all feature
combinations would compile correctly so that this doesn't happen again.
@0xLucqs 0xLucqs merged commit 9e9ecf2 into starknet-io:main Jun 29, 2024
4 checks passed
@xJonathanLEI xJonathanLEI deleted the fix/debug_alloc branch June 29, 2024 20:11
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