#no-std #compatibility #min32

min32

Minimal boilerplate code for targeting win32 with no-std

1 unstable release

Uses new Rust 2024

0.1.2 Mar 22, 2025
0.1.1 Mar 20, 2025
0.1.0 Mar 20, 2025

#382 in Memory management

Download history 308/week @ 2025-03-18 31/week @ 2025-03-25 8/week @ 2025-04-01 8/week @ 2025-04-08

355 downloads per month

GPL-3.0-only

6KB
76 lines

Min32

This is a minimal library that can be used to help create no-std executables for win32 targets.

It implements GlobalAlloc, #[panic_handler], and also assists with defining entry points (i.e. WinMain and DllMain).

Compatibility

Please note that Min32 is only tested for Windows 2000 or newer.

Actual target support depends on the linker you use as well as CPU architecture.

We recommend using the *-pc-windows-gnu targets, though *-pc-windows-msvc targets should compile.

License

Min32 is licensed under version 3.0 of the GNU General Public License.

Dependencies

~9–17MB
~221K SLoC