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

Reference implementation of bitfield #64

Closed
gftea opened this issue Apr 15, 2023 · 1 comment
Closed

Reference implementation of bitfield #64

gftea opened this issue Apr 15, 2023 · 1 comment

Comments

@gftea
Copy link

gftea commented Apr 15, 2023

Hi @dtolnay @alexcrichton , any reference implementation for bitfield?
I am stucked at 04-multiple-of-8bits, which I do not know how to emit codes based on #size % 8, because we can't resolve the actual value from the expression in proc-macro,

@dtolnay
Copy link
Owner

dtolnay commented Apr 15, 2023

You could try taking your question to any of the resources shown in https://www.rust-lang.org/community. Syn is one of the most widely used Rust libraries so plenty of people should be able to provide guidance.

You could also try searching through forks of this repo since some people push their work to GitHub, but this is not the intended way to consume the workshop.

@dtolnay dtolnay closed this as completed Apr 15, 2023
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

No branches or pull requests

2 participants