You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can manually count and update the sizes of binary files of frameworks into framework_cards.
But I think it's better to have a build.rs to collect the sizes automatically. And if we do this - having a build.rs, then I propose to create files named: attributes.ron in each frameworks/<framework_name>/ folders. Move the content of framework_cards into these files. Then in the build.rs, we collect the the sizes from binary files, parse attributes from attributes.ron then construct framework_cards.
What do you think?
The text was updated successfully, but these errors were encountered:
The next variable (
framework_cards
) will be referenced few times below 😃let framework_cards
=todo-mvc-bench/bin/src/framework_card.rs
Lines 251 to 473 in a47704d
We can manually count and update the sizes of binary files of frameworks into
framework_cards
.But I think it's better to have a
build.rs
to collect the sizes automatically. And if we do this - having abuild.rs
, then I propose to create files named:attributes.ron
in eachframeworks/<framework_name>/
folders. Move the content offramework_cards
into these files. Then in thebuild.rs
, we collect the the sizes from binary files, parse attributes fromattributes.ron
then constructframework_cards
.What do you think?
The text was updated successfully, but these errors were encountered: