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

Use const generics to provide FastStrings #527

Merged
merged 2 commits into from
Feb 25, 2024

Conversation

Dr-Emann
Copy link
Contributor

Also, use some const functions to improve the mk_const_fast_str macro, so the caller only has to include the string they care about, not the length or padding.

@Dr-Emann Dr-Emann force-pushed the const_generic_fast_string branch 3 times, most recently from bbcbf8c to 928b6be Compare February 24, 2024 07:37
Also, use some `const` functions to improve the `mk_const_fast_str`
macro, so the caller only has to include the string they care about, not
the length or padding.
@Dr-Emann Dr-Emann force-pushed the const_generic_fast_string branch from 928b6be to 9f55e1a Compare February 24, 2024 07:44
@wtfsck
Copy link
Member

wtfsck commented Feb 24, 2024

CI failed, unfortunately the GitHub Actions log shows only "error:"

@Dr-Emann Dr-Emann force-pushed the const_generic_fast_string branch from 87a35e6 to c4f73e6 Compare February 24, 2024 22:56
Some options aren't available for const yet in rust 1.57
@Dr-Emann Dr-Emann force-pushed the const_generic_fast_string branch from c4f73e6 to 26c4b03 Compare February 24, 2024 23:45
@Dr-Emann
Copy link
Contributor Author

Yeesh, finally passing

@wtfsck wtfsck merged commit 7316af0 into icedland:master Feb 25, 2024
6 checks passed
@wtfsck
Copy link
Member

wtfsck commented Feb 25, 2024

Thanks!

@Dr-Emann Dr-Emann deleted the const_generic_fast_string branch February 25, 2024 13:33
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