1 unstable release

Uses new Rust 2024

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

#35 in #entry-point

Download history 134/week @ 2025-03-15

134 downloads per month
Used in min32

GPL-3.0-only

6KB
98 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.


lib.rs:

Defines procedural macros for the min32 crate.

You do not need to depend on this directly; you can use min32 where these macros are imported.

Dependencies

~200–630KB
~15K SLoC