mirror of
https://github.com/wiiu-env/wut.git
synced 2025-01-08 14:30:41 +01:00
1.3 KiB
1.3 KiB
wut 1.0.0-beta9
Breaking changes
- coreinit's
exit
is no longer defined in<coreinit/exit.h>
. Please use<stdlib.h>
instead, which pulls in newlib's exit. - RPL import sections (
.fimport_coreinit
etc.) are now garbage-collected when using wut-tools 1.1.0 or above (required). Code relying on weak links to Cafe functions may exhibit different behaviour.
Deprecations
WUT_ROOT
should no longer be defined in the user's environment, and will be set to$DEVKITPRO/wut
internally. CMake lists and makefiles that use$WUT_ROOT/share
to findwut.mk
orwut.toolchain.cmake
should be changed to$DEVKITPRO/wut/share
.
Other changes
- Builds refactored: wut now uses Makefiles to build itself, as well as providing a devkitPro-style
wut_rules
file - see thesamples/make
folder. The cmake samples are now insamples/cmake
. - A new linking feature,
__rplwrap
, was added to help deal with conflicts between newlib's and Cafe's functions. Because of this, wut 1.0.0-beta9 requires wut-tools 1.1.0 or newer. - Using rplwrap, newlib's
exit
is now correctly chained with coreinit's - calls likeatexit
should work; whether callingexit
or just returning frommain
. Applications using coreinit's_Exit
are encouraged to migrate to a normalexit
call.