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
The runtime is probably overdue for its next major overhaul.
Some ideas/features:
wonderful toolchain support. Mostly regarding special symbols needed and compiler/linker flags. This is mainly a meson.build matter.
docs! docs all the things. desperately.
Linker:
Unify linker scripts and configuration, create a python tool that allows people to declaratively customize the link setup.
Consider handling overlays for various sections the same way.
Consider meson.build ergonomics for this. Should be easy enough to integrate with Make/CMake, but need to be careful with mismatches / partial_dependency. Needs docs.
Better VRAM sections?
Runtime:
Unconditionally drop fini/exit support for GBA? Gets rid of a lot of code. We may still want the picoexit-based stuff for future NDS support.
Dropping exit for GBA would also let us unify the C/Rust start.c code
Finally create a faster startup memcpy/memset to replace calling CpuSet? Since section align is a solved problem now.
Generally clean up rt0.s a bit. Ideally hoist the generation of the table for the startup copies and some version strings into the ldscript.
Language integration:
Figure out what the user interface for integrating minrt into Rust projects should be. In particular, can we integrate the custom link script feature in an easy to use fashion? Can we avoid needing meson? Don't think we can get away with just cc but maybe we can? Would require some duplicated work but maybe not a ton.
The text was updated successfully, but these errors were encountered:
The runtime is probably overdue for its next major overhaul.
Some ideas/features:
Linker:
Runtime:
rt0.s
a bit. Ideally hoist the generation of the table for the startup copies and some version strings into the ldscript.Language integration:
cc
but maybe we can? Would require some duplicated work but maybe not a ton.The text was updated successfully, but these errors were encountered: